2025年9月10日
摘要: 问题描述:给定一个无重复元素的数组和一个目标数,找出所有数组中数字和为目标的组合 (数组中的数字可以重复使用)。 /** * problem * an array Arr with no repeated numbers, you can fetch numbers from the array, 阅读全文
posted @ 2025-09-10 15:43 emalovecode 阅读(4) 评论(0) 推荐(0)
摘要: 题目是这样的 有1<=n<=8个长度的固定数组,这个数组里面每个数值范围为 0<=m<=9, 如果要这个固定数组每个数字之和为 sum, 0<=sum<=72, 请把数组中组成的所有整数打印出来 import java.util.*; public class TestRecursiveA { pu 阅读全文
posted @ 2025-09-10 15:20 emalovecode 阅读(2) 评论(0) 推荐(0)
摘要: 正则表达式(Regular Expression)是一种用于匹配字符串模式的工具,以下是其核心规则和常用语法的总结,适用于大多数编程语言(如 JavaScript、Python、Java 等): 一、基础匹配规则 普通字符 大多数字符(如字母、数字、标点)直接匹配自身: abc 匹配字符串 "abc 阅读全文
posted @ 2025-09-10 10:49 emalovecode 阅读(56) 评论(0) 推荐(0)