• 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

C++ OOPs Part2

N Petrol bunks or City arranged in circle. You have Fuel and distance between petrol bunks. Is it possible to find starting point so that we can travel all Petrol Bunks

Sort an array according to the order defined by another array

Python List

Cisco Hiring Event 21st – 22nd Feb 2015

Circular Linked List

Reliance Jio Software Developer Interview Experience

Implement a generic binary search algorithm for Integer Double String etc

Naurki.com Security Breach

strtok()

Right view of Binary tree

Find loop in Singly linked list

LeetCode : Word Search

Printing each word reverse in string

Walmart Labs Interview Experience

Trie Dictionary

Reverse a Linked List in groups of given size

CodeChef’ RRCOPY

Interfaces in C++ (Abstract Classes in C++)

Hackerearth : Counting Subarrays

Given Set of words or A String find whether chain is possible from these words or not

Microsoft BING Interview Experience

VMWare Openings

Python Array String

SAP Off Campus Hiring_ March 2015 Analytical Aptitude

25 horses 5 tracks Find 3 fastest puzzle

C Program for TAIL command of UNIX

Client Server C program

Maximum occurred Smallest integer in n ranges

Implement LRU Cache

Copyright © 2026 · Genesis Framework · WordPress · Log in