Tesla interview question

Related to my project work