Skip to content

Santiors/Test_task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Test_task

Write a function (method) and unit tests for the following task: Given a string, return the longest substring that appears at both the beginning and end of the string without overlapping. For example, sameEnds("abXab") is "ab". sameEnds("abXYab") → "ab" sameEnds("xx") → "x" sameEnds("xxx") → "x"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published