Work in HR or Recruiting?
Yahoo
www.yahoo.com Sunnyvale, CA 5000+ Employees

335 interview experiences Back to all Yahoo Interview Questions & Reviews

Interview Question for Senior Software Engineer at Yahoo:
Feb 14, 2013

how to add all the numbers from 1 to N


Add Tags [?]

See more for this Yahoo Senior Software Engineer Interview

Helpful Question?  
Yes | No
Inappropriate?

Answers & Comments (1)

Mar 10, 2013

by Kekeli:

the result is N*(N+1)/2
if you have to prove it, use induction
Helpful Answer?  
Yes | No
Inappropriate?

To comment on this question, Sign In with Facebook or Sign Up

Tags are like keywords that help categorize interview questions that have something in common.