Anakin interview question

1 graph question and 1 binary search question