Interview Question

Back-end Game Developer Interview

-Skopje

Nordeus

How to determine which button offers which drink from a vending machine, knowing that all the labels are mixed.

Tags:brain teaser
AnswerAdd Tags

Interview Answers

2 Answers

0

The first thing that came to mind was Bubble Sort, but other (and more efficient) sorting methods should work too.

Ana Teresa Campaniço on

0

First the questioned was not defined very well by the interviewer, second the way how the problem was declared did not cover all the possible cases!

Anonymous on

Add Answers or Comments

To comment on this, Sign In or Sign Up.