Pergunta de entrevista da empresa Tyler Technologies

For the game you are given source code and provided with 2 other player algorithms, one is an algorithm to find the closest points/prizes and the second is to find the largest points/prizes. They said they like to do this because the algorithm you pick is open ended, which is not actually true because the easiest algorithm to use would be a weighted average approach to finding the points/prizes. There were also one followup question about changing the "rules" of the game and how it would affect the algorithms.

Resposta da entrevista

Sigiloso

14 de set. de 2015

For whatever reason I was not able to think of using the weighted average approach at the time (it seems so simple and obvious now) and went a different, less effective approach.