Find First One in Infinite Stream

binarysearch
exponentialsearch
Login required

Please log in to view the solution editor and submit code.