BNY Interview Question

3 leetcode easy - medium questions