Beeline interview question

Nothing very difficult. All the basic stuff.