Pre Exam Test Practice (SSC | Banking | IAS | GATE | State Level | CLAT | Railways | Insurance | Teaching Exams | NDA | Defence | IES |State Exam )

Organizational Research By

Surprising Reserch Topic

Question:how to Merging two Heaps of different Sizes


 

This is a somewhat homework question and somewhat not. In my homework I had to demonstrate how to merge two Heaps of the same size and estimate it's time complexity. While I was searching for this I read about skew Heaps and the Fibonacci Heap.

My question is, can you combine two heaps of separate sizes to one heap? With all the examples I found online I couldn't get a straight answer from it.


asked Sep 13, 2013 in Java Interview Questions by rajesh
edited Sep 12, 2013
0 votes
27 views



Related Hot Questions



Government Jobs Opening


...