Consider the variation of the binary search algorithm so that it splits the list into not only into two sets of almost equal sizes but into two sets of size approximately one-thirds and Two-third. What is the recurrence equation for this search in worst-case?
recurrence relation should be in worst case
T(n)=T(2n/3)+1
64.3k questions
77.9k answers
244k comments
80.0k users