code4all


Square root via binary search

TFiDF

Term Frequency - Inverse Document Frequency

LRU cache

For interview prep, why else?

Minimax

Implemented for any board game via generics

ISO 8601 Date string formatting

Map numbers from one range to another

Realtime messages over WebSockets

Binary search

For interview prep, why else?

Nesterov gradient descent

For Stanford AA222

Recursive backtracking

Fun

Mergesort

A cute implementation

Traveling sales-person problem (TSP)

pip install gt-tsp

Trim whitespace from either end

ChatGPT generated this font face

Pretty darn good

simple javascript canvas draw frame function