关闭。这个问题需要更多focused.它目前不接受答案。想改进这个问题吗?更新问题,使其只关注一个问题editingthispost.关闭4年前。Improvethisquestion我正在尝试解决codilityMissingInteger问题link:Writeafunction:classSolution{publicintsolution(int[]A);}that,givenanon-emptyzero-indexedarrayAofNintegers,returnstheminimalpositiveintegerthatdoesnotoccurinA.Forexample