Back to Browse

Kth Largest Sum in a Binary Tree | Leetcode 2583

3.0K views
Oct 22, 2024
11:50

This video explains finding the Kth largest levelorder sum in a binary tree using the most optimal BFS algorithm and minheap data structure. ---------------------------------------------------------------------------------------------------------------------------------------------------------------- ๐ŸŸฃ JOIN our ๐‹๐ˆ๐•๐„ ๐ข๐ง๐ญ๐ž๐ซ๐ฏ๐ข๐ž๐ฐ ๐ญ๐ซ๐š๐ข๐ง๐ข๐ง๐  ๐ฉ๐ซ๐จ๐ ๐ซ๐š๐ฆ through whatsapp query: +91 8918633037 ๐ŸŸฃ ๐‚๐ก๐ž๐œ๐ค๐จ๐ฎ๐ญ ๐š๐ฅ๐ฅ ๐จ๐ฎ๐ซ ๐‚๐จ๐ฎ๐ซ๐ฌ๐ž๐ฌ: https://techdose.co.in/ ๐Ÿ”ต LinkedIn: https://www.linkedin.com/in/surya-pratap-kahar/ ๐Ÿ”ด INSTAGRAM: https://www.instagram.com/techdose_official/ ๐ŸŸข ๐“๐ž๐œ๐ก๐๐จ๐ฌ๐ž-๐Ÿ๐ŸŽ๐ŸŽ ๐ฌ๐ก๐ž๐ž๐ญ: https://docs.google.com/spreadsheets/d/1TtgjX_cZPxEyuzwlLqCk9q6C1-HUXM8014ADfIXNKZE/edit?usp=sharing --------------------------------------------------------------------------------------------------------------------------------------------------------------- BFS: https://youtu.be/YYq38LTz774 Kth Largest/Smallest element in an array: https://youtu.be/aXJ-p3Qa4TY ๐‚๐Ž๐ƒ๐„ ๐‹๐ˆ๐๐Š: https://gist.github.com/SuryaPratapK/bd446e6979f2374dbf5e6a11c04b90f7

Download

0 formats

No download links available.

Kth Largest Sum in a Binary Tree | Leetcode 2583 | NatokHD