Domanda di colloquio di Scientific Games

Q: Can you write simple/pseudo-code to execute a binary search?

Risposta di colloquio

Anonimo

30 giu 2015

I was a little unsure about exactly what they wanted me to do (I immediately thought of searching through a binary tree), but then I ended up writing a messy code that may or may not have worked. The proceeding question made it clear that they intended for me to write a recursive function.

1