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!