Bungee interview question

Two sum leetcode question and basic Sql queries.