Compute Roller Coaster Scores | Zoox Interview Question