Trilogy Interview Question

Prefix Sum + Binary Search DSA Problem