Jacobs interview question

Technical questions and just basic star