Morgan Stanley interview question

- Code binary search - global vs local variables in Python