Can we add heterogeneous elements into treemap?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Data Structures Interview Questions

Tell us the difference between merge and quick sort. Which one would you prefer and why?

0 Answers   Agilent, ZS Associates,


What is array and string?

0 Answers  


In what areas do data structures are applied?

0 Answers  


How arraylist increase its size?

0 Answers  


How memory is reserved using a declaration statement ?

0 Answers  






What sorting algorithm should be used for sorting strings?

0 Answers  


Is treeset synchronized?

0 Answers  


What is data structure and why we need it?

0 Answers  


Is binary tree balanced?

0 Answers  


1) Program A and B are analyzed and found to have worst- case running times no greater than 150nlog2n and n2 respectively.Answer the folloWing questions if possible.. i) which program has the better guarantee on the running time,for larger values of n(n>10000) ? ii) which program has the better guarantee on the running time,for small values of n(n<100) ? iii) which program will run faster on average for n =1000 2) wRite a program to compute the number of collisions required in a long random sequence of insertions using linear probing ,quadratic probing and double hashing 3) what is the optimal way to compute A1 A2 A3 A4 A5 A6 where the dimensions of the matrices are A1:10*20 A2 : 20 * 1 A3 : 1 * 40 A4 : 40*5 A5 : 5 * 30 A6 : 30 X 15

5 Answers   KPIT,


How to cut or remove an element from the array?

0 Answers  


Can hashset contain null?

0 Answers  


Categories