BNY interview question

Optimization questions and basic leetcode easies