Tide interview question

Pretty standard scenario based questions