GE HealthCare Interview Question

How to find element from a sorted infinite array when we don't know till which index elements are exist