IBM Interview Question

1 leetcode question and one sql database question