So for example, I have an array containing 52 shuffled integers between 0 and 52 - no repeated values.
How can I encode this array according to an algorithm such that it can be represented as less numbers, and then decode and again to reproduce the original values?
I was thinking I could create a big binary String and group grouping of 0's or 1's together as characters, and expand on that. Would that be the way to go? Thanks