8000 GitHub - sriyanshsrivastava/java-dsa-practice: Practice repository for learning and implementing Data Structures and Algorithms in Java.
[go: up one dir, main page]

Skip to content
8000

sriyanshsrivastava/java-dsa-practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

47 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

DSA Java Practice

This repository contains structured Java implementations of Data Structures and Algorithms (DSA) using IntelliJ IDEA. It is organized by topic, with each topic in its own package and problems implemented as individual classes.


πŸ“ Project Structure

src/
└── dsa/
    β”œβ”€β”€ arrays/
    β”œβ”€β”€ linkedlist/
    β”œβ”€β”€ stack/
    β”œβ”€β”€ queue/
    β”œβ”€β”€ recursion/
    β”œβ”€β”€ sorting/
    β”œβ”€β”€ tree/
    └── Main.java

Each topic contains:

  • Well-commented Java implementations
  • Testable main methods
  • Code written for clarity and reusability

πŸš€ How to Run

  1. Clone the repository:

    git clone git@github.com:yourusername/dsa-java-practice.git
  2. Open in IntelliJ:

    • Select: File > Open > dsa-java-practice
    • Ensure Java SDK is set correctly
    • Run Main.java or any specific problem class

πŸ“š Topics Covered

  • βœ… Arrays
  • βœ… Linked Lists
  • βœ… Stack and Queue
  • βœ… Recursion
  • βœ… Sorting Algorithms
  • βœ… Trees (Binary, BST, etc.)
  • πŸ”œ Graphs, Tries, Heaps (coming soon)

πŸ’‘ Purpose

This repository is maintained to:

  • Reinforce DSA fundamentals
  • Practice clean and modular Java coding
  • Version control across multiple devices

πŸ› οΈ Tools Used

  • Java (JDK 17+)
  • IntelliJ IDEA
  • Git & GitHub

πŸ“Œ Notes

  • Each class contains a main() method with sample usage or test cases.
  • .gitignore excludes build files, IDE configs, and logs for a clean repository.

🧠 Contributing

This is a personal learning repo, but feel free to fork and use for your own practice.


πŸ“„ License

This project is open-sourced and free to use under the MIT License.

About

Practice repository for learning and implementing Data Structures and Algorithms in Java.

Topics

Resources

Stars

Watchers

Forks

Languages

0