Infosys Interview Question

Basic sql queries, leetcode based problem other than 2 coding given