service/searching/findMissingElement/find_missing_element library
Functions
-
findMissingElement(
List< int> list) → int? - Finds the first missing positive integer from a list of distinct integers, starting from 1 up to the max of the list. If all expected elements are present, returns null.
-
main(
) → void