{"id":28122,"date":"2024-10-27T15:31:56","date_gmt":"2024-10-27T15:31:56","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=28122"},"modified":"2024-11-26T07:08:57","modified_gmt":"2024-11-26T07:08:57","slug":"%ec%8a%a4%ec%9c%84%ed%94%84%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%b5%ac%ea%b0%84-%ed%95%a9","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/28122\/","title":{"rendered":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569"},"content":{"rendered":"<p><body><\/p>\n<h2>\ubb38\uc81c \uc124\uba85<\/h2>\n<p>\uc8fc\uc5b4\uc9c4 \uc815\uc218 \ubc30\uc5f4 <code>nums<\/code>\uc640 \ub450 \uac1c\uc758 \uc815\uc218 <code>start<\/code>, <code>end<\/code>\uac00 \uc8fc\uc5b4\uc9c8 \ub54c, <code>nums[start] + nums[start + 1] + ... + nums[end]<\/code>\uc758 \uac12\uc744 \uad6c\ud558\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uad6c\uac04 \ud569\uc744 \ud6a8\uc728\uc801\uc73c\ub85c \uacc4\uc0b0\ud558\uae30 \uc704\ud55c \ubc29\ubc95\uacfc \uc2a4\uc704\ud504\ud2b8 \uc5b8\uc5b4\ub85c \uc774 \ubb38\uc81c\ub97c \uc5b4\ub5bb\uac8c \ud574\uacb0\ud560 \uc218 \uc788\ub294\uc9c0\ub97c \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>\uc785\ub825 \uc608\uc2dc<\/h2>\n<pre><code>[1, 2, 3, 4, 5], start = 1, end = 3<\/code><\/pre>\n<h2>\ucd9c\ub825 \uc608\uc2dc<\/h2>\n<pre><code>9<\/code><\/pre>\n<h2>\ubb38\uc81c \uc811\uadfc \ubc29\ubc95<\/h2>\n<p>\uc774 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574\uc11c\ub294 \uad6c\uac04 \ub367\uc148\uc744 \uc5b4\ub5bb\uac8c \ud6a8\uc728\uc801\uc73c\ub85c \uc218\ud589\ud560 \uc218 \uc788\uc744\uc9c0\ub97c \uace0\ub824\ud574\uc57c \ud569\ub2c8\ub2e4. \ub2e8\uc21c\ud55c \ubc29\ubc95\uc73c\ub85c\ub294 <code>for<\/code> \ub8e8\ud504\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc8fc\uc5b4\uc9c4 \uc778\ub371\uc2a4 \ubc94\uc704\uc758 \ud569\uc744 \uad6c\ud558\ub294 \uac83\uc785\ub2c8\ub2e4. \uadf8\ub7ec\ub098 \uc774 \ubc29\ubc95\uc740 \uac1c\uc120\uc758 \uc5ec\uc9c0\uac00 \ub9ce\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>1. \ub2e8\uc21c \ubc18\ubcf5\ubb38\uc744 \ud1b5\ud55c \ud569 \uacc4\uc0b0<\/h3>\n<p>\uba3c\uc800 \uac00\uc7a5 \uae30\ubcf8\uc801\uc778 \ubc29\ubc95\uc744 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc8fc\uc5b4\uc9c4 \ubc94\uc704\uc5d0 \ub300\ud574 \ubc18\ubcf5\ubb38\uc744 \uc0ac\uc6a9\ud558\uc5ec \ud569\uc744 \uad6c\ud558\ub294 \ubc29\ubc95\uc785\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uc774 \ubc29\ubc95\uc744 \uad6c\ud604\ud55c \uc2a4\uc704\ud504\ud2b8 \ucf54\ub4dc\uc785\ub2c8\ub2e4.<\/p>\n<pre><code>func rangeSum(nums: [Int], start: Int, end: Int) -&gt; Int {\n        var sum = 0\n        for i in start...end {\n            sum += nums[i]\n        }\n        return sum\n    }<\/code><\/pre>\n<h4>\uc0ac\uc6a9 \uc608\uc2dc<\/h4>\n<pre><code>let nums = [1, 2, 3, 4, 5]\nlet result = rangeSum(nums: nums, start: 1, end: 3)\nprint(result) \/\/ 9<\/code><\/pre>\n<h3>2. \ub204\uc801 \ud569 \ubc30\uc5f4\uc744 \ud1b5\ud55c \uc811\uadfc \ubc29\ubc95<\/h3>\n<p>\ub2e8\uc21c \ubc18\ubcf5\ubb38\uc740 \uacbd\uc6b0\uc5d0 \ub530\ub77c \uc131\ub2a5 \uc800\ud558\ub97c \uc720\ubc1c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ud2b9\ud788 \ud070 \ud06c\uae30\uc758 \ubc30\uc5f4\uc5d0 \ub300\ud574 \uc5ec\ub7ec \ubc88 \uad6c\uac04 \ud569\uc744 \uad6c\ud574\uc57c \ud560 \uacbd\uc6b0, \ub9e4\ubc88 \ubc18\ubcf5\ubb38\uc744 \uc218\ud589\ud558\ub294 \uac83\uc740 \ube44\ud6a8\uc728\uc801\uc785\ub2c8\ub2e4. \uc774\ub7f4 \ub54c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ubc29\ubc95\uc774 \ubc14\ub85c \ub204\uc801 \ud569 \ubc30\uc5f4\uc744 \uc0ac\uc6a9\ud558\ub294 \uac83\uc785\ub2c8\ub2e4.<\/p>\n<p>\ub204\uc801 \ud569 \ubc30\uc5f4\uc744 \uc0ac\uc6a9\ud558\uba74, \ubc30\uc5f4\uc758 \ud2b9\uc815 \uad6c\uac04\uc5d0 \ub300\ud55c \ud569\uc744 \uc0c1\uc218 \uc2dc\uac04 <code>O(1)<\/code>\uc5d0 \uacc4\uc0b0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc811\uadfc \ubc29\uc2dd\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4.<\/p>\n<ol>\n<li>\ubc30\uc5f4\uc758 \ud06c\uae30\ub9cc\ud07c \ub204\uc801 \ud569 \ubc30\uc5f4\uc744 \uc0dd\uc131\ud569\ub2c8\ub2e4.<\/li>\n<li>\ub204\uc801 \ud569 \ubc30\uc5f4\uc758 \uac01 \uc778\ub371\uc2a4\uc5d0 \ub300\ud574 \uc774\uc804 \uc778\ub371\uc2a4\uc758 \ub204\uc801 \ud569\uc744 \ub354\ud569\ub2c8\ub2e4.<\/li>\n<li>\uad6c\uac04 \ud569\uc744 \uad6c\ud560 \ub54c\ub294 <code>prefixSum[end + 1] - prefixSum[start]<\/code>\uc744 \ud1b5\ud574 \uc27d\uac8c \uad6c\uac04 \ud569\uc744 \uacc4\uc0b0\ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h4>\ub204\uc801 \ud569 \ubc30\uc5f4 \uad6c\ud604 \ucf54\ub4dc<\/h4>\n<pre><code>func rangeSumUsingPrefix(nums: [Int], start: Int, end: Int) -&gt; Int {\n        var prefixSum = [0]    \/\/ \ub204\uc801 \ud569 \ubc30\uc5f4 \ucd08\uae30\ud654\n        prefixSum.append(0)    \/\/ \uccab \ubc88\uc9f8 \uc778\ub371\uc2a4\ub294 0\uc73c\ub85c \ucd08\uae30\ud654\n        \n        \/\/ \ub204\uc801 \ud569 \ubc30\uc5f4 \uc0dd\uc131\n        for num in nums {\n            prefixSum.append(prefixSum.last! + num)\n        }\n        \n        \/\/ \uad6c\uac04 \ud569 \uacc4\uc0b0\n        return prefixSum[end + 1] - prefixSum[start]\n    }<\/code><\/pre>\n<h4>\uc0ac\uc6a9 \uc608\uc2dc<\/h4>\n<pre><code>let nums = [1, 2, 3, 4, 5]\nlet result = rangeSumUsingPrefix(nums: nums, start: 1, end: 3)\nprint(result) \/\/ 9<\/code><\/pre>\n<h2>\uc0ac\ub840 \ubd84\uc11d<\/h2>\n<p>\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \ub450 \uac00\uc9c0 \uc811\uadfc \ubc29\uc2dd\uc744 \ud1b5\ud574 \uad6c\uac04 \ud569 \ubb38\uc81c\ub97c \ud574\uacb0\ud574\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \ub2e8\uc21c \ubc18\ubcf5\ubb38\uc744 \uc774\uc6a9\ud55c \ubc29\ubc95\uc740 \uc9c1\uad00\uc801\uc774\uace0 \uc774\ud574\ud558\uae30 \uc26c\uc6b4 \uc7a5\uc810\uc774 \uc788\uc9c0\ub9cc, \ud070 \ubc30\uc5f4\uc758 \uacbd\uc6b0 \uc131\ub2a5 \uc800\ud558\ub97c \ucd08\ub798\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ubc18\uba74 \ub204\uc801 \ud569 \ubc30\uc5f4\uc744 \ud65c\uc6a9\ud55c \ubc29\ubc95\uc740 \uc131\ub2a5\uc801\uc73c\ub85c \uc6b0\uc218\ud55c \ubc29\uc2dd\uc785\ub2c8\ub2e4.<\/p>\n<h2>\uacb0\ub860<\/h2>\n<p>\uad6c\uac04 \ud569 \ubb38\uc81c\ub294 \uc54c\uace0\ub9ac\uc998\uacfc \uc790\ub8cc\uad6c\uc870\ub97c \ud65c\uc6a9\ud558\ub294 \uc88b\uc740 \uc608\uc2dc\uc785\ub2c8\ub2e4. \ud6a8\uc728\uc801\uc778 \uc811\uadfc \ubc29\uc2dd\uc744 \ud1b5\ud574 \ubb38\uc81c\ub97c \ub354\uc6b1 \ube60\ub974\uac8c \ud574\uacb0\ud560 \uc218 \uc788\ub2e4\ub294 \uac83\uc744 \ubc30\uc6e0\uc2b5\ub2c8\ub2e4. \uc2a4\uc704\ud504\ud2b8\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc774\ub7ec\ud55c \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uace0 \ub2e4\uc591\ud55c \uc54c\uace0\ub9ac\uc998 \uae30\uc220\uc744 \uc775\ud600\ubcf4\uc138\uc694.<\/p>\n<h3>\ucc38\uace0 \uc790\ub8cc<\/h3>\n<ul>\n<li>\uc2a4\uc704\ud504\ud2b8 \uacf5\uc2dd \ubb38\uc11c: <a href=\"https:\/\/developer.apple.com\/documentation\/swift\">developer.apple.com<\/a><\/li>\n<li>\uc790\ub8cc\uad6c\uc870\uc640 \uc54c\uace0\ub9ac\uc998 \ucc45: <a href=\"https:\/\/www.example.com\/book\">example.com<\/a><\/li>\n<\/ul>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ubb38\uc81c \uc124\uba85 \uc8fc\uc5b4\uc9c4 \uc815\uc218 \ubc30\uc5f4 nums\uc640 \ub450 \uac1c\uc758 \uc815\uc218 start, end\uac00 \uc8fc\uc5b4\uc9c8 \ub54c, nums[start] + nums[start + 1] + &#8230; + nums[end]\uc758 \uac12\uc744 \uad6c\ud558\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uad6c\uac04 \ud569\uc744 \ud6a8\uc728\uc801\uc73c\ub85c \uacc4\uc0b0\ud558\uae30 \uc704\ud55c \ubc29\ubc95\uacfc \uc2a4\uc704\ud504\ud2b8 \uc5b8\uc5b4\ub85c \uc774 \ubb38\uc81c\ub97c \uc5b4\ub5bb\uac8c \ud574\uacb0\ud560 \uc218 \uc788\ub294\uc9c0\ub97c \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc785\ub825 \uc608\uc2dc [1, 2, 3, 4, 5], start = 1, end = 3 \ucd9c\ub825 \uc608\uc2dc &hellip; <a href=\"https:\/\/atmokpo.com\/w\/28122\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569&#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":[27],"tags":[],"class_list":["post-28122","post","type-post","status-publish","format-standard","hentry","category-27"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569 - \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\/28122\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\ubb38\uc81c \uc124\uba85 \uc8fc\uc5b4\uc9c4 \uc815\uc218 \ubc30\uc5f4 nums\uc640 \ub450 \uac1c\uc758 \uc815\uc218 start, end\uac00 \uc8fc\uc5b4\uc9c8 \ub54c, nums[start] + nums[start + 1] + ... + nums[end]\uc758 \uac12\uc744 \uad6c\ud558\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uad6c\uac04 \ud569\uc744 \ud6a8\uc728\uc801\uc73c\ub85c \uacc4\uc0b0\ud558\uae30 \uc704\ud55c \ubc29\ubc95\uacfc \uc2a4\uc704\ud504\ud2b8 \uc5b8\uc5b4\ub85c \uc774 \ubb38\uc81c\ub97c \uc5b4\ub5bb\uac8c \ud574\uacb0\ud560 \uc218 \uc788\ub294\uc9c0\ub97c \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc785\ub825 \uc608\uc2dc [1, 2, 3, 4, 5], start = 1, end = 3 \ucd9c\ub825 \uc608\uc2dc &hellip; \ub354 \ubcf4\uae30 &quot;\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/28122\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T15:31:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:08:57+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<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/28122\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/28122\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569\",\"datePublished\":\"2024-10-27T15:31:56+00:00\",\"dateModified\":\"2024-11-26T07:08:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/28122\/\"},\"wordCount\":5,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/28122\/\",\"url\":\"https:\/\/atmokpo.com\/w\/28122\/\",\"name\":\"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T15:31:56+00:00\",\"dateModified\":\"2024-11-26T07:08:57+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/28122\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/28122\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/28122\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569\"}]},{\"@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":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569 - \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\/28122\/","og_locale":"ko_KR","og_type":"article","og_title":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\ubb38\uc81c \uc124\uba85 \uc8fc\uc5b4\uc9c4 \uc815\uc218 \ubc30\uc5f4 nums\uc640 \ub450 \uac1c\uc758 \uc815\uc218 start, end\uac00 \uc8fc\uc5b4\uc9c8 \ub54c, nums[start] + nums[start + 1] + ... + nums[end]\uc758 \uac12\uc744 \uad6c\ud558\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uad6c\uac04 \ud569\uc744 \ud6a8\uc728\uc801\uc73c\ub85c \uacc4\uc0b0\ud558\uae30 \uc704\ud55c \ubc29\ubc95\uacfc \uc2a4\uc704\ud504\ud2b8 \uc5b8\uc5b4\ub85c \uc774 \ubb38\uc81c\ub97c \uc5b4\ub5bb\uac8c \ud574\uacb0\ud560 \uc218 \uc788\ub294\uc9c0\ub97c \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc785\ub825 \uc608\uc2dc [1, 2, 3, 4, 5], start = 1, end = 3 \ucd9c\ub825 \uc608\uc2dc &hellip; \ub354 \ubcf4\uae30 \"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569\"","og_url":"https:\/\/atmokpo.com\/w\/28122\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T15:31:56+00:00","article_modified_time":"2024-11-26T07:08:57+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/28122\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/28122\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569","datePublished":"2024-10-27T15:31:56+00:00","dateModified":"2024-11-26T07:08:57+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/28122\/"},"wordCount":5,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/28122\/","url":"https:\/\/atmokpo.com\/w\/28122\/","name":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T15:31:56+00:00","dateModified":"2024-11-26T07:08:57+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/28122\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/28122\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/28122\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569"}]},{"@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\/28122","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=28122"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/28122\/revisions"}],"predecessor-version":[{"id":28123,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/28122\/revisions\/28123"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=28122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=28122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=28122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}