You are viewing a single comment's thread. Return to all comments →
trying to understand with test case as [1,1,2,2,3,3,4] should i first make this array unique set of elements and then apply the two pointer method ?
Seems like cookies are disabled on this browser, please enable them to open this website
Pairs
You are viewing a single comment's thread. Return to all comments →
trying to understand with test case as [1,1,2,2,3,3,4] should i first make this array unique set of elements and then apply the two pointer method ?