This project contains three examples written in the Go programming language.
-
sortByCharacterCount
- Sorts the given words in descending order based on the count of the letter "a."
- Usage:
sortByCharacterCount(words []string) []string
-
recursiveFunction
- Takes an integer as input, divides it by two at each step, and then prints the result.
- Usage:
recursiveFunction(n int)
-
findMostRepeated
- Finds the most repeated element and its count in a given array.
- Usage:
findMostRepeated(data []string) (string, int)
Clone the project to your local machine:
git clone https://github.com/omerkr0/go-learn.git