摘要: 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) 编辑