List out the disadvantages of using a linked list?
Answer / Ravindra Nath Pandey
1. Inefficient for direct random access because elements are not stored in contiguous memory locations.
2. Extra space for pointers is required for each node which can lead to increased memory usage compared to arrays.
3. Insertion and deletion operations are slower due to the need to traverse through the list until the desired position is found.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain what are the methods available in storing sequential files ?
How do you use the sort function?
What are the types of array operations?
Write an algorithm to show the postfix expression with the input given as : a b + c d +*f ? .
How are elements stored in hashset?
What is a concurrenthashmap?
How will you sort the elements of array in descending order?
What is difference between hashmap and hashset?
write a program to show the insertion and deletion of an element in an array using the position
What is the difference between array and stack in data structures?
Why heap sort is not used?
How do you do a mergesort?