This repository contains Java implementations of data structures and algorithms, along with common interview questions and solutions.
This project aims to provide a comprehensive collection of data structures and algorithms implemented in Java. It also includes solutions to common interview questions to help you prepare for technical interviews.
- Implementations of various data structures (e.g., arrays, linked lists, stacks, queues, trees, graphs)
- Algorithms for sorting, searching, and other common operations
- Solutions to common interview questions
- Well-documented code with explanations
To clone this repository, run the following command:
git clone https://github.com/kinuthia-lawrence/java-dsa-interview-questions.gitNavigate to the project directory and compile the Java files using your preferred IDE or the command line.
For example, to compile and run the EvenOddNumbers class:
cd java-dataStructures-interview-questions
javac src/com/larrykin/classwork/EvenOddNumbers.java
java -cp src com.larrykin.classwork.practice.EvenOddNumbersContributions are welcome! Please follow these steps to contribute:
- Fork the repository on GitHub.
- Create a new branch for your feature:
git checkout -b feature-branch
- Make your changes and commit them:
git commit -m "Add new feature" - Push to the branch:
git push origin feature-branch
- Create a pull request on GitHub.
This project is licensed under the MIT License. See the LICENSE file for details.