Uber Interview Question

Simple but unclear question in parsing.