Rust Minimum Function In Javascript Geeksforgeeks Interview