Programmers: Largest Node

Problem Statement

This can be typically done by the BFS.