/java-algorithms

Algorithms, data structures and design patterns implemented in Java with references for better understanding

Primary LanguageJava

Java Algorithms, Data Structures and Design Patterns

Algorithms, data structures and Design Patterns implemented in Java with explanations and links to further readings included in the Wiki Pages for this project

This repository contains Java based examples of many popular algorithms, data structures and design patterns.

Each algorithm, data structure and data structures has its own separate README with related explanations and links for further reading (including ones to YouTube videos).

How to use this repository

Install all dependencies

//TODO
npm install

Run CheckStyle

You may want to run it to check code quality.

//TODO
npm run lint

Run all tests

//TODO
npm test

Run tests by name

//TODO
npm test -- 'LinkedList'

Playground

You may play with data-structures and algorithms in ./src/playground/Playground.java file and write tests for it in ./src/playground/test/PlaygroundTest.java.

Then just simply run the following command to test if your playground code works as expected:

//TODO
npm test -- 'playground'

Useful Information

References

▶ Data Structures and Algorithms on YouTube