Q48
NAT2 marksAlgorithmsMediumLet be an array of numbers consisting of a sequence of 's followed by a sequence of 's. The problem is to find the smallest index such that is by probing the minimum number of locations in . The worst case number of probes performed by an optimal algorithm is ____________.
Sign in to save attempts.
Keys: Enter checks, ← → move between questions.
The solution is hidden while you attempt this question. It opens once you check or show the answer.