@matrix hi i've just used your algo to create a O(1) algo that is 100% accurate but only works for the first 99999 positive integers,
I've got a tab open for this in codewars rn 😳
Sign in to participate in the conversation
Game Liberty Mastodon

Mainly gaming/nerd instance for people who value free speech. Everyone is welcome.