Hudson River Trading Interview Question

2D Matrix LeetCode Med/Hard question