ADmyBRAND Interview Question

Graph based LC