You are viewing a single comment's thread. Return to all comments →
Interesting approach. Quite simple and effective - keep track of every pair in 2d-array. O(n). Passed.
Seems like cookies are disabled on this browser, please enable them to open this website
Two Characters
You are viewing a single comment's thread. Return to all comments →
Interesting approach. Quite simple and effective - keep track of every pair in 2d-array. O(n). Passed.