Competitive-Programming--Solution icon indicating copy to clipboard operation
Competitive-Programming--Solution copied to clipboard

Create Find Transition Point.cpp

Open aaparikh opened this issue 5 years ago • 0 comments

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 :)

aaparikh avatar Oct 23 '20 03:10 aaparikh