Tag

LinkedList

0 views collected around this technical thread.

Java Architect Essentials
Java Architect Essentials
Oct 18, 2022 · Fundamentals

Common Pitfalls When Using Java List Implementations and How to Avoid Them

This article systematically examines ten typical pitfalls encountered when converting arrays to lists, performing add/remove operations, using subList, handling memory consumption, and working with thread‑safe collections such as CopyOnWriteArrayList in Java, and provides concrete code‑level solutions and performance recommendations.

ArrayListConcurrencyJava
0 likes · 20 min read
Common Pitfalls When Using Java List Implementations and How to Avoid Them
Selected Java Interview Questions
Selected Java Interview Questions
Aug 18, 2020 · Backend Development

ArrayList vs LinkedList in Java: Implementation, Performance, and Usage

This article explains the internal workings of Java's ArrayList and LinkedList, covering their dynamic array and linked list structures, growth mechanisms, performance characteristics for random access, insertion, and deletion, and includes source code excerpts and visual diagrams to illustrate key differences.

ArrayListData StructuresJava
0 likes · 4 min read
ArrayList vs LinkedList in Java: Implementation, Performance, and Usage
Selected Java Interview Questions
Selected Java Interview Questions
Jul 26, 2020 · Fundamentals

Detailed Analysis of Java LinkedList Implementation (JDK 1.8)

This article provides a detailed examination of the JDK 1.8 LinkedList class, covering its internal fields, constructors, node structure, and core methods for adding, retrieving, and removing elements, while highlighting performance characteristics and differences from ArrayList.

CollectionsData StructuresJDK
0 likes · 15 min read
Detailed Analysis of Java LinkedList Implementation (JDK 1.8)
Selected Java Interview Questions
Selected Java Interview Questions
Nov 11, 2019 · Fundamentals

Performance Comparison of Java ArrayList and LinkedList

This article explains the differences between Java's ArrayList and LinkedList, detailing their internal implementations, performance characteristics for adding, inserting, deleting, and iterating elements, and provides code examples and benchmark results to guide when to choose each collection.

ArrayListData StructuresJava
0 likes · 11 min read
Performance Comparison of Java ArrayList and LinkedList
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Oct 14, 2019 · Fundamentals

Differences Between Java List Implementations: ArrayList, LinkedList, Vector, and Stack

This article provides a detailed comparison of Java's List interface implementations—ArrayList, LinkedList, Vector, and Stack—explaining their underlying data structures, key methods such as get, set, add, and remove, performance characteristics, thread safety, and appropriate usage scenarios.

ArrayListData StructuresJava
0 likes · 18 min read
Differences Between Java List Implementations: ArrayList, LinkedList, Vector, and Stack
Java Captain
Java Captain
Jan 28, 2019 · Fundamentals

Understanding ArrayList and LinkedList Internals During a Java Interview

The article recounts a Java interview where the interviewer explains the memory layout, random‑access capability, and time‑complexity differences between ArrayList (array‑based) and LinkedList (node‑based), using clear examples and code snippets to illustrate fundamental data‑structure concepts.

ArrayListData StructuresInterview
0 likes · 8 min read
Understanding ArrayList and LinkedList Internals During a Java Interview
Java Captain
Java Captain
Dec 31, 2018 · Fundamentals

Common Java Data Structures and Their Core Operations

This article systematically explains the most frequently used Java data structures—including LinkedList, ArrayList, Stack, Queue, HashMap, and LinkedHashMap—detailing their internal implementations, typical operations, performance characteristics, and providing illustrative code snippets and animations.

ArrayListData StructuresHashMap
0 likes · 8 min read
Common Java Data Structures and Their Core Operations
Java Captain
Java Captain
Jul 18, 2018 · Fundamentals

Understanding Java Collections: LinkedList, ArrayList, Stack, Queue, HashMap, and LinkedHashMap with Animations and Code Examples

This article systematically explains common Java collection classes—including LinkedList, ArrayList, Stack, Queue, HashMap, and LinkedHashMap—highlighting their internal structures, key operations, performance characteristics, and JDK 8 differences, and it provides animated illustrations and full code snippets for each concept.

ArrayListCollectionsData Structures
0 likes · 9 min read
Understanding Java Collections: LinkedList, ArrayList, Stack, Queue, HashMap, and LinkedHashMap with Animations and Code Examples
Java Captain
Java Captain
Jul 10, 2017 · Fundamentals

Understanding Java List Implementations: ArrayList, LinkedList, Vector, and Their Operations

This article explains the principles behind Java's mutable array implementations, details the characteristics and use‑cases of List, ArrayList, LinkedList, and Vector, and provides code examples for common operations such as adding, removing, setting, retrieving elements, and using iterators.

ArrayListCollectionsIterator
0 likes · 8 min read
Understanding Java List Implementations: ArrayList, LinkedList, Vector, and Their Operations