You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you please share your thoughts on why pivot index = 0 is a right answer?
I can see that in your solution at this line, you have purposely coded this condition (the first condition of OR construct).
The case for which this happens is:
[ -1, -1, -1, 0, 1, 1]
Would request you to reply over this discussion thread and share your thoughts. Lot of people are having same doubt.
Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
Can you please share your thoughts on why pivot index = 0 is a right answer?
I can see that in your solution at this line, you have purposely coded this condition (the first condition of OR construct).
The case for which this happens is:
Would request you to reply over this discussion thread and share your thoughts. Lot of people are having same doubt.
Thanks.
The text was updated successfully, but these errors were encountered: