Check if duplicates exist in an array of N which has range 1 to N.
No Answer is Posted For this Question
Be the First to Post Answer
How many types of lists are there?
The element being searched for is not found in an array of 100 elements. What is the average number of comparisons needed in a sequential search to determine that the element is not there, if the elements are completely unordered?
11 Answers Morgan Stanley, Wipro,
We know that Arrays are objects so why cannot we write strArray.length()?
Which sort is stable?
In which data structure, elements can be added or removed at either end, but not in the middle?
42 Answers Infosys, NIC, TTA, Wipro,
Is boolean a data type?
When will you sort an array of pointers to list elements, rather than sorting the elements themselves?
What is meant by strongly connected in a graph?
How would you dynamically allocate a one-dimensional and two-dimensional array of integers?
What are the benefits of using arrays?
Is treemap sorted?
Which is better array or linked list?