/Open-Lab-04.13

(17 XP) A function that finds the longest common substring of two strings.

Primary LanguageC#MIT LicenseMIT

Open-Lab-04.13

(17 XP) A function that finds the longest common substring of two strings.

  1. Fork this repository to your GitHub account.
  2. Open solution file in Visual Studio.
  3. Open file StringTools.cs.
  4. Implement the method GetLongestCommonSequence(string str1, string str2) that finds the longest common substring of two strings.
  5. Run with CTRL+F5 to test it.
  6. If all tests are passed, commit & sync your repository.
  7. Send a link to your repository for Lab Master (in #slack) to check it.

Examples:

GetLongestCommonSequence("league", "legends")"le"
GetLongestCommonSequence("mojstryko", "cstrike")"str"