Longest ZigZag Path in a Binary Tree — CaffeCode