Could someone please help me out with this? I've been at it all night and my brain refuses to work. Basically, the input arguments are the arrays [A, B, C, D, E, F] and input. When I input C, I want the pointer to return C. Likewise for CD and CDE, but inputting Z or CDA will return NULL.
EDIT: I got it! Not sure what I did though...