Sprinklr Interview Question

Backtracking and binary search on sorted array