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.
I understand what you mean, but the question is not to write code for any other problem but for this one and therefore I dont think you can say that your solution is better, because here, it is not (even if it is non significantly worse). Totally get your point though... If this wasnt a challenge for a specific problem you were right...
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Day of the Programmer
You are viewing a single comment's thread. Return to all comments →
I understand what you mean, but the question is not to write code for any other problem but for this one and therefore I dont think you can say that your solution is better, because here, it is not (even if it is non significantly worse). Totally get your point though... If this wasnt a challenge for a specific problem you were right...