Simple Go Lang
IntuitionApproachComplexity
Time complexity:

Space complexity:
Code
# Intuition
<!-- Describe your first thoughts on how to solve this problem. -->

# Approach
<!-- Describe your approach to solving the problem. -->

# Complexity
- Time complexity:
<!-- Add your time complexity here, e.g. $$O(n)$$ -->

- Space complexity:
<!-- Add your space complexity here, e.g. $$O(n)$$ -->

# Code
```golang []
func countTime(time string) int {
    h1 := time[0]
    h2 := time[1]
    m1:=  time[3]
    m2:=  time[4]

    if h1!= '?' && h2!= '?' && m1!= '?' && m2!= '?' {
        return 1
    }   

    combinations := 1

    if m2 == '?' {
        combinations *= 10
    }

    if m1 == '?' {
        combinations *= 6
    }

    if h1 == '?' && h2 == '?' {
        return combinations * 24
    }else if h1 == '?' {
        if h2 > '3' {
            return combinations * 2
        }else{
            return combinations * 3
        }
    }else if h2 == '?' {
        if h1 == '0' || h1 == '1'  {
            return combinations * 10
        }else if h1 == '2'{
            return combinations * 4
        }
    }

    return combinations



}
```
['Go']