{"id":27360,"date":"2024-10-27T14:10:54","date_gmt":"2024-10-27T14:10:54","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=27360"},"modified":"2024-11-26T07:19:12","modified_gmt":"2024-11-26T07:19:12","slug":"c-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c-%ec%b5%9c%ec%9e%a5-%ea%b3%b5%ed%86%b5-%eb%b6%80%eb%b6%84-%ec%88%98%ec%97%b4-%ec%b0%be%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/27360\/","title":{"rendered":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4 \ucc3e\uae30"},"content":{"rendered":"<p><body><\/p>\n<h2>\ubb38\uc81c \uc124\uba85<\/h2>\n<p>\uc8fc\uc5b4\uc9c4 \ub450 \ubb38\uc790\uc5f4 A\uc640 B\uac00 \uc788\uc744 \ub54c, \uc774\ub4e4 \ubb38\uc790\uc5f4\uc758 \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4(Longest Common Subsequence, LCS)\uc744 \ucc3e\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \ubd80\ubd84 \uc218\uc5f4\uc740 \ubb38\uc790\uc5f4\uc5d0\uc11c \ubb38\uc790\uc758 \uc21c\uc11c\ub97c \uc720\uc9c0\ud558\uba74\uc11c \uc0ad\uc81c\ub85c \uc5bb\uc744 \uc218 \uc788\ub294 \ubb38\uc790\uc5f4\uc785\ub2c8\ub2e4. \uc989, A\uc758 \ubd80\ubd84 \uc218\uc5f4\uc774 B\uc5d0 \uc874\uc7ac\ud574\uc57c \ud569\ub2c8\ub2e4.<\/p>\n<p>\uc608\ub97c \ub4e4\uc5b4, \ubb38\uc790\uc5f4 A\uac00 &#8220;ABCBDAB&#8221;\uc774\uace0 B\uac00 &#8220;BDCAB&#8221;\ub77c\uba74, \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4\uc740 &#8220;BCAB&#8221;\uc785\ub2c8\ub2e4. \uc774\ub7ec\ud55c LCS \ubb38\uc81c\ub294 \ub2e4\uc591\ud55c \ubd84\uc57c\uc5d0\uc11c \ud6a8\uc728\uc801\uc778 \uc54c\uace0\ub9ac\uc998\uc744 \ud544\uc694\ub85c \ud558\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4.<\/p>\n<h2>\ubb38\uc81c \uc785\ub825<\/h2>\n<p>\ub450 \ubb38\uc790\uc5f4 A\uc640 B\uc758 \uae38\uc774 N, M (1 \u2264 N, M \u2264 1000) \ubc0f \ubb38\uc790\uc5f4 A\uc640 B\uac00 \uc8fc\uc5b4\uc9d1\ub2c8\ub2e4.<\/p>\n<h2>\ubb38\uc81c \ucd9c\ub825<\/h2>\n<p>\ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4\uc758 \uae38\uc774\ub97c \ucd9c\ub825\ud569\ub2c8\ub2e4.<\/p>\n<h2>\ubb38\uc81c \ud574\uacb0 \uacfc\uc815<\/h2>\n<h3>1. \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d \uc774\ud574<\/h3>\n<p>\uc774 \ubb38\uc81c\ub294 \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d(DP)\uc744 \uc0ac\uc6a9\ud558\uc5ec \ud574\uacb0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. DP\ub294 \ubcf5\uc7a1\ud55c \ubb38\uc81c\ub97c \uc791\uc740 \ubd80\ubd84 \ubb38\uc81c\ub85c \ub098\ub204\uc5b4 \ud574\uacb0\ud558\uc5ec \ud6a8\uc728\uc131\uc744 \ub192\uc774\ub294 \uae30\ubc95\uc785\ub2c8\ub2e4. \uc774 \uacbd\uc6b0, DP \ubc30\uc5f4\uc744 \uc0ac\uc6a9\ud558\uc5ec \uac01 \ubb38\uc790 \uc30d \uac04\uc758 LCS \uae38\uc774\ub97c \uc800\uc7a5\ud558\uace0 \uacc4\uc0b0\ud569\ub2c8\ub2e4.<\/p>\n<h3>2. DP \ubc30\uc5f4 \ucd08\uae30\ud654<\/h3>\n<p>\uc6b0\uc120, \ub450 \ubb38\uc790\uc5f4 A\uc640 B\uc758 \uae38\uc774\uc5d0 \ub530\ub77c 2\ucc28\uc6d0 DP \ubc30\uc5f4\uc744 \ucd08\uae30\ud654\ud569\ub2c8\ub2e4. DP[i][j]\ub294 A\uc758 \uccab i\uac1c \ubb38\uc790\uc640 B\uc758 \uccab j\uac1c \ubb38\uc790\uc758 \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4\uc758 \uae38\uc774\ub97c \ub098\ud0c0\ub0c5\ub2c8\ub2e4.<\/p>\n<pre><code>\n    int[,] dp = new int[N + 1, M + 1];\n    <\/code><\/pre>\n<h3>3. DP \uc0c1\ud0dc \uc804\uc774<\/h3>\n<p>DP \uaddc\uce59\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li>\ub9cc\uc57d A\uc758 i\ubc88\uc9f8 \ubb38\uc790\uc640 B\uc758 j\ubc88\uc9f8 \ubb38\uc790\uac00 \uac19\uc73c\uba74: <code>dp[i][j] = dp[i - 1][j - 1] + 1<\/code><\/li>\n<li>\ub9cc\uc57d A\uc758 i\ubc88\uc9f8 \ubb38\uc790\uc640 B\uc758 j\ubc88\uc9f8 \ubb38\uc790\uac00 \ub2e4\ub974\uba74: <code>dp[i][j] = Math.Max(dp[i - 1][j], dp[i][j - 1])<\/code><\/li>\n<\/ul>\n<h3>4. \ucd5c\uc885 \uacb0\uacfc<\/h3>\n<p>DP \ubc30\uc5f4\uc774 \ucc44\uc6cc\uc9c4 \ud6c4, <code>dp[N][M]<\/code>\uc5d0\ub294 \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4\uc758 \uae38\uc774\uac00 \uc800\uc7a5\ub429\ub2c8\ub2e4.<\/p>\n<h2>\ucf54\ub4dc \uad6c\ud604<\/h2>\n<pre><code>\n    using System;\n\n    class Program\n    {\n        static void Main(string[] args)\n        {\n            string A = \"ABCBDAB\";\n            string B = \"BDCAB\";\n            int N = A.Length;\n            int M = B.Length;\n\n            int[,] dp = new int[N + 1, M + 1];\n\n            for (int i = 1; i &lt;= N; i++)\n            {\n                for (int j = 1; j &lt;= M; j++)\n                {\n                    if (A[i - 1] == B[j - 1])\n                    {\n                        dp[i, j] = dp[i - 1, j - 1] + 1;\n                    }\n                    else\n                    {\n                        dp[i, j] = Math.Max(dp[i - 1, j], dp[i, j - 1]);\n                    }\n                }\n            }\n\n            Console.WriteLine(\"\ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4\uc758 \uae38\uc774: \" + dp[N, M]);\n        }\n    }\n    <\/code><\/pre>\n<h2>\ud14c\uc2a4\ud2b8 \ucf00\uc774\uc2a4<\/h2>\n<h3>\uc608\uc81c \uc785\ub825<\/h3>\n<pre><code>\n    A: ABCBDAB\n    B: BDCAB\n    <\/code><\/pre>\n<h3>\uc608\uc81c \ucd9c\ub825<\/h3>\n<pre><code>\n    \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4\uc758 \uae38\uc774: 4\n    <\/code><\/pre>\n<h2>\uc2dc\uac04 \ubcf5\uc7a1\ub3c4 \ubd84\uc11d<\/h2>\n<p>\uc774 \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d \uc54c\uace0\ub9ac\uc998\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub294 O(N * M)\uc774\uba70, \uacf5\uac04 \ubcf5\uc7a1\ub3c4 \ub610\ud55c O(N * M)\uc785\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \ub450 \ubb38\uc790\uc5f4\uc758 \uae38\uc774\uac00 1000\uc77c \ub54c\ub3c4 \ucda9\ubd84\ud788 \uc131\ub2a5\uc744 \ub9cc\uc871\ud558\ub294 \uc54c\uace0\ub9ac\uc998\uc785\ub2c8\ub2e4.<\/p>\n<h2>\uacb0\ub860<\/h2>\n<p>\ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4(LCS) \ubb38\uc81c\ub294 \ucef4\ud4e8\ud130 \uacfc\ud559\uc758 \uc5ec\ub7ec \ubd84\uc57c\uc5d0\uc11c \uc5b4\ub5bb\uac8c \uc54c \uc218 \uc788\ub294\uc9c0\ub97c \ubcf4\uc5ec\uc8fc\ub294 \uc8fc\uc694 \ubb38\uc81c\uc785\ub2c8\ub2e4. \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d\uc744 \uc0ac\uc6a9\ud558\uc5ec \ud6a8\uc728\uc801\uc73c\ub85c \ud574\uacb0\ud560 \uc218 \uc788\uc74c\uc744 \ud655\uc778\ud588\uc2b5\ub2c8\ub2e4. \uc774 \ubc29\ubc95\uc740 \uc2e4\uc81c \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc218\uc2dc\ub85c \ub4f1\uc7a5\ud558\ubbc0\ub85c, \uc798 \uc774\ud574\ud558\uace0 \uc5f0\uc2b5\ud558\ub294 \uac83\uc774 \uc911\uc694\ud569\ub2c8\ub2e4.<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ubb38\uc81c \uc124\uba85 \uc8fc\uc5b4\uc9c4 \ub450 \ubb38\uc790\uc5f4 A\uc640 B\uac00 \uc788\uc744 \ub54c, \uc774\ub4e4 \ubb38\uc790\uc5f4\uc758 \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4(Longest Common Subsequence, LCS)\uc744 \ucc3e\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \ubd80\ubd84 \uc218\uc5f4\uc740 \ubb38\uc790\uc5f4\uc5d0\uc11c \ubb38\uc790\uc758 \uc21c\uc11c\ub97c \uc720\uc9c0\ud558\uba74\uc11c \uc0ad\uc81c\ub85c \uc5bb\uc744 \uc218 \uc788\ub294 \ubb38\uc790\uc5f4\uc785\ub2c8\ub2e4. \uc989, A\uc758 \ubd80\ubd84 \uc218\uc5f4\uc774 B\uc5d0 \uc874\uc7ac\ud574\uc57c \ud569\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \ubb38\uc790\uc5f4 A\uac00 &#8220;ABCBDAB&#8221;\uc774\uace0 B\uac00 &#8220;BDCAB&#8221;\ub77c\uba74, \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4\uc740 &#8220;BCAB&#8221;\uc785\ub2c8\ub2e4. \uc774\ub7ec\ud55c LCS \ubb38\uc81c\ub294 \ub2e4\uc591\ud55c \ubd84\uc57c\uc5d0\uc11c &hellip; <a href=\"https:\/\/atmokpo.com\/w\/27360\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4 \ucc3e\uae30&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[24],"tags":[],"class_list":["post-27360","post","type-post","status-publish","format-standard","hentry","category-c--"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4 \ucc3e\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/27360\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4 \ucc3e\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\ubb38\uc81c \uc124\uba85 \uc8fc\uc5b4\uc9c4 \ub450 \ubb38\uc790\uc5f4 A\uc640 B\uac00 \uc788\uc744 \ub54c, \uc774\ub4e4 \ubb38\uc790\uc5f4\uc758 \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4(Longest Common Subsequence, LCS)\uc744 \ucc3e\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \ubd80\ubd84 \uc218\uc5f4\uc740 \ubb38\uc790\uc5f4\uc5d0\uc11c \ubb38\uc790\uc758 \uc21c\uc11c\ub97c \uc720\uc9c0\ud558\uba74\uc11c \uc0ad\uc81c\ub85c \uc5bb\uc744 \uc218 \uc788\ub294 \ubb38\uc790\uc5f4\uc785\ub2c8\ub2e4. \uc989, A\uc758 \ubd80\ubd84 \uc218\uc5f4\uc774 B\uc5d0 \uc874\uc7ac\ud574\uc57c \ud569\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \ubb38\uc790\uc5f4 A\uac00 &#8220;ABCBDAB&#8221;\uc774\uace0 B\uac00 &#8220;BDCAB&#8221;\ub77c\uba74, \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4\uc740 &#8220;BCAB&#8221;\uc785\ub2c8\ub2e4. \uc774\ub7ec\ud55c LCS \ubb38\uc81c\ub294 \ub2e4\uc591\ud55c \ubd84\uc57c\uc5d0\uc11c &hellip; \ub354 \ubcf4\uae30 &quot;C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4 \ucc3e\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/27360\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T14:10:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:19:12+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/27360\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27360\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4 \ucc3e\uae30\",\"datePublished\":\"2024-10-27T14:10:54+00:00\",\"dateModified\":\"2024-11-26T07:19:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27360\/\"},\"wordCount\":56,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/27360\/\",\"url\":\"https:\/\/atmokpo.com\/w\/27360\/\",\"name\":\"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4 \ucc3e\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T14:10:54+00:00\",\"dateModified\":\"2024-11-26T07:19:12+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27360\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/27360\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/27360\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4 \ucc3e\uae30\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4 \ucc3e\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/27360\/","og_locale":"ko_KR","og_type":"article","og_title":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4 \ucc3e\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\ubb38\uc81c \uc124\uba85 \uc8fc\uc5b4\uc9c4 \ub450 \ubb38\uc790\uc5f4 A\uc640 B\uac00 \uc788\uc744 \ub54c, \uc774\ub4e4 \ubb38\uc790\uc5f4\uc758 \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4(Longest Common Subsequence, LCS)\uc744 \ucc3e\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \ubd80\ubd84 \uc218\uc5f4\uc740 \ubb38\uc790\uc5f4\uc5d0\uc11c \ubb38\uc790\uc758 \uc21c\uc11c\ub97c \uc720\uc9c0\ud558\uba74\uc11c \uc0ad\uc81c\ub85c \uc5bb\uc744 \uc218 \uc788\ub294 \ubb38\uc790\uc5f4\uc785\ub2c8\ub2e4. \uc989, A\uc758 \ubd80\ubd84 \uc218\uc5f4\uc774 B\uc5d0 \uc874\uc7ac\ud574\uc57c \ud569\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \ubb38\uc790\uc5f4 A\uac00 &#8220;ABCBDAB&#8221;\uc774\uace0 B\uac00 &#8220;BDCAB&#8221;\ub77c\uba74, \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4\uc740 &#8220;BCAB&#8221;\uc785\ub2c8\ub2e4. \uc774\ub7ec\ud55c LCS \ubb38\uc81c\ub294 \ub2e4\uc591\ud55c \ubd84\uc57c\uc5d0\uc11c &hellip; \ub354 \ubcf4\uae30 \"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4 \ucc3e\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/27360\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T14:10:54+00:00","article_modified_time":"2024-11-26T07:19:12+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/27360\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/27360\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4 \ucc3e\uae30","datePublished":"2024-10-27T14:10:54+00:00","dateModified":"2024-11-26T07:19:12+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/27360\/"},"wordCount":56,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/27360\/","url":"https:\/\/atmokpo.com\/w\/27360\/","name":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4 \ucc3e\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T14:10:54+00:00","dateModified":"2024-11-26T07:19:12+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/27360\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/27360\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/27360\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4 \ucc3e\uae30"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27360","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=27360"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27360\/revisions"}],"predecessor-version":[{"id":27361,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27360\/revisions\/27361"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=27360"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=27360"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=27360"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}