Longest ZigZag Path in a Binary Tree - | Leetcode-1372 | MICROSOFT | Explanation + Live Code
This is the 25th Video of our Binary Tree Playlist.
In this video we will try to solve a very good problem "Longest ZigZag Path in a Binary Tree" (Leetcode - 1372).
We will do live coding after explanation and see if we are able to pass all the test cases.
We will solve it using two different ways.
Problem Name : Longest ZigZag Path in a Binary Tree
Company Tags : MICROSOFT
My Github Solutions : https://github.com/MAZHARMIK/Interview_DS_Algo/blob/master/Tree/Longest%20ZigZag%20Path%20in%20a%20Binary%20Tree.cpp
Leetcode Link : https://leetcode.com/problems/longest-zigzag-path-in-a-binary-tree/
My GitHub Repo for interview preparation : https://github.com/MAZHARMIK/Interview_DS_Algo
Subscribe to my channel : https://www.youtube.com/@codestorywithMIK
╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝
#coding #helpajobseeker #easyrecipes #leetcode #leetcodequestionandanswers #leetcodesolution #leetcodedailychallenge #leetcodequestions #leetcodechallenge #hindi #india #hindiexplanation #hindiexplained #easyexplaination #interview #interviewtips
#interviewpreparation #interview_ds_algo #hinglish