Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Heaps in C++ - Interview Questions - Part 1

CodeHelp - by Babbar via YouTube

Overview

Dive into an in-depth tutorial on solving interview questions related to Binary Heaps in C++. Learn multiple approaches to tackle five key problems: finding the Kth smallest element, merging two heaps, determining if a tree is a heap, calculating the minimum cost of ropes, and converting a BST into a heap. Follow along with detailed explanations, step-by-step approaches, and code implementations for each problem. Access additional resources including course flow diagrams, notes, slides, and code links to enhance your understanding. Join a supportive coding community through provided Discord and Telegram links, and benefit from timestamps for easy navigation through different sections of the tutorial.

Syllabus

- Question 1
- Promotion
- Approach #1
- Approach #2
- Code
- Question 2
- Approach
- Code
- Question 3
- Approach
- Code
- Question 4
- Approach
- Code
- Question 5
- Approach

Taught by

CodeHelp - by Babbar

Reviews

Start your review of Heaps in C++ - Interview Questions - Part 1

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.