why 600 is used here ?
can anyone please comment leetcode problem link
ignore my comment
Because the highest value for a given time is mentioned as 500. We could have used 540 as well as it is the minimum number that is greater than 500 and divisible by 60.