Driver program to test the above function
root = Node ( 20 ) NEW_LINE root . left = Node ( 8 ) NEW_LINE root . right = Node ( 22 ) NEW_LINE root . left . left = Node ( 4 ) NEW_LINE root . left . right = Node ( 12 ) NEW_LINE root . left . right . left = Node ( 10 ) NEW_LINE root . left . right . right = Node ( 14 ) NEW_LINE print " Level ▁ Order ▁ Traversal ▁ between ▁ given ▁ two ▁ levels ▁ is " , NEW_LINE printLevels ( root , 2 , 3 ) NEW_LINE