Skip to content

This repository contains the basics of Java required as a prerequisite for DSA.

License

Notifications You must be signed in to change notification settings

PriyanshiNegi01/Java-Basics-for-DSA

Repository files navigation

Java Basics for DSA

Welcome to my personal repository for Java basics practice codes! ✨ This repository contains a collection of coding exercises and projects that I've been working on to improve my coding skills and explore various programming concepts. Feel free to explore the code and use it as a reference or inspiration for your own learning journey.

The topics covered are:

  1. Introduction to Programming and Java
  2. Input, Output and Datatypes
  3. Conditionals and Loops
  4. Switch
  5. Functions (Methods) in Java
  • Strings
  • Patterns

NOTE: All the folders in the repository are projects in 'com.priyanshi' package of src directory.

Sequence for DSA in Java

  1. Java - Basics (1-5)
  2. DSA - Arrays
  3. Java - Basics (Strings)
  4. Java - Basics (Patterns)
  5. Java - Recursion (Introduction to Recursion, Time & Space Complexity, Maths for DSA, Recursion Questions)
  6. Java - OOPS
  7. Linked List

Contributing

I'm open to contributions! If you'd like to suggest improvements, fix issues, or add your own practice codes, please follow these steps:

  1. Fork this repository to your own GitHub account.
  2. Create a new branch with a descriptive name for your contribution. For example: git checkout -b feature/new-feature
  3. Make your changes, commit them, and push to your forked repository.
  4. Open a pull request, explaining the changes you've made and the purpose of your contribution.

License

This repository is licensed under the MIT License. Feel free to use the code for your own educational purposes. Please refer to the license file for more information.