• 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

Amazon Interview On-Campus For Internship – 1

Serialise Deserialise N-ary Tree

Max Sum in circularly situated Values

SAP Hiring Off-Campus General Aptitude

Sort Stack in place

Adobe Interview Questions 8 month Exp

Print all nodes that are at distance k from a leaf node

DFS (Depth First Search)

Find Percentage of Words matching in Two Strings

Binary Tree in Java

Level order traversal in Spiral form

Wrong Directions given find minimum moves so that he can reach to the destination

Maximum occurred Smallest integer in n ranges

Urban Ladder Written Test.

Find Nearest Minimum number in left side in O(n)

SAP Off Campus Hiring_ March 2015 Computer Skills

Word Break Problem

Binary Tree Isomorphic to each other

Common Ancestor in a Binary Tree or Binary Search Tree

Print Power Set of a Set

C++ OOPs Part2

Cisco Hiring Event 21st – 22nd Feb 2015

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

Trie Dictionary

Printing Longest Common Subsequence

Reversal of LinkedList

Maximum of all subarrays of size k

Trapping Rain Water

Skiing on Mountains Matrix

C Program for TAIL command of UNIX

Copyright © 2026 · Genesis Framework · WordPress · Log in