Some error occured while loading page for you. Please try again.
Alice wrote a sequence of words in CamelCase as a string of letters, , having the following properties:
Given , print the number of words in on a new line.
For example, . There are words in the string.
Complete the camelcase function in the editor below. It must return the integer number of words in the input string.
camelcase has the following parameter(s):
A single line containing string .
Print the number of words in string .
String contains five words:
Thus, we print on a new line.
Need help? Try this problem first to get familiar with HackerRank environment.