Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yup, that works, but there's an even "more interesting" way if you're in FizzBuzz number range

Reduce the number using string replacements based on patterns (for example, all digit pairs that sum to 0 mod 3 can be removed). The order of the digits doesn't matter.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: