Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


For addition and deletion. Which one is most preferred: array list or linked list?



For addition and deletion. Which one is most preferred: array list or linked list?..

Answer / Dileep Kumar Kamal

"ArrayList is generally more efficient for addition operations, as it allows for inserting elements at any index using the add() method. However, LinkedList is better suited for deletion operations since it maintains a reference to the previous element, which simplifies finding and removing nodes."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

What are the advantages of linked list over an array?

1 Answers  


What is stable sorting?

1 Answers  


Explain binary representation?

1 Answers  


State the rules to be followed during infix to prefix conversions?

1 Answers  


Whether Linked List is linear or Non-linear data structure?

1 Answers  


What is fibonacci search?

1 Answers  


Which sorting algorithm is best for small data?

1 Answers  


Can we remove element from arraylist while iterating?

1 Answers  


What is a stable sort?

1 Answers  


What is data in computer science?

1 Answers  


What is complexity algorithm?

1 Answers  


Is quicksort divide and conquer?

1 Answers  


Categories