In a certain code language, ‘BRAK’ is coded as ‘4938’ and ‘ARCK’ is coded as ‘2849’ What is the code for ‘C’ in the given code language?
2
The two words share the letters A, R and K, while BRAK has the extra letter B and ARCK has the extra letter C.
BRAK uses the digits {4, 9, 3, 8} and ARCK uses the digits {2, 8, 4, 9}.
The digits common to both sets are 4, 9 and 8, which correspond to the shared letters A, R and K.
The digit appearing only in BRAK is 3, so B is coded as 3; the digit appearing only in ARCK is 2, so C is coded as 2.
Hence, the code for C is 2.