You are viewing a single comment's thread. Return to all comments →
TS Solution:
function hurdleRace(k: number, height: number[]): number { // Write your code here return Math.max(Math.max(...height) - k, 0) }
Seems like cookies are disabled on this browser, please enable them to open this website
The Hurdle Race
You are viewing a single comment's thread. Return to all comments →
TS Solution: