Pregunta de entrevista de Allegion

Write a program to find the Max time combination from the given integer