Skip to content

About

Java DSA practice repository featuring fundamental searching algorithms with clean implementations, aimed at beginners and students preparing for exams and interviews.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Repository files navigation

Java DSA Questions

A beginner-friendly repository containing basic Data Structures and Algorithms (DSA) implementations in Java. This repo currently includes simple searching algorithms and will be expanded with more DSA concepts.


📌 Contents

  • Linear Search
  • Binary Search
  • Bubble Sort
  • Selection Sort
  • Insertation Sort

🔍 Algorithms Included

1. Linear Search

  • Searches elements sequentially
  • Works on both sorted and unsorted arrays
  • Time Complexity: O(n)

2. Binary Search

  • Works only on sorted arrays
  • Divides search space into halves
  • Time Complexity: O(log n)

🛠️ Technologies Used

  • Java
  • VS Code / IntelliJ IDEA

▶️ How to Run

  1. Clone the repository:

    git clone https://github.com/codew1thsumit/Java-DSA-Questions.git
  2. Navigate to the folder:

    cd Java-DSA-Questions
  3. Compile the program:

    javac FileName.java
  4. Run the program:

    java FileName

📂 File Structure

│── LinearSearch.java
│── BinarySearch.java
│── README.md

🎯 Purpose

  • Practice DSA basics
  • Understand searching algorithms
  • Prepare for exams and coding interviews

🚀 Future Updates

  • Sorting Algorithms (Bubble, Selection, Insertion)
  • Recursion
  • Arrays & Strings problems
  • Stack & Queue
  • Linked List

👤 Author

Sumit Bhaya GitHub: codew1thsumit


⭐ Support

If you find this helpful, consider giving this repo a ⭐

About

Java DSA practice repository featuring fundamental searching algorithms with clean implementations, aimed at beginners and students preparing for exams and interviews.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages