I feel this is among the easiest problems. It doesn't even require much thinking.
How do you guys think?
I agree, this problem is quite easy related to other medium problems
if 0(n) very easy why no't try 0(lgn)
You are right!
Done.. still easy
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.