Goldman Sachs Interview Question

HackerRank - Array Burst problem and one more problem which was easy as well. DS and Algo round - Graph related question Send ID of largest tree in a forest given a map of parent to child