FreeWheel Interview Question

1 easy and 1 mid leetcode question, 1 simple SQL.