Your algorithm's runtime complexity must be in the order of O(log n). Your algorithm's runtime complexity must be in the order of O(log n).