This project contains simple examples of common data structures available in Java.
The goal of this repository is to practice how these structures work and how they are used in real Java applications.
- Java
- Java Collections Framework
- Dynamic array implementation
- Adding and accessing elements
- Iterating through lists
- Node-based list structure
- Efficient insertions and removals
- Comparison with ArrayList
- LIFO (Last In First Out)
- push()
- pop()
- peek()
- FIFO (First In First Out)
- offer()
- poll()
- peek()
- Key-value data structure
- put()
- get()
- remove()
- Iterating using keySet and entrySet
- Collection of unique elements
- add()
- remove()
- contains()