Leetcode Activity Selection Problem Hackerrank Sql Interview