you give string time form hhmm digit string hide represent the valid time inclusively 0000 2359return late valid time time replace hide digit example 1input time 20output 2350explanation the late hour begin digit 2 23 late minute ending digit 0 50example 2input time 03output 0939example 3input time 122output 1922 Constraintstime format hhmmIt guarantee produce valid time give string