root - root of the binary tree d - distance of current line from rightmost - topmost slope . diagonalPrint - multimap to store Diagonal elements ( Passed by Reference )
void diagonalPrintUtil ( Node * root , int d , map < int , vector < int > > & diagonalPrint ) {