If you're copying questions from leetcode atleast do it correctly!


#1

Comment body goes here.


#2

these are standard questions ,you cant blame/say they are copied,and the question is correct and there are no bugs,see the number of submissions,your code and you are buggy


#3

it’s works fine !! , maybe this question copied from Facebook and other companies interviews .