Edges of the tree
graph [ 1 ] . push ( 2 ) ; graph [ 2 ] . push ( 3 ) ; graph [ 2 ] . push ( 4 ) ; graph [ 1 ] . push ( 5 ) ; graph [ 5 ] . push ( 6 ) ; dfs ( 1 , 1 ) ; document . write ( countTotalPangram ( n ) ) ;