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: πŸ¦€ πŸ’ͺ

Β· Web Β· 0 Β· 0 Β· 0
Sign in to participate in the conversation

Welcome to, an instance of the free, open source, and decentralized microblogging network Mastodon.