Coding
You are given a sorted list of integers, but some of the values are marked as -1 which indicates that they are out of range. Can you implement a method to determine the length of the list without using any built-in functions, and taking advantage of the sorted nature of the list?
Data Scientist
Palantir Technologies
Uber
Spotify
Wayfair
IBM
Yahoo
Interview question asked to Data Scientists interviewing at PagerDuty, Virta, Etsy and others: You are given a sorted list of integers, but some of the values are marked as -1 which indicates that they are out of range. Can you implement a method to determine the length of the list without using any built-in functions, and taking advantage of the sorted nature of the list?.