Cody

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.

Example:

in = {'cat','meowcat','concatenation'};
out = 'cat';

Solution Stats

54.76% Correct | 45.24% Incorrect
Last Solution submitted on Apr 06, 2020

Problem Comments