Sobes.tech
Junior — Senior

Converting an integer to a string representation

livecode

Task condition

Implement a function that converts an integer value (int) to its decimal string form (string). You are not allowed to use built-in conversion functions such as strconv.Itoa, fmt.Sprintf, or similar. Additionally, the use of strings.Builder is also prohibited. Example: 123 → "123"

func intToString(n int) string {
    // implement
}