• 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

Naurki.com Security Breach

Spanning Tree

Reversal of LinkedList

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

Binary Tree in Java

Trie Dictionary

Python Dictionaries

Maximum occurred Smallest integer in n ranges

Introduction To Number Theory ( Part 1 )

Python Array String

Edit Distance ( Dynamic Programming )

Implement a generic binary search algorithm for Integer Double String etc

Find next greater number with same set of digits

Maximum of all subarrays of size k

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

Given a sorted array and a number x, find the pair in array whose sum is closest to x

FizzBuzz Solution C C++

Convert number to words java

Find the element that appears once others appears thrice

Generate next palindrome number

Find an index i such that Arr [i] = i in array of n distinct integers sorted in ascending order.

Maximum path sum between two leaves

Linked List V/S Binary Search Tree

Coin Collection Dynamic Programming

Sort Stack in place

Microsoft BING Interview Experience

SAP Off Campus Hiring_ March 2015 Analytical Aptitude

Cisco Hiring Event 21st – 22nd Feb 2015

Mirror of Tree

write a c program that given a set a of n numbers and another number x determines whether or not there exist two elements in s whose sum is exactly x

Copyright © 2025 · Genesis Framework · WordPress · Log in