Tiger Analytics interview question

Data structure and algorithm Question related to Binary tree and graph

Interview Answer

Anonymous

8 Sept 2024

First given a brute force and later optimized