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.
Thx dude for comment! nice C++11 code!
I did it using nasty way with map by adding each sequence, so brutal forced it :) and #5 managed in 1.96s Your way is how it should be done.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Contacts
You are viewing a single comment's thread. Return to all comments →
Thx dude for comment! nice C++11 code! I did it using nasty way with map by adding each sequence, so brutal forced it :) and #5 managed in 1.96s Your way is how it should be done.