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.
That is my solution that passed all test cases. I am still a student and trying to improve my problem solving skill. It took me around an hour to catch all the end cases, do you think there is a better solution and do you think that is too much time for a problem like this one ?
Thanks in advance, I love the discussions in HackerRank.
Queries with Fixed Length
You are viewing a single comment's thread. Return to all comments →
That is my solution that passed all test cases. I am still a student and trying to improve my problem solving skill. It took me around an hour to catch all the end cases, do you think there is a better solution and do you think that is too much time for a problem like this one ?
Thanks in advance, I love the discussions in HackerRank.