📌Javascript Solution✔️ | 81ms || Array methods
\nvar countTime = function(time) {\n    let [hours,minutes] = time.split(\':\');\n    let result = [];\n    if(hours == \'??\') result.push(24);\n    else{\n   
```\nvar countTime = function(time) {\n    let [hours,minutes] = time.split(\':\');\n    let result = [];\n    if(hours == \'??\') result.push(24);\n    else{\n        if(hours[0] == \'?\'){\n            hours[1]>3?result.push(2):result.push(3)\n        } \n        if(hours[1] == \'?\'){\n            hours[0]==2?result.push(4):result.push(10) \n        }   \n    }\n    if(minutes[0] == \'?\'){\n        result.push(6)\n    } \n    if(minutes[1] == \'?\'){\n        result.push(10) \n    }\n    return result.reduce((a,b)=>a*b,1);\n};\n```
['Greedy', 'JavaScript']