Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

NotificationsYou must be signed in to change notification settings

sriyanshsrivastava/java-dsa-practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 

Repository files navigation

This repository contains structured Java implementations ofData 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
    • RunMain.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 amain() 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 theMIT License.

About

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

Topics

Resources

Stars

Watchers

Forks

Languages


[8]ページ先頭

©2009-2025 Movatter.jp