Ad
  • Custom User Avatar

    Here, + refers to tooth since the question assumes ends of every comb are guaranteed to be a tooth.

    comb1's last 4 characters "..++" can align with the beginning of comb2's 4 characters "++.."
    comb1 and comb2's lengths add up to 16, which if you deduct the 4 units overlap amounts to 12