Robusta interview question

1- Ping pong question 2- binary search question 3- javascript syntax