Skip to content

Latest commit

 

History

History
93 lines (66 loc) · 2.51 KB

File metadata and controls

93 lines (66 loc) · 2.51 KB

Java DSA (Data Structures & Algorithms) 📘

Welcome to Java DSA, a hands-on learning repository where I practice and explore core Java programming concepts, basic data structures, and algorithm exercises. This project focuses on building a strong foundation in Java before moving on to advanced DSA topics.

📍 Overview

This repository is created for beginners who want to:

  • Learn Java programming fundamentals
  • Practice logic building with loops, arrays, and methods
  • Understand 1D and 2D array operations
  • Prepare for data structures and algorithms interviews

📦 Java-dsa
├── 📂 01-Loops-variables-Simple
│ └── Basic Java programs covering loops, variables, and conditionals
├── 📂 02-Patterns
│ └── Pattern printing problems
├── 📂 03-Functions & Methods
│ └── Programs demonstrating functions and methods
├── 📂 04-Arrays
│ └── 1D and 2D array programs
├── 📂 05-Strings
│ └── String manipulation and related problems
├── 📂 06-Bit Manipulation
│ └── Bitwise operation problems
├── 📂 07-Sorting
│ └── Sorting algorithms and examples
├── 📂 08-Recurstion
│ └── Recurstion problems
└── 📜 README.md

🧠 Topics Covered

  1. Java basics (variables, conditionals, loops)
  2. Pattern printing
  3. Functions and methods
  4. Arrays
  5. 1D Arrays
  6. 2D Arrays (searching, row sum, transpose, etc.)
  7. String manipulation
  8. Bit manipulation techniques
  9. Sorting algorithms
  10. Core problem-solving concepts in Java

🚀 Getting Started

Prerequisites

Make sure you have the following installed:

  • Java Development Kit (JDK 8 or higher)
  • Any Java IDE (IntelliJ IDEA, Eclipse, VS Code)

How to Run

  1. Clone the repository:

    git clone https://github.com/ashtonds/Java-dsa.git
    
  2. Navigate to the project directory: cd Java-dsa

  3. Open the project in your preferred IDE.

  4. Compile and run any .java file.

💡 Purpose of This Repository

  • This repository is mainly for:
  • Daily Java practice
  • Improving logical thinking
  • Learning DSA step by step
  • Interview preparation basics

🤝 Contributing

Contributions are welcome! If you’d like to improve or extend this repository:

  • Fork the repository
  • Create a new branch
  • Commit your changes
  • Push to your branch
  • Open a Pull Request

📜 License

This project is open-source and available under the MIT License.