Pluto7 interview question

Question on Partitions and window functions