Leetcode 2238. Number of Times a Driver Was a Passenger | Hello Interview