You are viewing a single comment's thread. Return to all comments →
j<max(s1.size(),s2.size())
You are accessing an array (either a or b depending on whose size is lesser) beyond its range, the behaviour might be undefined.
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 →
You are accessing an array (either a or b depending on whose size is lesser) beyond its range, the behaviour might be undefined.