Skip to content

kamakshipal1-tech/Java-projects

Repository files navigation

Java Data Structures & Algorithms (DSA)

This repository contains my handwritten-to-code Java implementations of various
Data Structures and Algorithms such as Sorting, Recursion, Linked Lists, Trees, Queues,
and more. I created this repo to track my learning progress and to get feedback
from the community.


📌 Purpose of This Repository

  • To share my Java DSA practice code with others
  • To improve code readability and coding style
  • To learn better ways to structure Java programs
  • To encourage collaborative learning and clean coding habits

🤝 How You Can Contribute

I would love contributions from other developers and learners!

✔ You can contribute by:

  • Adding comments to the code to improve readability
  • Suggesting better logic or optimized approaches
  • Improving variable names, formatting, or structure
  • Creating pull requests with improvements
  • Opening issues if you find bugs or want new features added

Feel free to review the code and leave your suggestions.
Even simple comments explaining logic are appreciated!


📂 What’s Inside

The repository currently contains Java implementations of:

🔹 Sorting Algorithms

  • Bubble Sort
  • Selection Sort
  • Insertion Sort
  • Quick Sort
  • Merge Sort

🔹 Recursion

  • Print numbers
  • Power function
  • String reversal
  • Tower of Hanoi
  • Tiling problem

🔹 Linked List

  • Iterative & Recursive Reversal

🔹 Trees

  • Count nodes
  • Height of tree
  • Diameter of tree

🔹 Queues

  • Linear Queue (Array)
  • Circular Queue (Array)

🧠 Why I Want Comments

I am learning how to write more readable and maintainable Java code.
Your comments will help me:

  • Understand how to structure code better
  • Learn best practices
  • Improve clarity for future readers
  • Become a better programmer overall

📬 Contact / Contribution

If you improve any part of the code:

  1. Fork the repo
  2. Commit your changes
  3. Create a Pull Request
  4. Add explanation of what you improved

I will review and merge your contribution!


⭐ If you find this repository helpful, please give it a star!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published