오보에블로그

[c#] Longest Common Substring 본문

C++ & C#/C#

[c#] Longest Common Substring

(OBO) 2019. 8. 4. 14:35
728x90

https://social.msdn.microsoft.com/Forums/vstudio/en-US/8c5c792f-d17d-443c-8098-76797aafd588/algorithm-the-longest-common-substring-of-two-strings?forum=csharpgeneral

 

Algorithm the longest common substring of two strings

Well, if you want a good algorithm, you can find it in Wikipedia: https://en.wikipedia.org/wiki/Longest_common_substring_problem The algorithm there is written in pseudo-code, but it shouldn't be horribly difficult to translate it into C#. However, if you

social.msdn.microsoft.com

 

아주 멋지신 분께서 아주 멋진 코드를 남기셨습니다.

728x90

'C++ & C# > C#' 카테고리의 다른 글

[C#API] Comparison<T>  (0) 2021.12.30
[C#API] 알아두면 유용한 IEnumerable 관련 메소드  (0) 2021.12.16
[C#API] IEnumerator & IEnumerable  (0) 2021.12.16
[C# API] String Builder  (0) 2021.10.21
[c#] TimeOutException이 catch되지 않을때  (0) 2019.08.04