Given list of strings implement a recursive function which will capitalize first letter of each string in the list.
Challenge | Solution |
capitalizeFirst(listOf("igor")) // listOf("Igor")
capitalizeFirst(listOf("igor", "wojda")) // listOf("Igor", "Wojda")