• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar
  • Skip to secondary sidebar

GoHired

Interview Questions asked in Google, Microsoft, Amazon

Join WeekEnd Online Batch from 4-April-2020 on How to Crack Coding Interview in Just 10 Weeks : Fees just 20,000 INR

  • Home
  • Best Java Books
  • Algorithm
  • Internship
  • Certificates
  • About Us
  • Contact Us
  • Privacy Policy
  • Array
  • Stack
  • Queue
  • LinkedList
  • DP
  • Strings
  • Tree
  • Mathametical
  • Puzzles
  • Graph

Min Heap

Get K Max and Delete K Max in stream of incoming integers

March 25, 2014 by Dhaval Dave

Get K Max and Delete K Max in stream of Incoming Integers

Solution 1 : Using Min Heap
Algorithm :

1) Keep a Min & Max Heap of K size
2) Store first K elements 
… Read More

Filed Under: Adobe Interview Questions, Amazon Interview Question, Interview Questions, Microsoft Interview Questions, problem Tagged With: Linked List, Max Heap, Min Heap

Primary Sidebar

Join WeekEnd Online/Offline Batch from 4-April-2020 on How to Crack Coding Interview in Just 10 Weeks : Fees just 20,000 INR

Join WeekEnd Online/Offline Batch from 4-April-2020

WhatsApp us

Secondary Sidebar

Custom Search

  • How I cracked AMAZON
  • LeetCode
  • Adobe
  • Amazon
  • Facebook
  • Microsoft
  • Hacker Earth
  • CSE Interview

Top Rated Questions

LeetCode : Word Search

Memory Efficient LinkedList

Python String and numbers

Length of the longest substring without repeating characters

Best Java Book | Top Java Programming Book for Beginners

Templates in C++

C++ OOPs Part1

SAP Off Campus Hiring_ March 2015 Analytical Aptitude

Python Dictionaries

Spanning Tree

Code Chef PRGIFT Solution

Print vertical sum of all the axis in the given binary tree

Linked List V/S Binary Search Tree

Microsoft BING Interview Experience

Hackerearth : Counting Subarrays

‘N’ Story Building, with 1,2,3 steps how many ways can a person reach top of building.

Print Power Set of a Set

Regular Expression Matching

Inorder and Preorder traversals of a Binary Tree given. Output the Postorder traversal of it.

Password Predictor

C++ OOPs Part2

Test Cases for Round Function

building with N steps, we can take 1,2,3 steps calculate number of ways to reach at top of building

LeetCode: Binary Tree Maximum Path Sum

Check if an array has duplicate numbers in O(n) time and O(1) space

Find Percentage of Words matching in Two Strings

Given a string, find the first character which is non-repetitive

Amazon Interview On-Campus For Internship – 1

Adobe Interview Questions 8 month Exp

Top 10 Interviews Techniqes for Campus Interview in IIT NIT BITS for MTech

Copyright © 2025 · Genesis Framework · WordPress · Log in