LeetCode 800: Similar RGB Color
A clear explanation of finding the closest shorthand RGB color by rounding each color channel to the nearest repeated hexadecimal pair.
2 notes
A clear explanation of finding the closest shorthand RGB color by rounding each color channel to the nearest repeated hexadecimal pair.
A clear explanation of converting integers to hexadecimal using bit manipulation and two's complement representation.