Skip to content

Latest commit

 

History

History

josephpd3

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Finding the Missing Integer


Given a list of integers, sorted or not, containing {0 -> N - 1} - {k}, find given missing integer k.

Function get_missing_num consumes a Vec<u32> and returns a u32.

Tests with cargo test.