Meta interview question

4x Leetcode Mediums (including a harder graph q)