Stores the required count of nodes for each level
vector < int > levelResult ( numLevels , 0 ) ; findNodes ( root , levelMin , levelResult , 0 ) ; for ( int i = 0 ; i < numLevels ; i ++ ) { cout << levelResult [ i ] << " ▁ " ; } }