Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

kth smallest element in tree

A tree-connected computer with n leaves stores one integer of a sequence S per leaf. For a given k, 1 < k < n, design an algorithm that runs on this computer and selects the kth smallest element of S.

Comments