LiveRamp Interview Question

Two proggramming problems