Coding
In Python: You have an array of int of len n, sorted, filled with int from 0 to n, e.G. [0,1,2,4,5], you want to find what is the number such as it introduces the problem. Complexity of O(log n) in general required.
Data Scientist
Microsoft
Arm
InVision
Workday
Teradata
Try Our AI Interviewer
Prepare for success with realistic, role-specific interview simulations.
Try AI Interview NowInterview question asked to Data Scientists interviewing at GOJEK, InVision, Microsoft and others: In Python: You have an array of int of len n, sorted, filled with int from 0 to n, e.G. [0,1,2,4,5], you want to find what is the number such as it introduces the problem. Complexity of O(log n) in general required..