why it is O(n^2), should be O(n^3)? Can you explain it?


Log in to reply
 

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