✔✔ O(1) || Simple and Easy Solution
\nvar countTime = function(time) {\n    let [hours,minutes] = time.split(\':\');\n    let mul = 1;\n    if(hours == \'??\') mul *= 24;\n    else{\n        if(ho
```\nvar countTime = function(time) {\n    let [hours,minutes] = time.split(\':\');\n    let mul = 1;\n    if(hours == \'??\') mul *= 24;\n    else{\n        if(hours[0] == \'?\') hours[1] > 3 ? mul *= 2 : mul *= 3; \n        if(hours[1] == \'?\') hours[0] == 2 ? mul *= 4 : mul *= 10;    \n    }\n    if(minutes[0] == \'?\') mul *= 6;\n    if(minutes[1] == \'?\') mul *= 10;\n    return mul;\n};\n```
['JavaScript']