A DSA repository but everything is in Go. Leave a star🌟if you love Go and like this repository.💫
Reimplementation of this DSA repo by thisisshub with some tweaks, and new implementation for others :)
- Why in Go? Why not in Python/C/C++ etc?
As for C/C++, you can, you probably should! But when the focus is learning DSA, C/C++'s complexity can become a barrier. As for Python, it's already done by thisisshub.
Then why Go? One reason is for pure performance comparable to C, combined with the simplicity and ease like python.😎
- How do I use it?
Go through them one by one, and reimplement in your favourite language.
Install Go for your relevant platform. If you are using editors or IDEs it's fairly easy to play through them, otherwise you can run these commands:
-
Running all tests
go test ./...
-
Running all benchmark
go test ./... -bench ./...
-
Benchmarking a package, go into that package and,
go test -bench .
-
Testing a package, go into that package and
go test .
Created By Anurag Dhadse