You are viewing a single comment's thread. Return to all comments →
Why you said that your solution is O(1) Auxiliary space? You allocate O(N) of auxilary space for array 'a'
Seems like cookies are disabled on this browser, please enable them to open this website
Array Manipulation
You are viewing a single comment's thread. Return to all comments →
Why you said that your solution is O(1) Auxiliary space? You allocate O(N) of auxilary space for array 'a'