• + 0 comments

    Golang:

    func camelcase(s string) int32 {
        // Write your code here
        
        var count  int32
        for _, r := range s{
            if unicode.IsUpper(r){
                count ++
            }        
        }
        return count+1
    }