algorithms
algorithms copied to clipboard
Add direction change level order
This is a level Order Traversal of A tree But with the posibility of changing the Direction of it between The amount of levels Someone Wants. In the code the direction will change every 2 levels(form left to right and viceversa), But it can be changed by modifying the value of variable count