Cody

Problem 2469. Cat, Meowcat and Concatenation

Created by rifat in Community

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

73.21% Correct | 26.79% Incorrect
Last solution submitted on Apr 21, 2019

Problem Comments

Recent Solvers25

Suggested Problems

More from this Author45