I am trying to write a function to encode and decode an undirected graph in the format stated.
I understand the format encodes numerical values as readable characters. I read the description here.
I need a simple example that can be done manually at first.
For example steps required to encode and decode a complete graph on 4 vertices, labelled 0 to 3.
The edge list in this case (0,1) (0,2) (0,3) (1,0) (1,2) (1,3) (2,0) (2,1) (2,3) (3,0) (3,1) (3,2)