Cat, Meowcat and Concatenation - MATLAB Cody - MATLAB Central

Problem 2469. Cat, Meowcat and Concatenation

Difficulty:Rate
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

49.57% Correct | 50.43% Incorrect
Last Solution submitted on Feb 21, 2025

Problem Comments

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
4
8
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
4

Problem Recent Solvers43

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!