Java-Course-for-Placement
A collection of Java programs covering DSA, algorithms, and LeetCode solutions for placement preparation.
- 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
- Language: Java
- IDE: Any Java-compatible IDE (IntelliJ IDEA / VS Code / Eclipse)
- JDK: 8+
# 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 FileNameThis repository documents my Java learning journey β from basics to advanced DSA β focused on placement and interview preparation.
Feel free to open issues or PRs for improvements or additional solutions.
This project is open-source and available under the MIT License.