Problem 42716. Number of occurrences of letter in a text

Given an input text either as a string or as a cell array of strings, return a (1 x 26) matrix containing the number of occurrences of every letter ('a' to 'z'). The counting should be case insensitive, e.g. no difference between 'a' and 'A' should be made.

Solution Stats

44.23% Correct | 55.77% Incorrect
Last Solution submitted on May 19, 2020

Problem Comments

Problem Recent Solvers30

Suggested Problems

More from this Author2