Amdocs interview question

Graph tree sql data structure c++