Task descriptionWrite a function:int solution(int A[], int N);that, given a non-empty zero-indexed array A of N integers, returns the minimal positive integer that does not occur in A.For example, giv
原创 2014-07-09 22:48:11
635阅读
Task description: This is a demo task. Write a function: that, given an array A of N integers, returns the smallest positive integer (greater than 0)
原创 2022-04-22 13:51:29
829阅读
1. MissingInteger 最小遗失整数 Find the minimal positive integer not occurring in a given sequence.
原创 2021-06-05 10:19:05
212阅读