Find largest group of two-digit numbers sharing digits | Google Interview Question