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 was thinking the same thing, but the accumulator would be doing a difference of 26 elements each time i wanted that while the lenght of the entire string is 100 or less. seems like no time saving there.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Sherlock and Anagrams
You are viewing a single comment's thread. Return to all comments →
i was thinking the same thing, but the accumulator would be doing a difference of 26 elements each time i wanted that while the lenght of the entire string is 100 or less. seems like no time saving there.