Bright Data interview question

Compare 2 strings character by character