• 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

CodeChef’ RRCOPY

Find the kth number with prime factors 3, 5 and 7

Stickler thief

SAP Interview Questions

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

Spanning Tree

Skiing on Mountains Matrix

Number of Islands BFS/DFS

Python Array String

LeetCode: Container With Most Water

Maximum sum contiguous subarray of an Array

Convert number to words java

Fibonacci Hashing & Fastest Hashtable

Word Break Problem

VMWare Openings

SAP Off Campus Hiring_ March 2015 Verbal Skills

Microsoft BING Interview Experience

C Program for TAIL command of UNIX

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

BFS (Breath First Search)

Coin Collection Dynamic Programming

Binary Tree Isomorphic to each other

Check Binary Tree is Binary Search Tree or not

Memory Efficient LinkedList

Password Predictor

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

Find next greater number with same set of digits

Apriori algorithm C Code Data Mining

Calculate price of parking from parking start end time prices

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

Copyright © 2026 · Genesis Framework · WordPress · Log in