Skip to content

Latest commit

 

History

History
69 lines (38 loc) · 1.59 KB

File metadata and controls

69 lines (38 loc) · 1.59 KB

Java Programming Basics 🚀

A collection of Java programs covering core concepts, data structures, algorithms, and problem-solving techniques. This repository is designed for beginners learning Java as well as anyone preparing for coding interviews.

📂 Repository Structure

The code is organized into folders based on topics:

basics/ → Core Java programs (syntax, variables, operators, loops, functions).

array/ → Array operations and related problems.

recursion/ → Recursion practice problems.

divideandconquer/ → Divide & Conquer algorithms.

sorting/ → Sorting techniques (Bubble, Selection, Merge, Quick, etc.).

backtracking/ → Backtracking problems (N-Queens, Sudoku, Rat in a Maze, etc.).

Additional standalone Java files (e.g., avg.java, javaBasics.java) demonstrate specific concepts.

🛠 How to Run

Clone the repository:

git clone https://github.com/Ms-Chakraborty/Java-programming-basics.git cd Java-programming-basics

Compile a program:

javac filename.java

Run the program:

java filename

(Make sure you have JDK installed. You can check with java -version.)

📖 Topics Covered

✔ Java basics (syntax, OOP, functions) ✔ Arrays & Strings ✔ Recursion ✔ Divide and Conquer ✔ Sorting Algorithms ✔ Backtracking ✔ Practice problems from coding interviews

🤝 Contributing

Contributions are welcome! 🎉 If you’d like to add new problems or improve existing solutions:

Fork the repo

Create a new branch (feature/your-feature)

Commit your changes

Open a Pull Request

⭐ Support

If you find this repository useful, please star ⭐ it to support the project!