Today I take a break from reading and tackle the simple problem of counting bits in Rust. This is my first Rust solution.
Today I’m looking at functions and loops. They are an important part of any language and deserve a closer look.
Today I take a look at cargo, Rust’s answer to npm and yarn. It’s a tool that makes a developer’s life that much easier.
I start a new journey using the rust programming language. Some initial thoughts and a hello world program.
A long time ago, some dude needed to send a letter to his lover but didn’t want the messenger to be reading it. After all, messengers were notorious gossips and if this particular messager knew what was in the letter then the whole of the city would have known by tea time. He couldn’t very […]
Today’s problem was especially difficult. Not because the problem was hard, the problem is a no-brainer. No, it was difficult because I decided to only work in Emacs for these challenges. I do not know the first thing about emacs. To make things even more interesting I also decided I would not be using the […]
Today we are given a string of characters, the task is to return the first non-repeating character in the string. For the purposes of repetition upper case and lower case characters are treated as the same character but the returned value must have the correct case. Example If there are no non-repeating characters, then return […]
In mathematics, a determinant is a special number that you can calculate for square matrices. It’s special because it is only nonzero if and only if the matrix is invertible and the linear map represented by the matrix is an isomorphism. That’s a lot of big words don’t you think? For today’s problem, we don’t […]
Today we have a quirky problem that requires knowledge of higher-order functions, recursion, and advanced language features. It’s an add function that returns an adder function. Add Function Problem The problem is to create a function that will add numbers together when called in succession. Example It should chain as many times as we want […]