Tesla Interview Question

Basic leetcode mediums and algorithm questions