package main import ( "fmt" "bufio" "os" "strings" "sort" ) func beatifulDegree(s string)int{ res := 0 var m = make(map[rune]int) var list = make([]int,0,len(s)) for _,c :=range s{ m[c] = strings.Count(s,string(c)) } for _,v := range m{...