Fractal interview question

Sql Queries using Row numbers and Top Function