Scientific Games Interview Question

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

Interview Answer

Anonymous

Jun 30, 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