Skip to content

chadwpry/algorithm-practices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algorithm-practice

This repository has been created using the programming language Go. Its goal is to help in practicing algorithm skills. It includes algorithm tests that can be run directly via Makefile actions. How the algorithms are implemented is up to you.

Enjoy!

Leetcode

Run leetcode tests for for sorts algorithm practices.

Practice Test Command
Reverse Integer make test-leetcode-00007
Rotate Image make test-leetcode-00048
Gas Station make test-leetcode-00134
Candy make test-leetcode-00135
Perfect Squares make test-leetcode-00279
Wiggle Subsequence make test-leetcode-00376
Remove K Digits make test-leetcode-00402
Can Place Flowers make test-leetcode-00605

Reverse

Run tests for reverse algorithm practices.

Practice Test Command
Reverse String make test-reverse-string

Sorts

Run all or individual tests for sort algorithm practices.

make test-sorts
Practice Test Command
Countingsort make test-countsorting
Heapsort make test-heapsort
Insertionsort make test-insertionsort
Mergesort make test-mergesort
Quicksort make test-quicksort

Stack

Run tests for stack algorithm practices.

Practice Test Command
Stack make test-stack

Expected setup

This repository is written in Go, so it includes a go.mod locking the version to 1.22.3. A Makefile is also used, so installing a version of make will be necessary as well.

About

List of sorting algorithms with simple test in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published