4 ms·How to encode two integers into a single integer1 points by helloiloveyou 6y agobillsimms 6y agoAlternate the digits, or the bits, of the two numbers and prepend 0's onto the shorter number if needed. Accomplishes this in 2n digits or bits instead of 2^n.