LeetCode Weekly Contest 17
My 1-line solution here
Just calculate sum(min(duration, next attack time - this attack time))
No one has replied
Beautiful solution. The code could be cleaner but still beautiful never the less.
you forgot to close the class braces. Good sol.
If you don't recognize the characters, you wouldn't be interviewing with Riot Games in the first place. This is a great problem to show the type of questions Riot asks.
There is no need to increase count at every time. Only when it is out of range.
Disabled Categories are greyed out
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.