Problem 50948. Identify prime words
Solution Stats
Problem Comments
-
2 Comments
William
on 14 Mar 2021
Chris,
In test suite problem 25, there seems to be an issue with the question mark after 'Africa'. The word Africa itself is a prime word, but the solution marks it as non-prime. Since the question mark is usually considered punctuation, I treated it as a space.
ChrisR
on 14 Mar 2021
Thanks William. I fixed the test (and my own code).
Problem Recent Solvers12
Suggested Problems
-
Return a list sorted by number of occurrences
2080 Solvers
-
148 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
339 Solvers
-
Sum the entries of each column of a matrix which satisfy a logical condition.
151 Solvers
-
Create a vector whose elements depend on the previous element
534 Solvers
More from this Author185
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!