Can you solve it in N time without using extra memory?


  • 0
    N

    Can you solve it in N time without using extra memory? I.e. no hash set or dictionary and not a n^2 solution where you check every other element.


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.