Topic: Divide And Conquer Problem / Level: advanced

Problem: Implement a divide and conquer algorithm to solve the "Longest Zigzag Path in a Binary Tree" problem.

Run the code to see the output here...