Kids.Net.Au - Search engine for kids,
teachers, parents, children and schools

Search the Internet for Kids!
Google
 
Web Kids.Net.Au
Sign Up for our Cool Newsletter!
Email:
Web Sites Encyclopedia Dictionary Thesaurus
Search
Google
 
Web
Kids.Net.Au
Encyclopedia
 
Sponsors
 
Encyclopedia > Prefix code

Article Content

Prefix code

A prefix code, also called a comma-free code, is a code consisting of strings so that for any given string in the code, there is no shorter string in the code that is an initial substring of that string.

This means that when strings from the code are put together, you don't need any separators, since it's known when a string ends.

Examples of where prefix codes are used are Huffman coding and Country calling codes.



All Wikipedia text is available under the terms of the GNU Free Documentation License

Link to Kids.Net.Au | About Us | Submit a question, comment or suggestion

Kids.Net.Au - kids safe portal for children, parents, schools and teachers.