KUBRA Interview Question

The question asked for implementing binary search