Problem This is what I implemented in Rust to get the maximum number of consecutive 1s in list of binary […]

# Tag: rust

## Catty: A mini cat clone in Rust

Problem As part of my journey in learning the Rust programming language, I decided to make a miniature cat clone […]

## Convert string of hex into vector of bytes

Problem I want to write a function that gets a string of hex numbers (two hex numbers represent a u8 […]

## Getting the program’s first argument as a number

Problem I want to get the first argument as a number, if there is any. This does not feel quite […]

## Pig Latin translator with too many `push_str`s

Problem I’m learning Rust and one of the challenges in the book was to build a pig latin translator. Convert […]

## Base64 string ↔ float array

Problem I need to convert f32 arrays with a fix length to base64 representation and back. My current code looks […]

## Searching for an idiomatic Rust implementation of Minimum Edit Distance (LeetCode #72)

Problem I am solving LeetCode Dynamic Programming challenges (this one is #72, at https://leetcode.com/problems/edit-distance). Here below, I’ve implemented a Rust […]

## Compute Manhattan distance from origin given a set of left-right-step directions

Problem I am solving the problems for Advent of Code 2016 to learn Rust programming. The prompt for the first […]

## Convert hex to base64 (Cryptopals challenge 1)

Problem I’ve been spending some time learning Rust and I came across the Cryptopals Challenges. This is my implementation of […]

## Moving average in Rust

Problem I worked on implementing a simple moving average function in Rust, that works on a collection of year/revenue tuples: […]