X Interview Question

1 SQL Question, 2 Easy and 1 Medium algorithm questions