Algorithms Interview Questions

983 algorithms interview questions shared by candidates

There are 100 boxes with gifts. Every gift in each box have different values. Every time you can open one box and know the value of the gift in it. You can choose continue or stop. If you stop, this gift will belong to you, but if you continue, this gift will disappear. Design a strategy to make sure you are likely to get the gift with highest value.
avatar

Algorithm Engineer

Interviewed at Alibaba Group

3.7
Jun 1, 2017

There are 100 boxes with gifts. Every gift in each box have different values. Every time you can open one box and know the value of the gift in it. You can choose continue or stop. If you stop, this gift will belong to you, but if you continue, this gift will disappear. Design a strategy to make sure you are likely to get the gift with highest value.

Viewing 871 - 880 interview questions

Glassdoor has 983 interview questions and reports from Algorithms interviews. Prepare for your interview. Get hired. Love your job.