Data Structures Interview Questions
Questions Answers Views Company eMail

What is a static structure?

644

Does treemap allow null keys?

690

Can arraylist hold different types?

715

What are the disadvantages of linked list?

663

Is a hashmap a dictionary?

622

What is advantage and disadvantage of linked list?

627

What are the disadvantages of linked list over array?

653

Does linked list allow null values?

628

What is difference between arraylist and list?

648

Is collection a class or interface?

680

Can sets contain duplicates?

598

What can be stored in an arraylist?

656

What are the benefits of using arrays?

693

What happens when arraylist is full?

677

Does treeset remove duplicates?

681


Post New Data Structures Questions

Un-Answered Questions { Data Structures }

What is scalar example?

705


Explain heapsort. What is its complexity?

757


What is a vector element?

672


How many times is merge sort called?

690


What is the need for extendible hashing?

733


Given an array of integers, devise a program to replace every element with the next greatest element on the right side in the array. Also, replace the last element with 5 as there no element on the right side of it.

737


Is array a collection?

672


What is the purpose of thread?

683


How do you find the height of a binary tree?

648


Differentiate between comparable and comparator.

799


What is quick sort example?

660


What is the use of threaded binary tree?

753


Why would we use dynamically allocated arrays vs vectors?

605


Why is waste sorting important?

739


Write a code for dynamic allocation of array.

757