I was completely prepared for LeetCode to laugh at my garbage solution, but they're telling me literally no one has done it better in terms of time or space efficiency.
My guess is a real live code review would come to a different conclusion. 😂
#Rust 🦀 💪
My number guessing game was straightforward (there is an example in The Book). I went on and wrote an algorithm to find a Fibonacci number (with tests).
I’d like to implement a few more common data structures and algorithms this week.
Software developer. No tribe. Be free!
Welcome to charmed.social, an instance of the free, open source, and decentralized microblogging network Mastodon.