TheAlgorithms/Rust
View on GitHub ↗ ★ 26,154 Rust
All Algorithms implemented in Rust
6 mentions on Hacker News by 6 people: 3 stories, 3 comments · first 2022-03-01 · latest 2024-01-07
20082026
-
That's surprising. Anyway check these out: * https://github.com/EbTech/rust-algorithms * https://github.com/TheAlgorithms/Rust
comment by asicsp · 2023-04-08 · in JavaScript-algorithms: Algorithms and data structures implemented in JavaScript -
First one I checked was `two_sum.rs` and it uses a `HashMap`: https://github.com/TheAlgorithms/Rust/blob/master/src/genera... Surely the best way is to sort the numbers and then walk from both ends? Nice work anyway!
comment by IshKebab · 2022-08-22 · in All Algorithms Implemented in Rust -
> and, most importantly, safe https://github.com/TheAlgorithms/Rust/search?q=unsafe Almost there...
comment by klyrs · 2022-08-21 · in All Algorithms Implemented in Rust