We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
The Hurdle Race
The Hurdle Race
Sort by
recency
|
1421 Discussions
|
Please Login in order to post a comment
Here is my c++ solution, you can watch the explanation here : https://youtu.be/HTbex2B-Yas
Solution From My Side
JS, Javascriipt solution:-
Kotlin solution:
val tallestHeight = height.maxOrNull() ?: 0 val result = tallestHeight - k