Skip to content

HaithamAbuDraz/Data-Structures-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Data Structures in Java

πŸ“Œ Overview

This repository contains implementations of fundamental data structures in Java. Each data structure is implemented with efficiency in mind and includes explanations and example use cases.

🎯 Features

  • βœ… Well-structured and optimized Java implementations.
  • πŸ“š Covers essential data structures such as:
    • πŸ“Œ Arrays
    • πŸ”— Linked Lists (Singly, Doubly, Circular)
    • πŸ₯ž Stacks
    • 🏭 Queues (Simple, Circular, Priority)
    • πŸ”’ Hash Tables
    • 🌳 Trees (Binary, BST, AVL, Heap, Trie)
    • πŸ”— Graphs (Adjacency List/Matrix, BFS, DFS, Dijkstra, A*)
  • πŸ“Œ Each data structure includes:
    • πŸ›  Implementation
    • πŸ“ Explanation
    • πŸ” Example Usage
    • ⏳ Complexity Analysis

πŸ“₯ Installation

  1. Clone the repository:
    git clone https://github.com/HaithamAbuDraz/Data-Structures-Java.git
  2. Open the project in your preferred Java IDE.
  3. Compile and run the examples to explore different data structures.

πŸ“Œ Usage

Each data structure has its own package and class with detailed comments. You can navigate through the folders to find the required implementation.

Example usage for a Stack:

Stack<Integer> stack = new Stack<>();
stack.push(10);
stack.push(20);
System.out.println(stack.pop()); // Outputs: 20

🀝 Contributing

Contributions are welcome! Feel free to fork the repository and submit pull requests for improvements or additional data structures.

About

A complete collection of fundamental data structures, including arrays, linked lists, stacks, queues, trees, graphs, and hash tables. Each structure comes with implementations, explanations, and examples to enhance problem-solving skills in Java. πŸš€

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages