摘要: 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 疏影龙栖 阅读(48) 评论(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 疏影龙栖 阅读(25) 评论(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 疏影龙栖 阅读(31) 评论(0) 推荐(0)