2025年9月11日
摘要:
问题描述:给定一个没有重复数字的序列,返回其所有可能的全排列。 /** *Given a sequence with no duplicate numbers, return all its possible permutations. *given an array int arr[] = {1,
阅读全文
posted @ 2025-09-11 10:26
emalovecode
阅读(5)
推荐(0)
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)
摘要:
题目是这样的 有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)
摘要:
正则表达式(Regular Expression)是一种用于匹配字符串模式的工具,以下是其核心规则和常用语法的总结,适用于大多数编程语言(如 JavaScript、Python、Java 等): 一、基础匹配规则 普通字符 大多数字符(如字母、数字、标点)直接匹配自身: abc 匹配字符串 "abc
阅读全文
posted @ 2025-09-10 10:49
emalovecode
阅读(56)
推荐(0)
2025年8月28日
摘要:
import java.util.Scanner; import java.util.regex.Matcher; import java.util.regex.Pattern; public class DuplicateWords { public static void main(String
阅读全文
posted @ 2025-08-28 18:00
emalovecode
阅读(14)
推荐(0)
2025年6月3日
摘要:
获取最新 IP 访问 https://github.com.ipaddress.com 或 https://fastly.net.ipaddress.com/github.global.ssl.fastly.net 查询最新的 IP。 修改 Hosts 文件 Windows: C:\Windows\
阅读全文
posted @ 2025-06-03 17:27
emalovecode
阅读(352)
推荐(0)
2025年5月9日
摘要:
1. function getPreviousDay(date = new Date()) { const previous = new Date(date.getTime()); previous.setDate(date.getDate() - 1); return previous; } va
阅读全文
posted @ 2025-05-09 17:23
emalovecode
阅读(7)
推荐(0)
2025年4月27日
摘要:
在线的javascript的网站 https://www.sojson.com/runjs.html https://jsfiddle.net/bx0k70mr/ 大学的课程学习网站 https://ocw.mit.edu/ 这是麻省理工的开放免费课程 https://www.edx.org/sch
阅读全文
posted @ 2025-04-27 15:33
emalovecode
阅读(25)
推荐(0)
摘要:
目前使用的版本是version 9.2 帮助信息 Pentaho Data integration这个名字真不好记,就叫他spoon吧。 1. 如果要在windows的下执行shell脚本,免去拷贝到linux下测试的麻烦,可以这样做。 在你的testjob作业下 加入shell脚本组件(组件名称t
阅读全文
posted @ 2025-04-27 14:47
emalovecode
阅读(34)
推荐(0)
2025年4月25日
摘要:
1. linux系统下安装很方便 ubuntu: apt install lftp centos: yum install lftp 2. windows下的安装 在windows的PowerShell中安装Chocolatey Set-ExecutionPolicy Bypass -Scope P
阅读全文
posted @ 2025-04-25 11:22
emalovecode
阅读(159)
推荐(0)