Uber Interview Question

string manipulation