(17 XP) A function that finds the longest common substring of two strings.
- Fork this repository to your GitHub account.
- Open solution file in Visual Studio.
- Open file
StringTools.cs
. - Implement the method
GetLongestCommonSequence(string str1, string str2)
that finds the longest common substring of two strings. - Run with
CTRL+F5
to test it. - If all tests are passed, commit & sync your repository.
- Send a link to your repository for Lab Master (in #slack) to check it.
GetLongestCommonSequence("league", "legends") ➞ "le"
GetLongestCommonSequence("mojstryko", "cstrike") ➞ "str"