3 ms· idiomatic solution to this simple problem in your favorite language?1 points by sdegutis 13y ago