WeWork Interview Question

a technical coding question