Collections Framework
25 Topics•25 Completed•
100%
1
Collections Framework Overview
Introduction to Java Collections
Critical for interviews
2
Collection Interface
Root interface of collections
3
List Interface
Ordered collection
4
ArrayList
Dynamic array implementation
ArrayList vs LinkedList
5
LinkedList
Doubly-linked list implementation
6
Vector
Synchronized dynamic array
7
Stack
LIFO data structure
8
Set Interface
Collection of unique elements
9
HashSet
Hash table based set
Internal working is frequently asked
10
LinkedHashSet
Ordered hash set
11
TreeSet
Sorted set using Red-Black tree
12
Queue Interface
FIFO data structure
13
PriorityQueue
Heap-based priority queue
14
Deque Interface
Double-ended queue
15
ArrayDeque
Resizable array deque
16
Map Interface
Key-value pairs
17
HashMap
Hash table based map
Very important - internal working
18
LinkedHashMap
Ordered hash map
19
TreeMap
Sorted map using Red-Black tree
20
Hashtable
Synchronized hash map
21
Comparable Interface
Natural ordering
22
Comparator Interface
Custom ordering
Comparable vs Comparator
23
Iterator
Traversing collections
24
Collections Class
Utility methods for collections
25
Concurrent Collections
Thread-safe collections