Ritual Interview Question

Window function SQL, 1 python