Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lbwa/algorithms

Algorithm fundamentals implemented by JavaScript(TypeScript), @golang, @rust-lang.
https://github.com/lbwa/algorithms

algorithms algorithms-implemented data-structures go golang heap javascript linked-list queue searching-algorithms sorting-algorithms stack typescript

Last synced: about 2 months ago
JSON representation

Algorithm fundamentals implemented by JavaScript(TypeScript), @golang, @rust-lang.

Awesome Lists containing this project

README

        

Algorithms

[![test cases](https://github.com/lbwa/algorithms/actions/workflows/rust.yml/badge.svg)](https://github.com/lbwa/algorithms/actions/workflows/rust.yml)

Basic algorithms implementations, written by `TypeScript`, `Golang`, `Rust`.

## Test

- TypeScript

```bash
# using pnpm
pnpm t

# Specific test
pnpm t
```

- Golang

```bash
go test ./...
```

```bash
go test ./
# eg, go test ./traversal
# go test ./sorts
```

- Rust

```bash
cargo t
```

## Further readings

- [Algorithms, 4th edition](https://algs4.cs.princeton.edu)
- [Introduction to Algorithms, 4th edition](https://a.co/d/hlWQ1Hc)
- [toptal.com - sorting algorithms](https://www.toptal.com/developers/sorting-algorithms)
- [algorithm-visualizer.org](https://algorithm-visualizer.org)