• 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 Experience – SDE Chennai

Convert number to words java

Maximum difference between two elements s.t larger element appears after the smaller number

Circular Linked List

Generic Object Oriented Stack with Template

Minimum insertions to form a palindrome

Python Array String

1014 Practice Question of New GRE – Princeton

Trie Dictionary

ADOBE Aptitude C Language Test

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

The Magic HackerEarth Nirvana solutions Hiring Challenge

Common Ancestor in a Binary Tree or Binary Search Tree

TicTacToe Game As Asked in Flipkart

Maximum occurred Smallest integer in n ranges

Word Break Problem

Count number of ways to reach a given score in a game

Best Java Book | Top Java Programming Book for Beginners

N teams are participating. each team plays twice with all other teams. Some of them will go to the semi final. Find Minimum and Maximum number of matches that a team has to win to qualify for finals ?

Maximum sum contiguous subarray of an Array

Generate next palindrome number

Python List

Password Predictor

SAP Off Campus Hiring_ March 2015 Computer Skills

VMWare Openings

VMWare SDEII Interview

LeetCode: Binary Tree Maximum Path Sum

Find the smallest window in a string containing all characters of another string

SAP Off Campus Hiring_ March 2015 Analytical Aptitude

Naurki.com Security Breach

Copyright © 2025 · Genesis Framework · WordPress · Log in