摘要: 打包文件 zip <target.zip> <adding_files> 阅读全文
posted @ 2023-03-28 15:20 疏影龙栖 阅读(32) 评论(0) 推荐(0) 编辑
摘要: You are given N counters, initially set to 0, and you have two possible operations on them: increase(X) − counter X is increased by 1, max counter − a 阅读全文
posted @ 2022-12-06 00:10 疏影龙栖 阅读(19) 评论(0) 推荐(0) 编辑
摘要: This is a demo task. Write a function: class Solution { public int solution(int[] A); } that, given an array A of N integers, returns the smallest pos 阅读全文
posted @ 2022-12-05 23:29 疏影龙栖 阅读(40) 评论(1) 推荐(0) 编辑
摘要: Question A non-empty array A consisting of N integers is given. A permutation is a sequence containing each element from 1 to N once, and only once. F 阅读全文
posted @ 2022-12-05 00:56 疏影龙栖 阅读(12) 评论(0) 推荐(0) 编辑
摘要: Question A small frog wants to get to the other side of a river. The frog is initially located on one bank of the river (position 0) and wants to get 阅读全文
posted @ 2022-12-05 00:32 疏影龙栖 阅读(16) 评论(0) 推荐(0) 编辑
摘要: Question A non-empty array A consisting of N integers is given. Array A represents numbers on a tape. Any integer P, such that 0 < P < N, splits this 阅读全文
posted @ 2022-12-01 16:40 疏影龙栖 阅读(10) 评论(0) 推荐(0) 编辑
摘要: Question An array A consisting of N different integers is given. The array contains integers in the range [1..(N + 1)], which means that exactly one e 阅读全文
posted @ 2022-12-01 12:02 疏影龙栖 阅读(15) 评论(0) 推荐(0) 编辑
摘要: Question A small frog wants to get to the other side of the road. The frog is currently located at position X and wants to get to a position greater t 阅读全文
posted @ 2022-12-01 11:18 疏影龙栖 阅读(14) 评论(0) 推荐(0) 编辑
摘要: Question: OddOccurencesArray A non-empty array A consisting of N integers is given. The array contains an odd number of elements, and each element of 阅读全文
posted @ 2022-12-01 10:07 疏影龙栖 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 清除git中Untrackedfiles git clean -nfd git clean -fd -f: --force 强制删除untracked file -d: 删除整个文件夹 -fd:删除文件和文件夹 -n: 查看会删掉哪些文件 阅读全文
posted @ 2022-10-13 11:22 疏影龙栖 阅读(94) 评论(0) 推荐(0) 编辑