problem-specifications
problem-specifications copied to clipboard
Variable Length Quantity could do with a more detailed example table
I think the example table with only hexadecimal input and output values can be a little confusing.
On the wikipedia VLQ page, the array details the binary input, the binary output and the hexadecimal output to make the conversion clearer.
Shouldn't the exercise page also specify these steps? I would suggest adding columns to the table and putting them in the following order:
hexadecimal input | binary input | binary output | hexadecimal output
and emphasize the n°7 bit of each output byte (which is set to 0 in the last byte and set to 1 in the preceding bytes) by making it bold.