9.2 Encoding Data Flashcards
1
Q
What is a paring function
A
Maps pairs of natural numbers to a unique natural number
2
Q
What are the 2 functions used for pairing and splitting
A
3
Q
How to encode a list using pairing function
A
Recursively pair items