 Number of Valid Clock Times
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 []
import "fmt"
import "strings"
import "strconv"

func countTime(time string) int {
    fmt.Println("Hello")

    num := 1

    str := strings.Split(time, "")

    

    if str[0] == "?" {

          if str[1] == "?" {
            num = 24

          }else{

            second, _ := strconv.Atoi(str[1])

             if second >=4 {
               num = 2    

             }else{
                num = 3
             }  
          }

    }else {

        if str[1] == "?" {
            first, _ := strconv.Atoi(str[0])

            if first < 2 {
               num = 10    
             }else{
                num = 4
             }  

          }else{
                
            num = 1
          }

    }

    if str[3] == "?" {

     if num > 1 {
        num = num * 6
     }else{
         num =6
     }    

    }


    if str[4] =="?" {

        if num > 1 {
            num = num * 10
        }else{
            num =10
        }   

    }
    
  return num  
}
```
['Go']