3 ms·
After reading this last night, I got a little excited about doing something I've never done: a palindrome function in Rust only using Iterators, https://news.yc
by bluejekyll 10y ago
After reading this last night, I got a little excited about doing something I've never done: a palindrome function in Rust only using Iterators, https://news.ycombinator.com/item?id=11805296 https://news.ycombinator.com/item?id=11805296
Straight link to code as well: https://github.com/bluejekyll/palindrome-rs/blob/master/src/lib.rs https://github.com/bluejekyll/palindrome-rs/blob/master/src/...
It was fun because I realized I have a different option than stacks and arrays to solve this problem now.