• 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

Max 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

Connect n ropes with minimum cost

Naurki.com Security Breach

SAP Interview Questions

VMWare SDEII Interview

1014 Practice Question of New GRE – Princeton

Find the number ABCD such that when multipled by 4 gives DCBA.

Rectangular chocolate bar Create at least one piece which consists of exactly nTiles tiles

The Magic HackerEarth Nirvana solutions Hiring Challenge

Maximum sum contiguous subarray of an Array

Calculate price of parking from parking start end time prices

C++ OOPs Part1

Practo Hiring Experience

Print Power Set of a Set

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

LeetCode: Container With Most Water

Trie Dictionary

Search element in a matrix with all rows and columns in sorted order

Daughter’s Age VeryGood Puzzle

TicTacToe Game As Asked in Flipkart

Coin Collection Dynamic Programming

Introduction To Number Theory ( Part 1 )

K’th Largest Element in BST when modification to BST is not allowed

Count Possible Decodings of a given Digit Sequence

C++ OOPs Part2

FizzBuzz Solution C C++

Level order traversal in Spiral form

LeetCode : Word Search

Binary Tree in Java

CodeChef Code SGARDEN

Mirror of Tree

Copyright © 2026 · Genesis Framework · WordPress · Log in