Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Kranar
on Dec 7, 2022
|
parent
|
context
|
favorite
| on:
Ask HN: What is your go to idiot-filter question i...
I mean that could satisfy the interviewer, but for me if I asked that question, I'd want an answer that protected against overflow and unfortunately the naive solution is prone to overflow.
whatshisface
on Dec 7, 2022
[–]
That could turn in to a very complex question in that case because dividing too many separate sums before adding would introduce rounding error.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: