{"id":26922,"date":"2024-10-27T11:53:39","date_gmt":"2024-10-27T11:53:39","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=26922"},"modified":"2024-11-26T07:26:09","modified_gmt":"2024-11-26T07:26:09","slug":"%ec%9e%90%eb%b0%94-%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\/26922\/","title":{"rendered":"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4 \ucc3e\uae30"},"content":{"rendered":"<p><body><\/p>\n<p>\ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \ucd9c\uc81c\ub418\ub294 \ubb38\uc81c\uc778 &#8220;\ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4(Longest Common Subsequence, LCS)&#8221;\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. LCS \ubb38\uc81c\ub294 \ub450 \uac1c\uc758 \uc2dc\ud000\uc2a4\uac00 \uc8fc\uc5b4\uc84c\uc744 \ub54c, \ub450 \uc2dc\ud000\uc2a4\uc5d0\uc11c \uac01\uac01\uc758 \uc694\uc18c\uc758 \uc0c1\ub300\uc801 \uc21c\uc11c\ub97c \uc720\uc9c0\ud558\uba74\uc11c \ub9cc\ub4e4 \uc218 \uc788\ub294 \uac00\uc7a5 \uae34 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4\uc744 \ucc3e\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4.<\/p>\n<h2>\ubb38\uc81c \uc124\uba85<\/h2>\n<p>\ub450 \uac1c\uc758 \ubb38\uc790\uc5f4 <code>str1<\/code>\uacfc <code>str2<\/code>\uac00 \uc8fc\uc5b4\uc9c8 \ub54c, \uc774 \ub450 \ubb38\uc790\uc5f4\uc758 \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4\uc758 \uae38\uc774\ub97c \uad6c\ud558\uc138\uc694.<\/p>\n<h3>\uc785\ub825<\/h3>\n<ul>\n<li>\ubb38\uc790\uc5f4 <code>str1<\/code> : &#8220;AGGTAB&#8221;<\/li>\n<li>\ubb38\uc790\uc5f4 <code>str2<\/code> : &#8220;GXTXAYB&#8221;<\/li>\n<\/ul>\n<h3>\ucd9c\ub825<\/h3>\n<p>\ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4\uc758 \uae38\uc774 : 4<\/p>\n<h2>\ubb38\uc81c \ud480\uc774 \uacfc\uc815<\/h2>\n<p>\uc774 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574 \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d(Dynamic Programming) \uc811\uadfc \ubc29\uc2dd\uc744 \uc0ac\uc6a9\ud560 \uac83\uc785\ub2c8\ub2e4. \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d\uc740 \ubb38\uc81c\ub97c \uc791\uc740 \ubd80\ubd84 \ubb38\uc81c\ub85c \ub098\ub204\uc5b4 \ud574\uacb0\ud558\uace0, \uadf8 \uacb0\uacfc\ub97c \uc800\uc7a5\ud558\uc5ec \ud6a8\uc728\uc801\uc73c\ub85c \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ubc29\ubc95\uc785\ub2c8\ub2e4.<\/p>\n<h3>1\ub2e8\uacc4: \uc774\ucc28\uc6d0 \ubc30\uc5f4 \ucd08\uae30\ud654<\/h3>\n<div class=\"algorithm-step\">\n<p>\ubb38\uc790\uc5f4 <code>str1<\/code>\uacfc <code>str2<\/code>\uc758 \uae38\uc774\ub97c \uae30\ubc18\uc73c\ub85c \uc774\ucc28\uc6d0 \ubc30\uc5f4 <code>dp<\/code>\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4. \uc774 \ubc30\uc5f4\uc758 \ud06c\uae30\ub294 <code>(m+1) x (n+1)<\/code>\uc774\uba70, <\/p>\n<ul>\n<li><code>m<\/code> : <code>str1<\/code>\uc758 \uae38\uc774<\/li>\n<li><code>n<\/code> : <code>str2<\/code>\uc758 \uae38\uc774<\/li>\n<\/ul>\n<p>\ubc30\uc5f4\uc758 \uac01 \uc694\uc18c\ub294 \ucd08\uae30\uac12\uc73c\ub85c 0\uc73c\ub85c \uc124\uc815\ud569\ub2c8\ub2e4.<\/p>\n<\/div>\n<h3>2\ub2e8\uacc4: \uc774\ucc28\uc6d0 \ubc30\uc5f4 \ucc44\uc6b0\uae30<\/h3>\n<div class=\"algorithm-step\">\n<p>\uc774\uc81c \uc774\ucc28\uc6d0 \ubc30\uc5f4 <code>dp<\/code>\ub97c \ucc44\uc6cc \ub098\uac11\ub2c8\ub2e4. \ubb38\uc790\uc5f4\uc758 \uac01 \uae00\uc790\ub97c \ube44\uad50\ud558\uba74\uc11c \uc9c4\ud589\ud569\ub2c8\ub2e4.<\/p>\n<ol>\n<li>\ubc18\ubcf5\ubb38\uc744 \ud1b5\ud574 \uac01 \ubb38\uc790\ub97c \ube44\uad50\ud569\ub2c8\ub2e4.<\/li>\n<li>\ubb38\uc790\uac00 \uac19\uc73c\uba74 <code>dp[i][j] = dp[i-1][j-1] + 1<\/code>\ub85c \uc124\uc815\ud569\ub2c8\ub2e4.<\/li>\n<li>\ubb38\uc790\uac00 \ub2e4\ub974\uba74 <code>dp[i][j] = Math.max(dp[i-1][j], dp[i][j-1])<\/code>\ub85c \uc124\uc815\ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<p>\ucd5c\uc885\uc801\uc73c\ub85c <code>dp[m][n]<\/code>\uc758 \uac12\uc774 \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4\uc758 \uae38\uc774\uac00 \ub429\ub2c8\ub2e4.<\/p>\n<\/div>\n<h3>3\ub2e8\uacc4: \ucf54\ub4dc \uad6c\ud604<\/h3>\n<p>\uc774\uc81c \uc774 \uacfc\uc815\uc744 \uc790\ubc14 \ucf54\ub4dc\ub85c \uad6c\ud604\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>\npublic class LongestCommonSubsequence {\n    public static int lcs(String str1, String str2) {\n        int m = str1.length();\n        int n = str2.length();\n        int[][] dp = new int[m + 1][n + 1];\n\n        for (int i = 1; i &lt;= m; i++) {\n            for (int j = 1; j &lt;= n; j++) {\n                if (str1.charAt(i - 1) == str2.charAt(j - 1)) {\n                    dp[i][j] = dp[i - 1][j - 1] + 1;\n                } else {\n                    dp[i][j] = Math.max(dp[i - 1][j], dp[i][j - 1]);\n                }\n            }\n        }\n\n        return dp[m][n];\n    }\n\n    public static void main(String[] args) {\n        String str1 = \"AGGTAB\";\n        String str2 = \"GXTXAYB\";\n        System.out.println(\"\ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4\uc758 \uae38\uc774: \" + lcs(str1, str2));\n    }\n}\n    <\/code><\/pre>\n<h2>\ucf54\ub4dc \ubd84\uc11d<\/h2>\n<p>\uc704 \ucf54\ub4dc\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \ubc29\uc2dd\uc73c\ub85c \uc791\ub3d9\ud569\ub2c8\ub2e4.<\/p>\n<ul>\n<li>\ub450 \uac1c\uc758 \ubb38\uc790\uc5f4\uc744 \uc785\ub825\ubc1b\uace0, \uadf8 \uae38\uc774\uc5d0 \ub530\ub77c <code>dp<\/code> \ubc30\uc5f4\uc744 \uc0dd\uc131\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc774\uc911 \ubc18\ubcf5\ubb38\uc744 \uc0ac\uc6a9\ud558\uc5ec \ubb38\uc790\uc5f4\uc744 \ube44\uad50\ud558\uace0, \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d \ubc29\uc2dd\uc73c\ub85c \uac12\uc744 \uc5c5\ub370\uc774\ud2b8\ud569\ub2c8\ub2e4.<\/li>\n<li>\ucd9c\ub825\uc73c\ub85c\ub294 \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4\uc758 \uae38\uc774\ub97c \uc81c\uacf5\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>\uc2e4\ud589 \uacb0\uacfc<\/h2>\n<div class=\"example\">\n<p><strong>\uc785\ub825:<\/strong> <code>str1 = \"AGGTAB\"<\/code>, <code>str2 = \"GXTXAYB\"<\/code><\/p>\n<p><strong>\ucd9c\ub825:<\/strong> \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4\uc758 \uae38\uc774: <code>4<\/code><\/p>\n<\/div>\n<h2>\uacb0\ub860<\/h2>\n<p>\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4\uc744 \ucc3e\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574 \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d \uae30\ubc95\uc744 \ud65c\uc6a9\ud558\ub294 \uac83\uc774 \uc5bc\ub9c8\ub098 \ud6a8\uacfc\uc801\uc77c \uc218 \uc788\ub294\uc9c0\ub97c \ubcf4\uc5ec\uc8fc\uc5c8\uc2b5\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 \ub2e4\uc591\ud55c \ubd84\uc57c\uc5d0\uc11c \ud65c\uc6a9\ub420 \uc218 \uc788\uc73c\uba70, \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ud480 \ub54c \uae30\ubcf8\uc801\uc73c\ub85c \uc54c\uc544\ub450\uc5b4\uc57c \ud560 \ub0b4\uc6a9\uc785\ub2c8\ub2e4.<\/p>\n<p>\ub354 \ub098\uc544\uac00 \ubcf8 \uac15\uc88c\uc5d0\uc11c \uacf5\uc720\ub41c \ucf54\ub4dc\ub97c \ubc14\ud0d5\uc73c\ub85c \ub2e4\ub978 \ubb38\uc790\uc5f4 \uc870\ud569\uc5d0 \ub300\ud574\uc11c\ub3c4 \uc2e4\ud5d8\ud574\ubcf4\uba70, \uc774\ub860\uc744 \ub354\uc6b1 \uc2ec\ud654\uc2dc\ud0ac \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c \ud480\uc774 \ub2a5\ub825\uc744 \ud0a4\uc6b0\ub294 \ub370 \ud070 \ub3c4\uc6c0\uc774 \ub418\uae30\ub97c \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \ucd9c\uc81c\ub418\ub294 \ubb38\uc81c\uc778 &#8220;\ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4(Longest Common Subsequence, LCS)&#8221;\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. LCS \ubb38\uc81c\ub294 \ub450 \uac1c\uc758 \uc2dc\ud000\uc2a4\uac00 \uc8fc\uc5b4\uc84c\uc744 \ub54c, \ub450 \uc2dc\ud000\uc2a4\uc5d0\uc11c \uac01\uac01\uc758 \uc694\uc18c\uc758 \uc0c1\ub300\uc801 \uc21c\uc11c\ub97c \uc720\uc9c0\ud558\uba74\uc11c \ub9cc\ub4e4 \uc218 \uc788\ub294 \uac00\uc7a5 \uae34 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4\uc744 \ucc3e\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \ub450 \uac1c\uc758 \ubb38\uc790\uc5f4 str1\uacfc str2\uac00 \uc8fc\uc5b4\uc9c8 \ub54c, \uc774 \ub450 \ubb38\uc790\uc5f4\uc758 \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/26922\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\uc790\ubc14 \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":[22],"tags":[],"class_list":["post-26922","post","type-post","status-publish","format-standard","hentry","category-22"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\uc790\ubc14 \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\/26922\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\uc790\ubc14 \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=\"\ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \ucd9c\uc81c\ub418\ub294 \ubb38\uc81c\uc778 &#8220;\ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4(Longest Common Subsequence, LCS)&#8221;\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. LCS \ubb38\uc81c\ub294 \ub450 \uac1c\uc758 \uc2dc\ud000\uc2a4\uac00 \uc8fc\uc5b4\uc84c\uc744 \ub54c, \ub450 \uc2dc\ud000\uc2a4\uc5d0\uc11c \uac01\uac01\uc758 \uc694\uc18c\uc758 \uc0c1\ub300\uc801 \uc21c\uc11c\ub97c \uc720\uc9c0\ud558\uba74\uc11c \ub9cc\ub4e4 \uc218 \uc788\ub294 \uac00\uc7a5 \uae34 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4\uc744 \ucc3e\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \ub450 \uac1c\uc758 \ubb38\uc790\uc5f4 str1\uacfc str2\uac00 \uc8fc\uc5b4\uc9c8 \ub54c, \uc774 \ub450 \ubb38\uc790\uc5f4\uc758 \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 &hellip; \ub354 \ubcf4\uae30 &quot;\uc790\ubc14 \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\/26922\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T11:53:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:26:09+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\/26922\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26922\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4 \ucc3e\uae30\",\"datePublished\":\"2024-10-27T11:53:39+00:00\",\"dateModified\":\"2024-11-26T07:26:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26922\/\"},\"wordCount\":9,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/26922\/\",\"url\":\"https:\/\/atmokpo.com\/w\/26922\/\",\"name\":\"\uc790\ubc14 \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-27T11:53:39+00:00\",\"dateModified\":\"2024-11-26T07:26:09+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26922\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/26922\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/26922\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\uc790\ubc14 \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":"\uc790\ubc14 \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\/26922\/","og_locale":"ko_KR","og_type":"article","og_title":"\uc790\ubc14 \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":"\ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \ucd9c\uc81c\ub418\ub294 \ubb38\uc81c\uc778 &#8220;\ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4(Longest Common Subsequence, LCS)&#8221;\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. LCS \ubb38\uc81c\ub294 \ub450 \uac1c\uc758 \uc2dc\ud000\uc2a4\uac00 \uc8fc\uc5b4\uc84c\uc744 \ub54c, \ub450 \uc2dc\ud000\uc2a4\uc5d0\uc11c \uac01\uac01\uc758 \uc694\uc18c\uc758 \uc0c1\ub300\uc801 \uc21c\uc11c\ub97c \uc720\uc9c0\ud558\uba74\uc11c \ub9cc\ub4e4 \uc218 \uc788\ub294 \uac00\uc7a5 \uae34 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4\uc744 \ucc3e\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \ub450 \uac1c\uc758 \ubb38\uc790\uc5f4 str1\uacfc str2\uac00 \uc8fc\uc5b4\uc9c8 \ub54c, \uc774 \ub450 \ubb38\uc790\uc5f4\uc758 \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 &hellip; \ub354 \ubcf4\uae30 \"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4 \ucc3e\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/26922\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T11:53:39+00:00","article_modified_time":"2024-11-26T07:26:09+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\/26922\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/26922\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc7a5 \uacf5\ud1b5 \ubd80\ubd84 \uc218\uc5f4 \ucc3e\uae30","datePublished":"2024-10-27T11:53:39+00:00","dateModified":"2024-11-26T07:26:09+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/26922\/"},"wordCount":9,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/26922\/","url":"https:\/\/atmokpo.com\/w\/26922\/","name":"\uc790\ubc14 \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-27T11:53:39+00:00","dateModified":"2024-11-26T07:26:09+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/26922\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/26922\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/26922\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\uc790\ubc14 \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\/26922","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=26922"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/26922\/revisions"}],"predecessor-version":[{"id":26923,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/26922\/revisions\/26923"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=26922"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=26922"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=26922"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}