LeetCode
Detect Capital
Click
here
for an explanation.