Skip to content
Avio Lines
Daily Express

LeetCode Daily Problem: Wednesday, April 19, 2023

Video solution by codestorywithMIK for 1372. Longest ZigZag Path in a Binary Tree.

1372. Longest ZigZag Path in a Binary Tree

MediumDynamic Programming · Tree · Depth-First Search · Binary Tree · DP on Trees · 25:12

LeetCode problem 1372, Longest ZigZag Path in a Binary Tree, was LeetCode's Daily Challenge on Wednesday, April 19, 2023. It's rated medium. codestorywithMIK explains the approach step by step in the video above.