FreeWheel Interview Question

1 easy and 1 mid Leetcode and 1 simple SQL.