Bright Data Interview Question

Compare 2 strings character by character