Skip to content

Create Find Transition Point.cpp#81

Open
aaparikh wants to merge 1 commit intojitendrajat10099:masterfrom
aaparikh:master
Open

Create Find Transition Point.cpp#81
aaparikh wants to merge 1 commit intojitendrajat10099:masterfrom
aaparikh:master

Conversation

@aaparikh
Copy link

Question -> You are given a sorted array containing only numbers 0 and 1. Find the transition point efficiently. The transition point is a point where "0" ends and "1" begins (0 based indexing).
Note that, if there is no "1" exists, print -1.
Thank You :)

Question -> You are given a sorted array containing only numbers 0 and 1. Find the transition point efficiently. The transition point is a point where "0" ends and "1" begins (0 based indexing).
Note that, if there is no "1" exists, print -1.
Thank You :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant