Tic Toc interview question

First two supre easy then Binary search, Dynamic programming