Problem 2469. Cat, Meowcat and Concatenation

Input is a cell array containing several strings. Find the largest continuous sub-string common to all strings. All strings are in lower case and unique answer exists.
in = {'cat','meowcat','concatenation'};
out = 'cat';

Solution Stats

49.11% Correct | 50.89% Incorrect
Last Solution submitted on Apr 16, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers40

Suggested Problems

More from this Author44

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!