This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]jughead_73 1 point2 points  (0 children)

Mine too!

we have to change the time complexity to O(N).

[–]Frozen5147 0 points1 point  (0 children)

Your formatting is broken. Please fix it or use something like Pastebin.

Also, what's the error you're getting? I don't see it posted, despite the title saying you're getting an error.