Ubisoft
3.4 of 5 230 reviews
www.ubisoftgroup.com Rennes, France 5000+ Employees

Ubisoft Junior Software Developer Interview Question

"Given numbers 1 to 100 in an array a random number was replaced with 0. Find the which number it was in constant time (100)."
Add Tags [?]
Answer Flag Question

Part of a Junior Software Developer Interview Review - one of 48 Ubisoft Interview Reviews

Answers & Comments

0
of 3
votes
easy
add all elements of array and store in a variable n
sum(100)-n is the answer
- ABHINAV on Feb 10, 2013 Flag Response

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.

Glassdoor is your free inside look at Ubisoft interview questions and advice. All interview reviews posted anonymously by Ubisoft employees and interview candidates.