{"id":28382,"date":"2024-10-27T16:10:43","date_gmt":"2024-10-27T16:10:43","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=28382"},"modified":"2024-11-26T07:03:28","modified_gmt":"2024-11-26T07:03:28","slug":"%ec%bd%94%ed%8b%80%eb%a6%b0-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c-%ea%b0%80%ec%9e%a5-%ed%81%b0-%ec%a0%95%ec%82%ac%ea%b0%81%ed%98%95-%ec%b0%be%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/28382\/","title":{"rendered":"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uac00\uc7a5 \ud070 \uc815\uc0ac\uac01\ud615 \ucc3e\uae30"},"content":{"rendered":"<div class=\"blog-post\">\n<p>\uc548\ub155\ud558\uc138\uc694, \ucf54\ud2c0\ub9b0\uc744 \ud65c\uc6a9\ud55c \ucf54\ub529\ud14c\uc2a4\ud2b8 \ubb38\uc81c \ud480\uc774 \uac15\uc88c\uc5d0 \uc624\uc2e0 \uac83\uc744 \ud658\uc601\ud569\ub2c8\ub2e4. \uc774\ubc88 \uc2dc\uac04\uc5d0\ub294 &#8220;\uac00\uc7a5 \ud070 \uc815\uc0ac\uac01\ud615 \ucc3e\uae30&#8221;\ub77c\ub294 \ubb38\uc81c\ub97c \ud574\uacb0\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 \uc8fc\uc5b4\uc9c4 2\ucc28\uc6d0 \ubc30\uc5f4\uc5d0\uc11c \uac00\uc7a5 \ud070 \uc815\uc0ac\uac01\ud615\uc758 \ub113\uc774\ub97c \ucc3e\ub294 \uacfc\uc81c\uc785\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub97c \ud1b5\ud574 \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d(Dynamic Programming)\uc758 \uae30\ucd08 \uac1c\ub150\uc744 \uc775\ud788\uace0, \ucf54\ud2c0\ub9b0 \uc5b8\uc5b4\uc758 \ubb38\ubc95\uacfc \ud2b9\uc9d5\ub3c4 \uc774\ud574\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>\ubb38\uc81c \uc124\uba85<\/h2>\n<p>\uc8fc\uc5b4\uc9c4 m x n \ud06c\uae30\uc758 2\ucc28\uc6d0 \uc774\uc9c4 \ubc30\uc5f4\uc774 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \ubc30\uc5f4\uc5d0\uc11c &#8216;1&#8217;\uc740 \ud574\ub2f9 \uc704\uce58\uc5d0\uc11c \uc815\uc0ac\uac01\ud615\uc774 \ud615\uc131\ub420 \uc218 \uc788\uc74c\uc744 \uc758\ubbf8\ud558\uace0, &#8216;0&#8217;\uc740 \uadf8\ub807\uc9c0 \uc54a\uc74c\uc744 \uc758\ubbf8\ud569\ub2c8\ub2e4. \uac00\uc7a5 \ud070 \uc815\uc0ac\uac01\ud615\uc758 \ub113\uc774\ub97c \ucc3e\ub294 \uac83\uc774 \ubaa9\ud45c\uc785\ub2c8\ub2e4.<\/p>\n<p>\uc608\ub97c \ub4e4\uc5b4, \ub2e4\uc74c\uacfc \uac19\uc740 \ubc30\uc5f4\uc774 \uc788\uc744 \ub54c:<\/p>\n<pre>\n    1 0 1 0 0\n    1 0 1 1 1\n    1 1 1 1 1\n    1 0 0 1 0\n    <\/pre>\n<p>\uc774 \uacbd\uc6b0, \uac00\uc7a5 \ud070 \uc815\uc0ac\uac01\ud615\uc758 \ub113\uc774\ub294 4\uc785\ub2c8\ub2e4. (2&#215;2 \uc815\uc0ac\uac01\ud615)<\/p>\n<h2>\ubb38\uc81c \uc811\uadfc \ubc29\ubc95<\/h2>\n<p>\uc774 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574 \uc6b0\ub9ac\ub294 \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d\uc744 \uc0ac\uc6a9\ud560 \uac83\uc785\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud55c \uc8fc\uc694 \ub2e8\uacc4\uc785\ub2c8\ub2e4:<\/p>\n<ol>\n<li><strong>DP \ubc30\uc5f4 \ucd08\uae30\ud654:<\/strong> \uc785\ub825\ubc1b\uc740 2\ucc28\uc6d0 \ubc30\uc5f4\uacfc \uac19\uc740 \ud06c\uae30\ub97c \uac00\uc9c0\ub294 DP \ubc30\uc5f4\uc744 \uc0dd\uc131\ud569\ub2c8\ub2e4. \uc774 DP \ubc30\uc5f4\uc758 \uac01 \uc6d0\uc18c\ub294 (i, j) \uc704\uce58\uc5d0\uc11c \ub05d\ub098\ub294 \uc815\uc0ac\uac01\ud615\uc758 \ud55c \ubcc0\uc758 \uae38\uc774\ub97c \ub098\ud0c0\ub0c5\ub2c8\ub2e4.<\/li>\n<li><strong>\uc0c1\ud0dc \uc804\uc774 \uad00\uacc4 \uc124\uc815:<\/strong> \ub9cc\uc57d grid[i][j]\uac00 &#8216;1&#8217;\uc774\ub77c\uba74, DP[i][j]\ub294 DP[i-1][j], DP[i][j-1], DP[i-1][j-1] \uc911 \ucd5c\uc18c\uac12 + 1\uc774 \ub429\ub2c8\ub2e4. \uc774\ub294 (i,j)\uc5d0\uc11c\uc758 \uac00\uc7a5 \ud070 \uc815\uc0ac\uac01\ud615\uc758 \ubcc0 \uae38\uc774\ub97c \uacb0\uc815\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\ucd5c\ub300 \uc815\uc0ac\uac01\ud615 \ubcc0 \uae38\uc774 \ucd94\uc801:<\/strong> \uc774 \uacfc\uc815\uc744 \ud1b5\ud574 \uac00\uc7a5 \ud070 \uc815\uc0ac\uac01\ud615\uc758 \ubcc0 \uae38\uc774\ub97c \ucd94\uc801\ud558\uace0, \ub9c8\uc9c0\ub9c9\uc5d0 \uadf8 \uac12\uc744 \uc81c\uacf1\ud558\uc5ec \ub113\uc774\ub97c \uacc4\uc0b0\ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h2>\ucf54\ub4dc \uad6c\ud604<\/h2>\n<p>\uc774\uc81c \uc704\uc758 \uc54c\uace0\ub9ac\uc998\uc744 \ucf54\ud2c0\ub9b0\uc73c\ub85c \uad6c\ud604\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc544\ub798\ub294 \ud574\ub2f9 \uc54c\uace0\ub9ac\uc998\uc758 \ucf54\ub4dc\uc785\ub2c8\ub2e4:<\/p>\n<pre><code>\n    fun maximalSquare(matrix: Array<chararray>): Int {\n        if (matrix.isEmpty()) return 0\n\n        val m = matrix.size\n        val n = matrix[0].size\n        val dp = Array(m) { IntArray(n) }\n        var maxSide = 0\n\n        for (i in 0 until m) {\n            for (j in 0 until n) {\n                if (matrix[i][j] == '1') {\n                    if (i == 0 || j == 0) {\n                        dp[i][j] = 1 \/\/ \uccab \ud589\uc774\ub098 \uccab \uc5f4\uc758 \uacbd\uc6b0\n                    } else {\n                        dp[i][j] = minOf(dp[i - 1][j], dp[i][j - 1], dp[i - 1][j - 1]) + 1\n                    }\n                    maxSide = maxOf(maxSide, dp[i][j])\n                }\n            }\n        }\n        return maxSide * maxSide \/\/ \uc815\uc0ac\uac01\ud615\uc758 \ub113\uc774 \ubc18\ud658\n    }\n    <\/chararray><\/code><\/pre>\n<h2>\ucf54\ub4dc \uc124\uba85<\/h2>\n<p>\ucf54\ub4dc\ub294 2\ucc28\uc6d0 \ubc30\uc5f4\uc744 \uc785\ub825\uc73c\ub85c \ubc1b\uc544, \uac01 \uc140\uc5d0 \ub300\ud574 \ud574\ub2f9 \uc704\uce58\uc5d0\uc11c \ub05d\ub098\ub294 \uc815\uc0ac\uac01\ud615\uc758 \ud55c \ubcc0\uc758 \uae38\uc774\ub97c \uacc4\uc0b0\ud569\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \ucf54\ub4dc\uc758 \uc8fc\uc694 \ubd80\ubd84\uc5d0 \ub300\ud55c \uc124\uba85\uc785\ub2c8\ub2e4:<\/p>\n<ul>\n<li><strong>\ucd08\uae30 \uac80\uc99d:<\/strong> \uc785\ub825\ub41c \ud589\ub82c\uc774 \ube44\uc5b4\uc788\ub294\uc9c0 \uac80\uc0ac\ud569\ub2c8\ub2e4. \ube44\uc5b4\uc788\ub2e4\uba74 0\uc744 \ubc18\ud658\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\uc774\uc911 \ub8e8\ud504:<\/strong> \uac01 \uc6d0\uc18c\ub97c \uc21c\ud68c\ud558\uba70, &#8216;1&#8217;\uc77c \uacbd\uc6b0 DP \ud14c\uc774\ube14\uc5d0 \uac12\uc744 \uc5c5\ub370\uc774\ud2b8\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\ucd5c\ub300 \uc0ac\uc774\ub4dc \uc5c5\ub370\uc774\ud2b8:<\/strong> \uac01 \uacbd\uc6b0 \ucd5c\ub313\uac12\uc744 \ucd94\uc801\ud558\uc5ec, \ub9c8\uc9c0\ub9c9\uc5d0 \uc774\ub97c \uc81c\uacf1\ud558\uc5ec \uacb0\uacfc\ub97c \ubc18\ud658\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>\ubcf5\uc7a1\ub3c4 \ubd84\uc11d<\/h2>\n<p>\uc774 \uc54c\uace0\ub9ac\uc998\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub294 O(m * n)\uc774\uba70, DP \ubc30\uc5f4\uc744 \uc0ac\uc6a9\ud558\ubbc0\ub85c \uacf5\uac04 \ubcf5\uc7a1\ub3c4 \ub610\ud55c O(m * n)\uc785\ub2c8\ub2e4. \ud558\uc9c0\ub9cc \uacf5\uac04\uc744 \ucd5c\uc801\ud654\ud560 \uc218\ub3c4 \uc788\uc2b5\ub2c8\ub2e4. DP \ubc30\uc5f4 \ub300\uc2e0 \ub450 \uac1c\uc758 \ubcc0\uc218\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud604\uc7ac \ud589\uacfc \uc774\uc804 \ud589\uc758 \uc815\ubcf4\ub97c \uc800\uc7a5\ud568\uc73c\ub85c\uc368 \uacf5\uac04 \ubcf5\uc7a1\ub3c4\ub97c O(n)\uc73c\ub85c \uc904\uc77c \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>\uc120\ud0dd\uc801 \uacf5\uac04 \ucd5c\uc801\ud654 \ucf54\ub4dc<\/h2>\n<pre><code>\n    fun maximalSquare(matrix: Array<chararray>): Int {\n        if (matrix.isEmpty()) return 0\n        val m = matrix.size\n        val n = matrix[0].size\n        val dp = IntArray(n)\n        var maxSide = 0\n        var prev = 0\n\n        for (i in 0 until m) {\n            for (j in 0 until n) {\n                val temp = dp[j]\n                if (matrix[i][j] == '1') {\n                    dp[j] = if (i == 0 || j == 0) 1 else minOf(dp[j], dp[j - 1], prev) + 1\n                    maxSide = maxOf(maxSide, dp[j])\n                } else {\n                    dp[j] = 0\n                }\n                prev = temp\n            }\n        }\n        return maxSide * maxSide\n    }\n    <\/chararray><\/code><\/pre>\n<h2>\uacb0\ub860<\/h2>\n<p>\uc774\ubc88 \uac15\uc88c\ub97c \ud1b5\ud574 &#8220;\uac00\uc7a5 \ud070 \uc815\uc0ac\uac01\ud615 \ucc3e\uae30&#8221; \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ubc29\ubc95\uc744 \ud559\uc2b5\ud588\uc2b5\ub2c8\ub2e4. \uc774 \uacfc\uc815\uc5d0\uc11c \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d\uc758 \uae30\ubcf8\uc801\uc778 \uac1c\ub150\uc744 \uc774\ud574\ud558\uace0, \ucf54\ud2c0\ub9b0 \uc5b8\uc5b4\ub85c \uc54c\uace0\ub9ac\uc998\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \ubc30\uc6e0\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ud1b5\ud574 \ubb38\uc81c \ud574\uacb0 \ub2a5\ub825\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\uace0, \ucf54\ub529 \ud14c\uc2a4\ud2b8 \uc900\ube44\uc5d0 \ud070 \ub3c4\uc6c0\uc774 \ub420 \uac83\uc785\ub2c8\ub2e4. \ub2e4\uc74c \uc2dc\uac04\uc5d0\ub294 \ub610 \ub2e4\ub978 \ud765\ubbf8\ub85c\uc6b4 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ub2e4\ub904\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uac10\uc0ac\ud569\ub2c8\ub2e4!<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\uc548\ub155\ud558\uc138\uc694, \ucf54\ud2c0\ub9b0\uc744 \ud65c\uc6a9\ud55c \ucf54\ub529\ud14c\uc2a4\ud2b8 \ubb38\uc81c \ud480\uc774 \uac15\uc88c\uc5d0 \uc624\uc2e0 \uac83\uc744 \ud658\uc601\ud569\ub2c8\ub2e4. \uc774\ubc88 \uc2dc\uac04\uc5d0\ub294 &#8220;\uac00\uc7a5 \ud070 \uc815\uc0ac\uac01\ud615 \ucc3e\uae30&#8221;\ub77c\ub294 \ubb38\uc81c\ub97c \ud574\uacb0\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 \uc8fc\uc5b4\uc9c4 2\ucc28\uc6d0 \ubc30\uc5f4\uc5d0\uc11c \uac00\uc7a5 \ud070 \uc815\uc0ac\uac01\ud615\uc758 \ub113\uc774\ub97c \ucc3e\ub294 \uacfc\uc81c\uc785\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub97c \ud1b5\ud574 \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d(Dynamic Programming)\uc758 \uae30\ucd08 \uac1c\ub150\uc744 \uc775\ud788\uace0, \ucf54\ud2c0\ub9b0 \uc5b8\uc5b4\uc758 \ubb38\ubc95\uacfc \ud2b9\uc9d5\ub3c4 \uc774\ud574\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \uc8fc\uc5b4\uc9c4 m x n \ud06c\uae30\uc758 2\ucc28\uc6d0 \uc774\uc9c4 \ubc30\uc5f4\uc774 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/28382\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uac00\uc7a5 \ud070 \uc815\uc0ac\uac01\ud615 \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":[28],"tags":[],"class_list":["post-28382","post","type-post","status-publish","format-standard","hentry","category-28"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uac00\uc7a5 \ud070 \uc815\uc0ac\uac01\ud615 \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\/28382\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uac00\uc7a5 \ud070 \uc815\uc0ac\uac01\ud615 \ucc3e\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc548\ub155\ud558\uc138\uc694, \ucf54\ud2c0\ub9b0\uc744 \ud65c\uc6a9\ud55c \ucf54\ub529\ud14c\uc2a4\ud2b8 \ubb38\uc81c \ud480\uc774 \uac15\uc88c\uc5d0 \uc624\uc2e0 \uac83\uc744 \ud658\uc601\ud569\ub2c8\ub2e4. \uc774\ubc88 \uc2dc\uac04\uc5d0\ub294 &#8220;\uac00\uc7a5 \ud070 \uc815\uc0ac\uac01\ud615 \ucc3e\uae30&#8221;\ub77c\ub294 \ubb38\uc81c\ub97c \ud574\uacb0\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 \uc8fc\uc5b4\uc9c4 2\ucc28\uc6d0 \ubc30\uc5f4\uc5d0\uc11c \uac00\uc7a5 \ud070 \uc815\uc0ac\uac01\ud615\uc758 \ub113\uc774\ub97c \ucc3e\ub294 \uacfc\uc81c\uc785\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub97c \ud1b5\ud574 \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d(Dynamic Programming)\uc758 \uae30\ucd08 \uac1c\ub150\uc744 \uc775\ud788\uace0, \ucf54\ud2c0\ub9b0 \uc5b8\uc5b4\uc758 \ubb38\ubc95\uacfc \ud2b9\uc9d5\ub3c4 \uc774\ud574\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \uc8fc\uc5b4\uc9c4 m x n \ud06c\uae30\uc758 2\ucc28\uc6d0 \uc774\uc9c4 \ubc30\uc5f4\uc774 &hellip; \ub354 \ubcf4\uae30 &quot;\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uac00\uc7a5 \ud070 \uc815\uc0ac\uac01\ud615 \ucc3e\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/28382\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T16:10:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:03:28+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\/28382\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/28382\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uac00\uc7a5 \ud070 \uc815\uc0ac\uac01\ud615 \ucc3e\uae30\",\"datePublished\":\"2024-10-27T16:10:43+00:00\",\"dateModified\":\"2024-11-26T07:03:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/28382\/\"},\"wordCount\":39,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/28382\/\",\"url\":\"https:\/\/atmokpo.com\/w\/28382\/\",\"name\":\"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uac00\uc7a5 \ud070 \uc815\uc0ac\uac01\ud615 \ucc3e\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T16:10:43+00:00\",\"dateModified\":\"2024-11-26T07:03:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/28382\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/28382\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/28382\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uac00\uc7a5 \ud070 \uc815\uc0ac\uac01\ud615 \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":"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uac00\uc7a5 \ud070 \uc815\uc0ac\uac01\ud615 \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\/28382\/","og_locale":"ko_KR","og_type":"article","og_title":"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uac00\uc7a5 \ud070 \uc815\uc0ac\uac01\ud615 \ucc3e\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc548\ub155\ud558\uc138\uc694, \ucf54\ud2c0\ub9b0\uc744 \ud65c\uc6a9\ud55c \ucf54\ub529\ud14c\uc2a4\ud2b8 \ubb38\uc81c \ud480\uc774 \uac15\uc88c\uc5d0 \uc624\uc2e0 \uac83\uc744 \ud658\uc601\ud569\ub2c8\ub2e4. \uc774\ubc88 \uc2dc\uac04\uc5d0\ub294 &#8220;\uac00\uc7a5 \ud070 \uc815\uc0ac\uac01\ud615 \ucc3e\uae30&#8221;\ub77c\ub294 \ubb38\uc81c\ub97c \ud574\uacb0\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 \uc8fc\uc5b4\uc9c4 2\ucc28\uc6d0 \ubc30\uc5f4\uc5d0\uc11c \uac00\uc7a5 \ud070 \uc815\uc0ac\uac01\ud615\uc758 \ub113\uc774\ub97c \ucc3e\ub294 \uacfc\uc81c\uc785\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub97c \ud1b5\ud574 \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d(Dynamic Programming)\uc758 \uae30\ucd08 \uac1c\ub150\uc744 \uc775\ud788\uace0, \ucf54\ud2c0\ub9b0 \uc5b8\uc5b4\uc758 \ubb38\ubc95\uacfc \ud2b9\uc9d5\ub3c4 \uc774\ud574\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \uc8fc\uc5b4\uc9c4 m x n \ud06c\uae30\uc758 2\ucc28\uc6d0 \uc774\uc9c4 \ubc30\uc5f4\uc774 &hellip; \ub354 \ubcf4\uae30 \"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uac00\uc7a5 \ud070 \uc815\uc0ac\uac01\ud615 \ucc3e\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/28382\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T16:10:43+00:00","article_modified_time":"2024-11-26T07:03:28+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\/28382\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/28382\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uac00\uc7a5 \ud070 \uc815\uc0ac\uac01\ud615 \ucc3e\uae30","datePublished":"2024-10-27T16:10:43+00:00","dateModified":"2024-11-26T07:03:28+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/28382\/"},"wordCount":39,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/28382\/","url":"https:\/\/atmokpo.com\/w\/28382\/","name":"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uac00\uc7a5 \ud070 \uc815\uc0ac\uac01\ud615 \ucc3e\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T16:10:43+00:00","dateModified":"2024-11-26T07:03:28+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/28382\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/28382\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/28382\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uac00\uc7a5 \ud070 \uc815\uc0ac\uac01\ud615 \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\/28382","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=28382"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/28382\/revisions"}],"predecessor-version":[{"id":28383,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/28382\/revisions\/28383"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=28382"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=28382"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=28382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}