{"id":28073,"date":"2024-10-27T15:21:19","date_gmt":"2024-10-27T15:21:19","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=28073"},"modified":"2024-11-26T07:10:08","modified_gmt":"2024-11-26T07:10:08","slug":"%ec%9e%90%eb%b0%94%ec%8a%a4%ed%81%ac%eb%a6%bd%ed%8a%b8-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c-%ea%b3%84%eb%8b%a8-%ec%88%98-%ea%b5%ac%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/28073\/","title":{"rendered":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uacc4\ub2e8 \uc218 \uad6c\ud558\uae30"},"content":{"rendered":"<div class=\"blog-post\">\n<p>\uc548\ub155\ud558\uc138\uc694, \uc624\ub298\uc740 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uc900\ube44\uc5d0 \uc720\uc6a9\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c \uc911 \ud558\ub098\uc778 &#8220;\uacc4\ub2e8 \uc218 \uad6c\ud558\uae30&#8221;\ub97c \ud480\uc5b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d(Dynamic Programming)\uacfc \uc870\ud569\uc801\uc73c\ub85c \uc811\uadfc\ud560 \uc218 \uc788\ub294 \ud765\ubbf8\ub85c\uc6b4 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \ubb38\uc81c \uc124\uba85, \ud480\uc774 \uacfc\uc815, \uadf8\ub9ac\uace0 \ucd5c\uc801\ud654 \ubc29\uc548\uc744 \ud3ec\ud568\ud558\uc5ec \uc790\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>\ubb38\uc81c \uc124\uba85<\/h2>\n<p>\uacc4\ub2e8 \uc218\ub294 n \uc790\ub9ac \uc218 \uc911, \uc778\uc811\ud55c \ub450 \uc790\ub9ac\uc758 \ucc28\uc774\uac00 1\uc778 \uc218\ub97c \uc758\ubbf8\ud569\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, 123, 321\uacfc \uac19\uc774 \uc778\uc811\ud55c \uc790\ub9ac\uc758 \uc22b\uc790 \ucc28\uc774\uac00 1\uc77c \uacbd\uc6b0 \uc774 \uc218\ub294 \uacc4\ub2e8 \uc218\uc785\ub2c8\ub2e4. \uc8fc\uc5b4\uc9c4 n\uc5d0 \ub300\ud574 n \uc790\ub9ac \uacc4\ub2e8 \uc218\ub97c \uad6c\ud558\ub294 \ud504\ub85c\uadf8\ub7a8\uc744 \uc791\uc131\ud558\uc138\uc694.<\/p>\n<h3>\uc785\ub825<\/h3>\n<p>\uc815\uc218 n (1 \u2264 n \u2264 1000)<\/p>\n<h3>\ucd9c\ub825<\/h3>\n<p>n \uc790\ub9ac\uc758 \uacc4\ub2e8 \uc218\uc758 \uac1c\uc218\ub97c 1,000,000,000\uc73c\ub85c \ub098\ub208 \ub098\uba38\uc9c0\ub97c \ucd9c\ub825\ud569\ub2c8\ub2e4.<\/p>\n<h2>\ubb38\uc81c \ud480\uc774 \uc804\ub7b5<\/h2>\n<p>\uc774 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574\uc11c\ub294 \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d \uc811\uadfc \ubc29\uc2dd\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uacc4\ub2e8 \uc218\ub294 \ub2e4\uc74c\uacfc \uac19\uc774 \uc0c1\ud0dc\ub97c \uc815\uc758\ud558\uc5ec \ud574\uacb0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li>dp[i][j]: i\uc790\ub9ac \uacc4\ub2e8 \uc218 \uc911, j\ub85c \ub05d\ub098\ub294 \uc218\uc758 \uac1c\uc218<\/li>\n<\/ul>\n<p>\uacc4\ub2e8 \uc218\ub97c \uad6c\uc131\ud558\ub294 \uaddc\uce59\uc744 \ub2e4\uc74c\uacfc \uac19\uc774 \uc138\uc6b8 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li>j\uac00 0\uc77c \ub54c(0\uc73c\ub85c \uc2dc\uc791\ud558\ub294 \uc218 \uc5c6\uc74c): dp[i][0] = dp[i-1][1]<\/li>\n<li>j\uac00 9\uc77c \ub54c: dp[i][9] = dp[i-1][8]<\/li>\n<li>\uadf8 \uc678\uc758 \uacbd\uc6b0: dp[i][j] = dp[i-1][j-1] + dp[i-1][j+1]<\/li>\n<\/ul>\n<h2>\ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d \ud14c\uc774\ube14 \ucd08\uae30\ud654<\/h2>\n<p>\uc774\uc81c dp \ud14c\uc774\ube14\uc744 \ucd08\uae30\ud654\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1\uc790\ub9ac \uc218\uc758 \uacbd\uc6b0, \uc22b\uc790\ub294 0\ubd80\ud130 9\uae4c\uc9c0 \uac00\ub2a5\ud558\ubbc0\ub85c dp[1][0] \ubd80\ud130 dp[1][9]\uae4c\uc9c0 \uac01\uac01 1\ub85c \ucd08\uae30\ud654\ud569\ub2c8\ub2e4.<\/p>\n<h2>\ud480\uc774 \ucf54\ub4dc<\/h2>\n<pre><code>\nfunction countStairNumbers(n) {\n    const MOD = 1000000000;\n    const dp = Array.from({ length: n + 1 }, () =&gt; Array(10).fill(0));\n\n    \/\/ 1\uc790\ub9ac \uc218 \ucd08\uae30\ud654\n    for (let j = 0; j &lt; 10; j++) {\n        dp[1][j] = 1;\n    }\n\n    \/\/ dp \ud14c\uc774\ube14 \ucc44\uc6b0\uae30\n    for (let i = 2; i &lt;= n; i++) {\n        for (let j = 0; j &lt; 10; j++) {\n            if (j &gt; 0) dp[i][j] += dp[i - 1][j - 1]; \/\/ j-1\uc5d0\uc11c \uc774\ub3d9\n            if (j &lt; 9) dp[i][j] += dp[i - 1][j + 1]; \/\/ j+1\uc5d0\uc11c \uc774\ub3d9\n            dp[i][j] %= MOD; \/\/ modulo \uc5f0\uc0b0\n        }\n    }\n\n    \/\/ n\uc790\ub9ac \ubaa8\ub4e0 \uacc4\ub2e8 \uc218\uc758 \ud569\n    let result = 0;\n    for (let j = 0; j &lt; 10; j++) {\n        result += dp[n][j];\n    }\n\n    return result % MOD;\n}\n\n\/\/ \ud568\uc218 \ud638\ucd9c \uc608\uc2dc\nconsole.log(countStairNumbers(3)); \/\/ 24\n<\/code><\/pre>\n<h2>\uc2dc\uac04 \ubcf5\uc7a1\ub3c4<\/h2>\n<p>\uc704 \ucf54\ub4dc\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub294 O(n)\uc774\uba70, \uacf5\uac04 \ubcf5\uc7a1\ub3c4\ub294 O(n)\uc785\ub2c8\ub2e4. \uac01 \uc790\ub9ac \uc218\uc758 \uc870\ud569\uc744 \ud1b5\ud574 \uacb0\uacfc\ub97c \ub3c4\ucd9c\ud558\uae30 \ub54c\ubb38\uc5d0 n\uc774 \ucee4\uc9c8\uc218\ub85d \uc2dc\uac04\uacfc \uacf5\uac04\uc744 \ud6a8\uc728\uc801\uc73c\ub85c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>\ucd5c\uc801\ud654 \ubc29\uc548<\/h2>\n<p>\ud604\uc7ac \uad6c\ud604\ub41c \ucf54\ub4dc\uc5d0\uc11c \uba54\ubaa8\ub9ac \uc0ac\uc6a9\ub7c9\uc744 \uc904\uc774\uae30 \uc704\ud574 dp \ubc30\uc5f4\uc744 2\ucc28\uc6d0\uc5d0\uc11c 1\ucc28\uc6d0\uc73c\ub85c \ubcc0\uacbd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uac01 i\uc5d0 \ub300\ud574 \uc774\uc804\uc758 dp \uc0c1\ud0dc\ub9cc \ud544\uc694\ud558\uae30 \ub54c\ubb38\uc5d0, \uc774\ub97c \uc774\uc6a9\ud574 \ucd5c\uc801\ud654\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>\nfunction countStairNumbersOptimized(n) {\n    const MOD = 1000000000;\n    const dp = Array(10).fill(0);\n    const temp = Array(10).fill(0);\n\n    \/\/ 1\uc790\ub9ac \uc218 \ucd08\uae30\ud654\n    for (let j = 0; j &lt; 10; j++) {\n        dp[j] = 1;\n    }\n\n    for (let i = 2; i &lt;= n; i++) {\n        for (let j = 0; j &lt; 10; j++) {\n            temp[j] = 0;\n            if (j &gt; 0) temp[j] += dp[j - 1]; \/\/ j-1\uc5d0\uc11c \uc774\ub3d9\n            if (j &lt; 9) temp[j] += dp[j + 1]; \/\/ j+1\uc5d0\uc11c \uc774\ub3d9\n            temp[j] %= MOD; \/\/ modulo \uc5f0\uc0b0\n        }\n        for (let j = 0; j &lt; 10; j++) {\n            dp[j] = temp[j]; \/\/ \ub2e4\uc74c \ub2e8\uacc4\ub85c \uc5c5\ub370\uc774\ud2b8\n        }\n    }\n\n    \/\/ n\uc790\ub9ac \ubaa8\ub4e0 \uacc4\ub2e8 \uc218\uc758 \ud569\n    let result = 0;\n    for (let j = 0; j &lt; 10; j++) {\n        result += dp[j];\n    }\n\n    return result % MOD;\n}\n<\/code><\/pre>\n<h2>\ub9c8\uce58\uba70<\/h2>\n<p>\uc774\ubc88 \uae00\uc5d0\uc11c\ub294 &#8220;\uacc4\ub2e8 \uc218 \uad6c\ud558\uae30&#8221; \ubb38\uc81c\ub97c \ud1b5\ud574 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\ub85c \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d\uc744 \ud65c\uc6a9\ud558\uc5ec \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ubc29\ubc95\uc744 \ubc30\uc6e0\uc2b5\ub2c8\ub2e4. \ucd08\uae30\ud654, dp \ud14c\uc774\ube14 \uad6c\uc131, \uadf8\ub9ac\uace0 \ucd5c\uc801\ud654 \uacfc\uc815\uc744 \uc790\uc138\ud788 \uc124\uba85\ud558\uc600\uc73c\uba70, \ub2e4\uc591\ud55c \ud14c\ud06c\ub2c9\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc54c\uace0\ub9ac\uc998\uc758 \ud6a8\uc728\uc131\uc744 \ub192\uc77c \uc218 \uc788\ub294 \ubc29\ubc95\ub3c4 \uc18c\uac1c\ud558\uc600\uc2b5\ub2c8\ub2e4. \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ud480 \ub54c\ub294 \ud56d\uc0c1 \ub2e4\uc591\ud55c \uc811\uadfc \ubc29\uc2dd\uc744 \uace0\ubbfc\ud558\uace0 \ucd5c\uc801\ud654\ud560 \ubc29\uc548\uc744 \ubaa8\uc0c9\ud574 \ubcf4\uc138\uc694. \uac10\uc0ac\ud569\ub2c8\ub2e4!<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\uc548\ub155\ud558\uc138\uc694, \uc624\ub298\uc740 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uc900\ube44\uc5d0 \uc720\uc6a9\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c \uc911 \ud558\ub098\uc778 &#8220;\uacc4\ub2e8 \uc218 \uad6c\ud558\uae30&#8221;\ub97c \ud480\uc5b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d(Dynamic Programming)\uacfc \uc870\ud569\uc801\uc73c\ub85c \uc811\uadfc\ud560 \uc218 \uc788\ub294 \ud765\ubbf8\ub85c\uc6b4 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \ubb38\uc81c \uc124\uba85, \ud480\uc774 \uacfc\uc815, \uadf8\ub9ac\uace0 \ucd5c\uc801\ud654 \ubc29\uc548\uc744 \ud3ec\ud568\ud558\uc5ec \uc790\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \uacc4\ub2e8 \uc218\ub294 n \uc790\ub9ac \uc218 \uc911, \uc778\uc811\ud55c \ub450 \uc790\ub9ac\uc758 \ucc28\uc774\uac00 1\uc778 \uc218\ub97c \uc758\ubbf8\ud569\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, 123, &hellip; <a href=\"https:\/\/atmokpo.com\/w\/28073\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uacc4\ub2e8 \uc218 \uad6c\ud558\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":[26],"tags":[],"class_list":["post-28073","post","type-post","status-publish","format-standard","hentry","category-26"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uacc4\ub2e8 \uc218 \uad6c\ud558\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\/28073\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uacc4\ub2e8 \uc218 \uad6c\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc548\ub155\ud558\uc138\uc694, \uc624\ub298\uc740 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uc900\ube44\uc5d0 \uc720\uc6a9\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c \uc911 \ud558\ub098\uc778 &#8220;\uacc4\ub2e8 \uc218 \uad6c\ud558\uae30&#8221;\ub97c \ud480\uc5b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d(Dynamic Programming)\uacfc \uc870\ud569\uc801\uc73c\ub85c \uc811\uadfc\ud560 \uc218 \uc788\ub294 \ud765\ubbf8\ub85c\uc6b4 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \ubb38\uc81c \uc124\uba85, \ud480\uc774 \uacfc\uc815, \uadf8\ub9ac\uace0 \ucd5c\uc801\ud654 \ubc29\uc548\uc744 \ud3ec\ud568\ud558\uc5ec \uc790\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \uacc4\ub2e8 \uc218\ub294 n \uc790\ub9ac \uc218 \uc911, \uc778\uc811\ud55c \ub450 \uc790\ub9ac\uc758 \ucc28\uc774\uac00 1\uc778 \uc218\ub97c \uc758\ubbf8\ud569\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, 123, &hellip; \ub354 \ubcf4\uae30 &quot;\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uacc4\ub2e8 \uc218 \uad6c\ud558\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/28073\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T15:21:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:10:08+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\/28073\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/28073\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uacc4\ub2e8 \uc218 \uad6c\ud558\uae30\",\"datePublished\":\"2024-10-27T15:21:19+00:00\",\"dateModified\":\"2024-11-26T07:10:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/28073\/\"},\"wordCount\":44,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/28073\/\",\"url\":\"https:\/\/atmokpo.com\/w\/28073\/\",\"name\":\"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uacc4\ub2e8 \uc218 \uad6c\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T15:21:19+00:00\",\"dateModified\":\"2024-11-26T07:10:08+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/28073\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/28073\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/28073\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uacc4\ub2e8 \uc218 \uad6c\ud558\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\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uacc4\ub2e8 \uc218 \uad6c\ud558\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\/28073\/","og_locale":"ko_KR","og_type":"article","og_title":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uacc4\ub2e8 \uc218 \uad6c\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc548\ub155\ud558\uc138\uc694, \uc624\ub298\uc740 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uc900\ube44\uc5d0 \uc720\uc6a9\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c \uc911 \ud558\ub098\uc778 &#8220;\uacc4\ub2e8 \uc218 \uad6c\ud558\uae30&#8221;\ub97c \ud480\uc5b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d(Dynamic Programming)\uacfc \uc870\ud569\uc801\uc73c\ub85c \uc811\uadfc\ud560 \uc218 \uc788\ub294 \ud765\ubbf8\ub85c\uc6b4 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \ubb38\uc81c \uc124\uba85, \ud480\uc774 \uacfc\uc815, \uadf8\ub9ac\uace0 \ucd5c\uc801\ud654 \ubc29\uc548\uc744 \ud3ec\ud568\ud558\uc5ec \uc790\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \uacc4\ub2e8 \uc218\ub294 n \uc790\ub9ac \uc218 \uc911, \uc778\uc811\ud55c \ub450 \uc790\ub9ac\uc758 \ucc28\uc774\uac00 1\uc778 \uc218\ub97c \uc758\ubbf8\ud569\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, 123, &hellip; \ub354 \ubcf4\uae30 \"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uacc4\ub2e8 \uc218 \uad6c\ud558\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/28073\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T15:21:19+00:00","article_modified_time":"2024-11-26T07:10:08+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\/28073\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/28073\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uacc4\ub2e8 \uc218 \uad6c\ud558\uae30","datePublished":"2024-10-27T15:21:19+00:00","dateModified":"2024-11-26T07:10:08+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/28073\/"},"wordCount":44,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/28073\/","url":"https:\/\/atmokpo.com\/w\/28073\/","name":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uacc4\ub2e8 \uc218 \uad6c\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T15:21:19+00:00","dateModified":"2024-11-26T07:10:08+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/28073\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/28073\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/28073\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uacc4\ub2e8 \uc218 \uad6c\ud558\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\/28073","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=28073"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/28073\/revisions"}],"predecessor-version":[{"id":28074,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/28073\/revisions\/28074"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=28073"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=28073"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=28073"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}