Lucid Motors interview question

Basic programming questions and then research part