I'm working on some lecture notes and wondered if there was a good example algorithm for the recurrence equation
$$T(n) = T(n/2) + n$$
I know that I can do selection in this running time, but that is a probabilistic algorithm, and I was hoping not to introduce this algorithm at this point in my lecture notes. I plan to introduce the selection problem in a later chapter after describing quick-sort. Is there a good example of an algorithm that has this recurrence equation as worst-case?