MISC: Additional clarity in 'HammingCodes: Encoded Binary to Integer' (#1289)

Should have done this in PR #1244
This commit is contained in:
gmcew 2024-05-23 08:45:25 +01:00 committed by GitHub
parent fe14d4fef3
commit c82b2e15a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1328,6 +1328,7 @@ export const codingContractTypesMetadata: ICodingContractTypeMetadata[] = [
"You are given the following encoded binary string: \n",
`'${n}' \n\n`,
"Decode it as an 'extended Hamming code' and convert it to a decimal value.\n",
"The binary string may include leading zeroes.\n",
"Parity bits are inserted at positions 0 and 2^N.\n",
"Parity bits are used to make the total number of '1' bits in a given set of data even.\n",
"The parity bit at position 0 considers all bits including parity bits.\n",