Google Interview Question

coding question LC (~ L R U]