You are viewing a single comment's thread. Return to all comments →
Your solution is good. But you can avoid map, just a single int array can serve the purpose. I did it, even i didn't use the "abs" function also.
Seems like cookies are disabled on this browser, please enable them to open this website
Making Anagrams
You are viewing a single comment's thread. Return to all comments →
Your solution is good. But you can avoid map, just a single int array can serve the purpose. I did it, even i didn't use the "abs" function also.