Amazon Interview Question
SDE1sCountry: India
Interview Type: In-Person
Please be more clear...
1. What do we mean by numbers are coming.
Does it mean that we have a binary stream random integers.
2. What about the starting position of 1.
Does it mean we have to determine the location of most significant 1 in the binary representation of any integer.
Also, are these integers sorted already as they come into the system. I guess not but someone has presented an answer based on that assumption.
what do you mean starting of 1's ? Can you give an example?
- guilhebl June 20, 2015