Algorithm · Google · Easy
You receive a sequence of two-digit integers. Treat two values as connected when they have at least one digit in common; for instance, 46 and 68 are connected because each includes 6. Find the largest number of list entries that can all be associated through one shared digit. Example The digit 4 occurs in 47, 24, and 43, so three values share that digit.
Checking your access…