How do you define a set?



How do you define a set?..

Answer / Hari Shankar Mehra

A Set is a collection of unique elements. In programming, sets are used to store multiple values in such a way that no repeated values are allowed. Sets can be implemented using various data structures like hash tables or binary search trees.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

Are lists mutable?

1 Answers  


What data structure underlies a python list?

1 Answers  


Who invented data structure?

1 Answers  


What is structure of data type?

1 Answers  


What are the five examples of data?

1 Answers  


Write a Program for Insert in a sorted list

1 Answers  


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.

1 Answers   Wipro,


What is meant by int?

1 Answers  


Program to remove duplicate elements in an array.

1 Answers   InterGraph,


What is the difference between hashset and hashtable?

1 Answers  


what is a balanced tree.

1 Answers  


Is linked list faster than array?

1 Answers  


Categories