4 Digit Code
You need to unlock a 4-digit code with no “enter” button. What is the minimum number of presses you need? In other words, you need to generate the shortest sequence of digits that contains all the 4-digits combinations.
You need to unlock a 4-digit code with no “enter” button. What is the minimum number of presses you need? In other words, you need to generate the shortest sequence of digits that contains all the 4-digits combinations.
Comments