You are viewing a single comment's thread. Return to all comments →
Noticed in examining the code - not that it will affect it much, but little pieces - the
for(int x=0;x
x can only be x < substrings.size() - 1, since y takes from x+1 to substring.size & the for will not occur.
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 →
Noticed in examining the code - not that it will affect it much, but little pieces - the
x can only be x < substrings.size() - 1, since y takes from x+1 to substring.size & the for will not occur.