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

25.0% Correct | 75.0% Incorrect
Last Solution submitted on Dec 31, 2019

Problem Comments

Problem Recent Solvers5

Suggested Problems

More from this Author111

Problem Tags