LinkedIn Interview Question

Q. Print all level or binary tree line by line Follow up: reverse every other line.