Maximum Level Sum of a Binary Tree | Leetcode 1161 | AMAZON | codestorywithMIK
Hi everyone, this is the 27th video of our "Binary Tree" Playlist. In this video we will try to solve a classic BFS Binary Tree Qn “Maximum Level Sum of a Binary Tree”. We will write very easy and clean code. We will do live coding after explanation and see if we are able to pass all the test cases. Problem Name : Maximum Level Sum of a Binary Tree Company Tags : AMAZON My solutions on Github : https://github.com/MAZHARMIK/Interview_DS_Algo/blob/master/Tree/Maximum%20Level%20Sum%20of%20a%20Binary%20Tree.cpp Leetcode Link : https://leetcode.com/problems/maximum-level-sum-of-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 Instagram : https://www.instagram.com/codestorywithmik/ Facebook : https://www.facebook.com/people/codestorywithmik/100090524295846/ Timestamps - 0:00 Introduction 1:40 Intution 2:01 BFS Approach 6:22 BFS CODE 9:31 DFS Approach 17:16 DFS code ╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗ ║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣ ╠╗║╚╝║║╠╗║╚╣║║║║║═╣ ╚═╩══╩═╩═╩═╩╝╚╩═╩═╝ #coding #helpajobseeker #easyrecipes #leetcode #leetcodequestionandanswers #leetcodesolution #leetcodedailychallenge #leetcodequestions #leetcodechallenge #hindi #india #hindiexplanation #hindiexplained #easyexplaination #interview #interviewtips #interviewpreparation #interview_ds_algo #hinglish
Download
0 formatsNo download links available.