T-Mobile interview question

star method..(google)