• + 4 comments

    I've noticed that most people solved the task with a O(N*T) solution. There is a better O(N+T) one. How hard (time complexity) tend the other challenges to be?