J.P. Morgan Interview Question

Leetcode easy/medium questions were asked. 3 questions with 30 mins each