Lyft Interview Question

1 python question dictionary problem 2 SQL