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

Awesome but seem to fail on some numbers e.g.

https://api.isfizzbuzz.xyz/api/15000000000000000000000000000...

BTW, there are neat divisibility rules which can give you the answer in practically linear time when the number is in decimal: https://en.wikipedia.org/wiki/Divisibility_rule



Clever! I found another simple alternative though.




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

Search: