Creating custom encoding schemes is a classic milestone in computer science. In the CodeHS exercise 8.3.8: Create Your Own Encoding, you transition from using standard systems like ASCII to building a personalized logic for data representation.
: You should use the fewest number of bits possible to represent all 27 required characters. (too few) and (enough), a 5-bit encoding is the most efficient solution. Example 5-Bit Encoding Scheme 83 8 create your own encoding codehs answers
While swapping "a" for "4" seems simple, this is the same logic used in: Creating custom encoding schemes is a classic milestone
In this exercise, we'll dive into the world of encoding and create our own simple encoding scheme. This project is inspired by the popular CodeHS activity "83 8 Create Your Own Encoding." (too few) and (enough), a 5-bit encoding is
Minimum Bits: You must use the fewest number of bits possible to represent all characters.
var myMap = {};
myMap['a'] = 'yourSymbol1';
myMap['b'] = 'yourSymbol2';