Sobes.tech
Middle+

// Un array de numere nenegative fără elemente repetate. // Trebuie convertit într-un șir de caractere, unind numerele consecutive în intervale. // // Exemplu: [1, 4, 5, 2, 3, 9, 8, 11, 0, 13] -> "0-5,8-9,11,13" func listToRanges(items []int) string { // TODO: implementează return "" }