Forward Financing Interview Question

Leetcode easy and medium questions