Skip to main content
All Questions

Put a plus or minus sign in front of each of sqrt(1), sqrt(2), ..., sqrt(50). How do you make the total as close to zero as possible, and roughly how small can it get?

Unlock detailed company stats for this questionUpgrade
Take the numbers sqrt(n) for n = 1, 2, ..., 50 and put a plus or minus sign in front of each. How should the signs be chosen to make the total as close to zero as possible, and roughly how small can it be made? An exact or rigorous answer is not required.

Community answers

No answers contributed by the community yet.

Related courses

Course

SQL Interview Prep Course

Prepare for SQL interviews with lessons on joins, aggregations, and window functions, then practice real SQL interview questions in an interactive editor with expert solutions.

Course

Data Science Interview Prep

Land your dream data science role at Google, Amazon, Microsoft, Meta, Apple, and other top companies. Learn from mock interviews, frameworks, and advice from senior candidates. Practice statistics, experimentation, coding, SQL, machine learning, behavioral interviews, and more.