You are viewing a single comment's thread. Return to all comments →
c++
int camelcase(string s) { int SIZE = s.size(); int letter_index = 90; int result =1; for (int i=0;i<SIZE;i++) { if (s[i] <= letter_index) { result++; } }return result; }
Seems like cookies are disabled on this browser, please enable them to open this website
I agree to HackerRank's Terms of Service and Privacy Policy.
CamelCase
You are viewing a single comment's thread. Return to all comments →
c++