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
|
1418 Discussions
|
Please Login in order to post a comment
Kotlin solution:
val tallestHeight = height.maxOrNull() ?: 0 val result = tallestHeight - k
C# return height.Max()-k > 0 ? height.Max()-k : 0;
TS Solution:
The hurdle race is always such a thrilling event to watch! The way the athletes glide over each obstacle is amazing—true skill and precision at every jump. Speaking of precision, it reminds me of getting my car serviced at Mercedes Service—they handle everything with such care and expertise, just like those athletes clearing every hurdle flawlessly!
Here is my c++ solution, you can watch the explanation here : https://youtu.be/HTbex2B-Yas