Checkr Interview Question

Compare a given name to an array of names