Hudson River Trading interview question

3 leet code mediums + 1 leet code hard for the initial interview.