Uber Interview Question

Parsing incoming data in Cpp