Problem 45245. String count

given a string 'str', count the number of the followings -

  • letters
  • digits
  • white space
  • capital letters
  • small letters
  • punctuation marks

output should be an array y containing the numbers in the same order.

Solution Stats

31.82% Correct | 68.18% Incorrect
Last Solution submitted on Apr 15, 2020

Problem Comments

Problem Recent Solvers6

Suggested Problems

More from this Author145

Problem Tags