Skip to content

Latest commit

Β 

History

History
50 lines (34 loc) Β· 1.77 KB

File metadata and controls

50 lines (34 loc) Β· 1.77 KB

Java-Course-for-Placement

A collection of Java programs covering DSA, algorithms, and LeetCode solutions for placement preparation.

πŸ“‚ Topics Covered

  • Arrays & Sorting – Bubble Sort, Insertion Sort, Quick Sort, Counting Sort, Merge Sorted Array, Spiral Matrix, Diagonal Sum, Trapping Rain Water
  • Searching – Binary Search, Linear Search, Search in Sorted Matrix, First & Last Position
  • Recursion – Factorial, Fibonacci, Tower of Hanoi, N-Queens, Maze Paths, Keypad Combinations, Subsets, Subsequences, Unique Subsequences
  • Strings – Palindrome, String Compression, Reverse String, Valid Anagram, Length of String, Number to Words
  • Linked Lists – Remove Nth Node, Swap Nodes in Pairs
  • Bit Manipulation – Single Number II & III, Divide Two Integers, Add Binary, Find the Difference
  • Backtracking – Combination Sum, N-Queens
  • LeetCode Problems – 19, 29, 66, 67, 88, 389, 643, 1689, and more
  • Networking Simulations – ARP/RARP Simulation, Stop-and-Wait ARQ Protocol
  • OOP Concepts – Customer/Product (Association), Student Result

πŸ› οΈ Tech Stack

  • Language: Java
  • IDE: Any Java-compatible IDE (IntelliJ IDEA / VS Code / Eclipse)
  • JDK: 8+

πŸš€ How to Run

# Clone the repo
git clone https://github.com/prashantpiyush1111/Java-Course-for-Placement.git

# Navigate to directory
cd Java-Course-for-Placement

# Compile any file
javac FileName.java

# Run
java FileName

πŸ“Œ Purpose

This repository documents my Java learning journey β€” from basics to advanced DSA β€” focused on placement and interview preparation.

🀝 Contributing

Feel free to open issues or PRs for improvements or additional solutions.

πŸ“„ License

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