{"id":27488,"date":"2024-10-27T14:12:04","date_gmt":"2024-10-27T14:12:04","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=27488"},"modified":"2024-11-26T07:17:50","modified_gmt":"2024-11-26T07:17:50","slug":"c-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c-%ec%9d%b4%ec%a7%84-%ed%83%90%ec%83%89","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/27488\/","title":{"rendered":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc774\uc9c4 \ud0d0\uc0c9"},"content":{"rendered":"<p><body><\/p>\n<h2>1. \ubb38\uc81c \uc815\uc758<\/h2>\n<p>\n        \uc774\uc9c4 \ud0d0\uc0c9\uc740 \uc815\ub82c\ub41c \ubc30\uc5f4\uc5d0\uc11c \ud2b9\uc815 \uac12\uc744 \ucc3e\uae30 \uc704\ud55c \uc54c\uace0\ub9ac\uc998\uc785\ub2c8\ub2e4. \uc8fc\uc5b4\uc9c4 \uac12\uc744 \ucc3e\uae30 \uc704\ud574 \ubc30\uc5f4\uc758 \uc911\uac04 \uac12\uc744 \ube44\uad50\ud558\uba70 \ud0d0\uc0c9 \ubc94\uc704\ub97c \ubc18\uc73c\ub85c \ub098\ub204\ub294 \ubc29\uc2dd\uc73c\ub85c \ub3d9\uc791\ud569\ub2c8\ub2e4.<br \/>\n        \uc774\uc9c4 \ud0d0\uc0c9\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub294 O(log n)\uc73c\ub85c \ub9e4\uc6b0 \ud6a8\uc728\uc801\uc785\ub2c8\ub2e4. \uc774\uc9c4 \ud0d0\uc0c9\uc744 \uc774\ud574\ud558\uace0 \uc2e4\uc81c\ub85c \uad6c\ud604\ud574\ubcf4\uba70 \uc774 \uc54c\uace0\ub9ac\uc998\uc758 \uc6d0\ub9ac\ub97c \uc775\ud600\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<h2>2. \ubb38\uc81c \uc124\uba85<\/h2>\n<p>\n        \ub2e4\uc74c\uc740 \uc774\uc9c4 \ud0d0\uc0c9\uc744 \uc0ac\uc6a9\ud558\uc5ec \ud2b9\uc815 \uc22b\uc790\ub97c \ucc3e\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4:\n    <\/p>\n<pre>\n        <code>\n            \/\/ \ubb38\uc81c: \uc8fc\uc5b4\uc9c4 \uc815\uc218 \ubc30\uc5f4\uc5d0\uc11c \ud2b9\uc815 \uc22b\uc790\ub97c \ucc3e\uc73c\uc138\uc694.\n            \/\/ \ubc30\uc5f4\uc740 \uc624\ub984\ucc28\uc21c\uc73c\ub85c \uc815\ub82c\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4.\n            \/\/ \uc22b\uc790\ub97c \ucc3e\uc73c\uba74 \ud574\ub2f9 \uc778\ub371\uc2a4\ub97c \ubc18\ud658\ud558\uace0, \n            \/\/ \ucc3e\uc9c0 \ubabb\ud558\uba74 -1\uc744 \ubc18\ud658\ud558\uc138\uc694.\n        <\/code>\n    <\/pre>\n<h3>\uc608\uc81c \uc785\ub825<\/h3>\n<ul>\n<li>\uc785\ub825 \ubc30\uc5f4: [2, 3, 4, 10, 40]<\/li>\n<li>\ucc3e\uace0\uc790 \ud558\ub294 \uac12: 10<\/li>\n<\/ul>\n<h3>\uc608\uc81c \ucd9c\ub825<\/h3>\n<ul>\n<li>\ucd9c\ub825: 3 (10\uc740 \uc778\ub371\uc2a4 3\uc5d0 \uc704\uce58)<\/li>\n<\/ul>\n<h2>3. \ubb38\uc81c \ud574\uacb0 \uc804\ub7b5<\/h2>\n<p>\n        \uc774\uc9c4 \ud0d0\uc0c9\uc758 \uae30\ubcf8\uc801\uc778 \uc544\uc774\ub514\uc5b4\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:\n    <\/p>\n<ul>\n<li>\ubc30\uc5f4\uc758 \uc911\uac04 \uc694\uc18c\ub97c \uc120\ud0dd\ud55c\ub2e4.<\/li>\n<li>\uc911\uac04 \uc694\uc18c\uc640 \ucc3e\uace0\uc790 \ud558\ub294 \uac12\uc744 \ube44\uad50\ud55c\ub2e4.<\/li>\n<li>\ucc3e\uace0\uc790 \ud558\ub294 \uac12\uc774 \uc911\uac04 \uc694\uc18c\ubcf4\ub2e4 \uc791\uc73c\uba74, \uc67c\ucabd \ubd80\ubd84 \ubc30\uc5f4\ub85c \ud0d0\uc0c9 \ubc94\uc704\ub97c \uc904\uc778\ub2e4.<\/li>\n<li>\ucc3e\uace0\uc790 \ud558\ub294 \uac12\uc774 \uc911\uac04 \uc694\uc18c\ubcf4\ub2e4 \ud06c\uba74, \uc624\ub978\ucabd \ubd80\ubd84 \ubc30\uc5f4\ub85c \ud0d0\uc0c9 \ubc94\uc704\ub97c \uc904\uc778\ub2e4.<\/li>\n<li>\uc774 \uacfc\uc815\uc744 \ucc3e\uace0\uc790 \ud558\ub294 \uac12\uc744 \ucc3e\uc744 \ub54c\uae4c\uc9c0 \ubc18\ubcf5\ud55c\ub2e4.<\/li>\n<\/ul>\n<h2>4. \uc54c\uace0\ub9ac\uc998 \uad6c\ud604<\/h2>\n<p>\n        \uc774\uc81c \uc774\uc9c4 \ud0d0\uc0c9 \uc54c\uace0\ub9ac\uc998\uc744 C#\uc73c\ub85c \uc791\uc131\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc544\ub798 \ucf54\ub4dc\ub294 \uc8fc\uc5b4\uc9c4 \ubc30\uc5f4\uc5d0\uc11c \ud2b9\uc815 \uac12\uc744 \ucc3e\ub294 \uc774\uc9c4 \ud0d0\uc0c9 \uc54c\uace0\ub9ac\uc998\uc758 \uad6c\ud604\uc785\ub2c8\ub2e4.\n    <\/p>\n<pre>\n        <code>\n            using System;\n\n            class Program\n            {\n                static int BinarySearch(int[] arr, int target)\n                {\n                    int left = 0;\n                    int right = arr.Length - 1;\n\n                    while (left &lt;= right)\n                    {\n                        int mid = left + (right - left) \/ 2;\n\n                        \/\/ \uc911\uac04 \uac12\uacfc \ucc3e\uace0\uc790 \ud558\ub294 \uac12 \ube44\uad50\n                        if (arr[mid] == target)\n                        {\n                            return mid; \/\/ \uac12\uc744 \ucc3e\uc73c\uba74 \uc778\ub371\uc2a4 \ubc18\ud658\n                        }\n                        else if (arr[mid] &lt; target)\n                        {\n                            left = mid + 1; \/\/ \uc624\ub978\ucabd \ubd80\ubd84 \ubc30\uc5f4\ub85c \ud0d0\uc0c9\n                        }\n                        else\n                        {\n                            right = mid - 1; \/\/ \uc67c\ucabd \ubd80\ubd84 \ubc30\uc5f4\ub85c \ud0d0\uc0c9\n                        }\n                    }\n\n                    return -1; \/\/ \uac12\uc744 \ucc3e\uc9c0 \ubabb\ud55c \uacbd\uc6b0\n                }\n\n                static void Main(string[] args)\n                {\n                    int[] arr = { 2, 3, 4, 10, 40 };\n                    int target = 10;\n                    int result = BinarySearch(arr, target);\n\n                    if (result == -1)\n                    {\n                        Console.WriteLine(\"\ucc3e\uace0\uc790 \ud558\ub294 \uac12\uc774 \uc5c6\uc2b5\ub2c8\ub2e4.\");\n                    }\n                    else\n                    {\n                        Console.WriteLine(\"\ucc3e\uace0\uc790 \ud558\ub294 \uac12\uc758 \uc778\ub371\uc2a4: \" + result);\n                    }\n                }\n            }\n        <\/code>\n    <\/pre>\n<h2>5. \ucf54\ub4dc \uc124\uba85<\/h2>\n<p>\n        \uc704\uc758 C# \ucf54\ub4dc\uc5d0\uc11c \uc774\uc9c4 \ud0d0\uc0c9\uc744 \uc5b4\ub5bb\uac8c \uad6c\ud604\ud588\ub294\uc9c0 \uc790\uc138\ud788 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<ul>\n<li><code>BinarySearch<\/code> \uba54\uc11c\ub4dc\ub294 \ub450 \uac1c\uc758 \ub9e4\uac1c\ubcc0\uc218\ub97c \ubc1b\uc2b5\ub2c8\ub2e4: \uc815\uc218 \ubc30\uc5f4 <code>arr<\/code>\uc640 \ucc3e\uace0\uc790 \ud558\ub294 \uac12 <code>target<\/code>.<\/li>\n<li>\ubcc0\uc218 <code>left<\/code>\ub294 \ubc30\uc5f4\uc758 \uc2dc\uc791 \uc778\ub371\uc2a4\ub97c, <code>right<\/code>\ub294 \ubc30\uc5f4\uc758 \ub05d \uc778\ub371\uc2a4\ub97c \uc800\uc7a5\ud569\ub2c8\ub2e4.<\/li>\n<li>\ubc18\ubcf5\ubb38 <code>while (left &lt;= right)<\/code>\uc740 \ud0d0\uc0c9 \ubc94\uc704\uac00 \ub0a8\uc544 \uc788\ub294 \ub3d9\uc548 \uacc4\uc18d\ub429\ub2c8\ub2e4.<\/li>\n<li>\uc911\uac04 \uc778\ub371\uc2a4\ub294 <code>int mid = left + (right - left) \/ 2;<\/code>\ub85c \uacc4\uc0b0\ub429\ub2c8\ub2e4. \uc774\ub294 \ub300\uaddc\ubaa8 \ubc30\uc5f4\uc5d0\uc11c \uc778\ub371\uc2a4 \uc624\ubc84\ud50c\ub85c\uc6b0\ub97c \ubc29\uc9c0\ud558\ub294 \ubc29\ubc95 \uc911 \ud558\ub098\uc785\ub2c8\ub2e4.<\/li>\n<li>\uc911\uac04 \uac12\uacfc \ud0c0\uac9f\uac12\uc744 \ube44\uad50\ud558\uc5ec \uc870\uac74\uc5d0 \ub530\ub77c <code>left<\/code> \ub610\ub294 <code>right<\/code>\uc758 \uac12\uc744 \uc218\uc815\ud569\ub2c8\ub2e4.<\/li>\n<li>\ud0c0\uac9f\uac12\uc744 \ucc3e\uc73c\uba74 \ud574\ub2f9 \uc778\ub371\uc2a4\ub97c \ubc18\ud658\ud558\uace0, \ud0c0\uac9f\uac12\uc774 \ubc1c\uacac\ub418\uc9c0 \uc54a\uc73c\uba74 -1\uc744 \ubc18\ud658\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>6. \uc2dc\uac04 \ubcf5\uc7a1\ub3c4<\/h2>\n<p>\n        \uc774\uc9c4 \ud0d0\uc0c9\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub294 O(log n)\uc785\ub2c8\ub2e4. \uc774\ub294 \ub370\uc774\ud130\ub97c \ubc18\uc73c\ub85c \ub098\ub204\uc5b4 \uac80\uc0c9 \ubc94\uc704\ub97c \uc904\uc774\uae30 \ub54c\ubb38\uc785\ub2c8\ub2e4.<br \/>\n        n\uc774 \ub9e4\uc6b0 \ud070 \uc218\uce58\uc77c\uc9c0\ub77c\ub3c4, \uc774\uc9c4 \ud0d0\uc0c9\uc740 \uc0c1\ub300\uc801\uc73c\ub85c \uc801\uc740 \ud69f\uc218\uc758 \ube44\uad50\ub85c \uacb0\uacfc\ub97c \ub3c4\ucd9c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<h2>7. \uacb0\ub860<\/h2>\n<p>\n        \uc774\uc9c4 \ud0d0\uc0c9 \uc54c\uace0\ub9ac\uc998\uc740 \ub370\uc774\ud130\uac00 \uc815\ub82c\ub41c \uc0c1\ud0dc\uc5d0\uc11c \ub9e4\uc6b0 \ud6a8\uc728\uc801\uc73c\ub85c \ub3d9\uc791\ud569\ub2c8\ub2e4.<br \/>\n        \uc774 \uc54c\uace0\ub9ac\uc998\uc744 \uc798 \uc774\ud574\ud558\uace0 \uad6c\ud604\ud558\uba74, \ub2e4\uc591\ud55c \ucf54\ub529 \ud14c\uc2a4\ud2b8 \ubc0f \uac1c\ubc1c \uc791\uc5c5\uc5d0 \ud070 \ub3c4\uc6c0\uc774 \ub420 \uac83\uc785\ub2c8\ub2e4.<br \/>\n        \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ud480\uba74\uc11c \uc774\uc9c4 \ud0d0\uc0c9\uc5d0 \ub300\ud55c \uc2e4\ub825\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\uc2dc\uae38 \ubc14\ub78d\ub2c8\ub2e4.\n    <\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \ubb38\uc81c \uc815\uc758 \uc774\uc9c4 \ud0d0\uc0c9\uc740 \uc815\ub82c\ub41c \ubc30\uc5f4\uc5d0\uc11c \ud2b9\uc815 \uac12\uc744 \ucc3e\uae30 \uc704\ud55c \uc54c\uace0\ub9ac\uc998\uc785\ub2c8\ub2e4. \uc8fc\uc5b4\uc9c4 \uac12\uc744 \ucc3e\uae30 \uc704\ud574 \ubc30\uc5f4\uc758 \uc911\uac04 \uac12\uc744 \ube44\uad50\ud558\uba70 \ud0d0\uc0c9 \ubc94\uc704\ub97c \ubc18\uc73c\ub85c \ub098\ub204\ub294 \ubc29\uc2dd\uc73c\ub85c \ub3d9\uc791\ud569\ub2c8\ub2e4. \uc774\uc9c4 \ud0d0\uc0c9\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub294 O(log n)\uc73c\ub85c \ub9e4\uc6b0 \ud6a8\uc728\uc801\uc785\ub2c8\ub2e4. \uc774\uc9c4 \ud0d0\uc0c9\uc744 \uc774\ud574\ud558\uace0 \uc2e4\uc81c\ub85c \uad6c\ud604\ud574\ubcf4\uba70 \uc774 \uc54c\uace0\ub9ac\uc998\uc758 \uc6d0\ub9ac\ub97c \uc775\ud600\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 2. \ubb38\uc81c \uc124\uba85 \ub2e4\uc74c\uc740 \uc774\uc9c4 \ud0d0\uc0c9\uc744 \uc0ac\uc6a9\ud558\uc5ec \ud2b9\uc815 \uc22b\uc790\ub97c \ucc3e\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4: \/\/ &hellip; <a href=\"https:\/\/atmokpo.com\/w\/27488\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc774\uc9c4 \ud0d0\uc0c9&#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-27488","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, \uc774\uc9c4 \ud0d0\uc0c9 - \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\/27488\/\" \/>\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, \uc774\uc9c4 \ud0d0\uc0c9 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"1. \ubb38\uc81c \uc815\uc758 \uc774\uc9c4 \ud0d0\uc0c9\uc740 \uc815\ub82c\ub41c \ubc30\uc5f4\uc5d0\uc11c \ud2b9\uc815 \uac12\uc744 \ucc3e\uae30 \uc704\ud55c \uc54c\uace0\ub9ac\uc998\uc785\ub2c8\ub2e4. \uc8fc\uc5b4\uc9c4 \uac12\uc744 \ucc3e\uae30 \uc704\ud574 \ubc30\uc5f4\uc758 \uc911\uac04 \uac12\uc744 \ube44\uad50\ud558\uba70 \ud0d0\uc0c9 \ubc94\uc704\ub97c \ubc18\uc73c\ub85c \ub098\ub204\ub294 \ubc29\uc2dd\uc73c\ub85c \ub3d9\uc791\ud569\ub2c8\ub2e4. \uc774\uc9c4 \ud0d0\uc0c9\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub294 O(log n)\uc73c\ub85c \ub9e4\uc6b0 \ud6a8\uc728\uc801\uc785\ub2c8\ub2e4. \uc774\uc9c4 \ud0d0\uc0c9\uc744 \uc774\ud574\ud558\uace0 \uc2e4\uc81c\ub85c \uad6c\ud604\ud574\ubcf4\uba70 \uc774 \uc54c\uace0\ub9ac\uc998\uc758 \uc6d0\ub9ac\ub97c \uc775\ud600\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 2. \ubb38\uc81c \uc124\uba85 \ub2e4\uc74c\uc740 \uc774\uc9c4 \ud0d0\uc0c9\uc744 \uc0ac\uc6a9\ud558\uc5ec \ud2b9\uc815 \uc22b\uc790\ub97c \ucc3e\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4: \/\/ &hellip; \ub354 \ubcf4\uae30 &quot;C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc774\uc9c4 \ud0d0\uc0c9&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/27488\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T14:12:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:17:50+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\/27488\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27488\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc774\uc9c4 \ud0d0\uc0c9\",\"datePublished\":\"2024-10-27T14:12:04+00:00\",\"dateModified\":\"2024-11-26T07:17:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27488\/\"},\"wordCount\":11,\"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\/27488\/\",\"url\":\"https:\/\/atmokpo.com\/w\/27488\/\",\"name\":\"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc774\uc9c4 \ud0d0\uc0c9 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T14:12:04+00:00\",\"dateModified\":\"2024-11-26T07:17:50+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27488\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/27488\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/27488\/#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, \uc774\uc9c4 \ud0d0\uc0c9\"}]},{\"@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, \uc774\uc9c4 \ud0d0\uc0c9 - \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\/27488\/","og_locale":"ko_KR","og_type":"article","og_title":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc774\uc9c4 \ud0d0\uc0c9 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"1. \ubb38\uc81c \uc815\uc758 \uc774\uc9c4 \ud0d0\uc0c9\uc740 \uc815\ub82c\ub41c \ubc30\uc5f4\uc5d0\uc11c \ud2b9\uc815 \uac12\uc744 \ucc3e\uae30 \uc704\ud55c \uc54c\uace0\ub9ac\uc998\uc785\ub2c8\ub2e4. \uc8fc\uc5b4\uc9c4 \uac12\uc744 \ucc3e\uae30 \uc704\ud574 \ubc30\uc5f4\uc758 \uc911\uac04 \uac12\uc744 \ube44\uad50\ud558\uba70 \ud0d0\uc0c9 \ubc94\uc704\ub97c \ubc18\uc73c\ub85c \ub098\ub204\ub294 \ubc29\uc2dd\uc73c\ub85c \ub3d9\uc791\ud569\ub2c8\ub2e4. \uc774\uc9c4 \ud0d0\uc0c9\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub294 O(log n)\uc73c\ub85c \ub9e4\uc6b0 \ud6a8\uc728\uc801\uc785\ub2c8\ub2e4. \uc774\uc9c4 \ud0d0\uc0c9\uc744 \uc774\ud574\ud558\uace0 \uc2e4\uc81c\ub85c \uad6c\ud604\ud574\ubcf4\uba70 \uc774 \uc54c\uace0\ub9ac\uc998\uc758 \uc6d0\ub9ac\ub97c \uc775\ud600\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 2. \ubb38\uc81c \uc124\uba85 \ub2e4\uc74c\uc740 \uc774\uc9c4 \ud0d0\uc0c9\uc744 \uc0ac\uc6a9\ud558\uc5ec \ud2b9\uc815 \uc22b\uc790\ub97c \ucc3e\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4: \/\/ &hellip; \ub354 \ubcf4\uae30 \"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc774\uc9c4 \ud0d0\uc0c9\"","og_url":"https:\/\/atmokpo.com\/w\/27488\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T14:12:04+00:00","article_modified_time":"2024-11-26T07:17:50+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\/27488\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/27488\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc774\uc9c4 \ud0d0\uc0c9","datePublished":"2024-10-27T14:12:04+00:00","dateModified":"2024-11-26T07:17:50+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/27488\/"},"wordCount":11,"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\/27488\/","url":"https:\/\/atmokpo.com\/w\/27488\/","name":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc774\uc9c4 \ud0d0\uc0c9 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T14:12:04+00:00","dateModified":"2024-11-26T07:17:50+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/27488\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/27488\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/27488\/#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, \uc774\uc9c4 \ud0d0\uc0c9"}]},{"@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":[{"id":26870,"url":"https:\/\/atmokpo.com\/w\/26870\/","url_meta":{"origin":27488,"position":0},"title":"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc774\uc9c4 \ud0d0\uc0c9","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: \uc870\uad11\ud615 \uc791\uc131\uc77c: 2024\ub144 11\uc6d4 26\uc77c 1. \uc774\uc9c4 \ud0d0\uc0c9 \uc54c\uace0\ub9ac\uc998 \uc18c\uac1c \uc774\uc9c4 \ud0d0\uc0c9(Binary Search)\uc740 \uc815\ub82c\ub41c \ubc30\uc5f4\uc5d0\uc11c \ud2b9\uc815 \uac12\uc744 \ucc3e\uae30 \uc704\ud574 \uc0ac\uc6a9\ud558\ub294 \uc54c\uace0\ub9ac\uc998\uc785\ub2c8\ub2e4. \ubc30\uc5f4\uc758 \uc911\uac04\uac12\uc744 \ube44\uad50\ud558\uc5ec \uc6d0\ud558\ub294 \uac12\uc774 \uc911\uac04\uac12\ubcf4\ub2e4 \uc791\uc73c\uba74 \uc67c\ucabd \ubd80\ubd84\uc5d0\uc11c, \ud06c\uba74 \uc624\ub978\ucabd \ubd80\ubd84\uc5d0\uc11c \uac12\uc744 \ucc3e\ub294 \ubc29\uc2dd\uc73c\ub85c \uad6c\ud604\ub429\ub2c8\ub2e4. \uc774\uc9c4 \ud0d0\uc0c9\uc740 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\uac00 O(log n)\uc73c\ub85c \ub9e4\uc6b0 \ud6a8\uc728\uc801\uc785\ub2c8\ub2e4. \uc774\uc9c4 \ud0d0\uc0c9\uc744 \uc0ac\uc6a9\ud558\uae30 \uc704\ud574\uc11c\ub294\u2026","rel":"","context":"&quot;\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/%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\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":28188,"url":"https:\/\/atmokpo.com\/w\/28188\/","url_meta":{"origin":27488,"position":1},"title":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc0ac\uc804 \ucc3e\uae30","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: \uc870\uad11\ud615 \uc791\uc131\uc77c: 2024\ub144 11\uc6d4 26\uc77c 1. \ubb38\uc81c \uc815\uc758 \ucd5c\uadfc IT \uae30\uc5c5\uc5d0\uc11c \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc758 \uc911\uc694\uc131\uc774 \ubd80\uac01\ub418\uba74\uc11c \ub2e4\uc591\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ud478\ub294 \ub2a5\ub825\uc774 \uc694\uad6c\ub418\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \"\uc0ac\uc804 \ucc3e\uae30\"\ub77c\ub294 \ubb38\uc81c\ub97c \ud1b5\ud574 \uc2a4\uc704\ud504\ud2b8 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\ub97c \ud65c\uc6a9\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c \ud480\uc774\ub97c \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 \uc8fc\uc5b4\uc9c4 \ub2e8\uc5b4 \ubaa9\ub85d\uc5d0\uc11c \ud2b9\uc815 \ub2e8\uc5b4\uac00 \uc5b4\ub514\uc5d0 \uc704\uce58\ud558\ub294\uc9c0\ub97c \ucc3e\ub294 \ubb38\uc81c\ub85c, \uae30\ubcf8\uc801\uc778\u2026","rel":"","context":"&quot;\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/%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\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":27308,"url":"https:\/\/atmokpo.com\/w\/27308\/","url_meta":{"origin":27488,"position":2},"title":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \uad6c\ud558\uae30 2","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: \uc870\uad11\ud615 \uc791\uc131\uc77c: 2024\ub144 11\uc6d4 26\uc77c \uc18c\uac1c \ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 C# \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec '\ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1(LCA; Lowest Common Ancestor)' \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \ub2e4\ub8f0 \uac83\uc785\ub2c8\ub2e4. \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1\uc740 \uc774\uc9c4 \ud2b8\ub9ac\uc5d0\uc11c \ub450 \ub178\ub4dc\uc758 \uacf5\ud1b5 \uc870\uc0c1 \uc911 \uac00\uc7a5 \uae4a\uc740 \ub178\ub4dc\ub97c \uc758\ubbf8\ud569\ub2c8\ub2e4. \ud2b9\uc815 \uc54c\uace0\ub9ac\uc998 \ubc0f \uc790\ub8cc \uad6c\uc870\ub97c \ud65c\uc6a9\ud558\uc5ec \uc774 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \uacfc\uc815\uc744 \uc790\uc138\ud788\u2026","rel":"","context":"&quot;C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/c-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":28308,"url":"https:\/\/atmokpo.com\/w\/28308\/","url_meta":{"origin":27488,"position":3},"title":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc19f\uac12 \ucc3e\uae30 1","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: \uc870\uad11\ud615 \uc791\uc131\uc77c: 2024\ub144 11\uc6d4 26\uc77c 1. \ubb38\uc81c \uc124\uba85 \uc8fc\uc5b4\uc9c4 \uc815\uc218 \ubc30\uc5f4\uc5d0\uc11c \ucd5c\uc19f\uac12\uc744 \ucc3e\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \ubc30\uc5f4\uc5d0\ub294 \uc911\ubcf5\ub41c \uac12\uc774 \uc788\uc744 \uc218 \uc788\uc73c\uba70, \ubc30\uc5f4\uc758 \uae38\uc774\ub294 1 \uc774\uc0c1 100,000 \uc774\ud558\uc785\ub2c8\ub2e4. \ud568\uc218\ub294 \ucd5c\uc19f\uac12\uc744 \ubc18\ud658\ud574\uc57c \ud569\ub2c8\ub2e4. \ub9cc\uc57d \ubc30\uc5f4\uc774 \ube44\uc5b4 \uc788\ub294 \uacbd\uc6b0 nil\uc744 \ubc18\ud658\ud574\uc57c \ud569\ub2c8\ub2e4. \ud568\uc218 \uc2dc\uadf8\ub2c8\ucc98: func findMinimum(in array: [Int]) -> Int? 2. \uc785\ub825 \uc608\uc2dc\u2026","rel":"","context":"&quot;\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/%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\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":27599,"url":"https:\/\/atmokpo.com\/w\/27599\/","url_meta":{"origin":27488,"position":4},"title":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ub514\ubc84\uae45 \ud65c\uc6a9 \uc0ac\ub840 \uc0b4\ud3b4\ubcf4\uae30","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: \uc870\uad11\ud615 \uc791\uc131\uc77c: 2024\ub144 11\uc6d4 26\uc77c 1. \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c \uc18c\uac1c \uc774\ubc88 \ud3ec\uc2a4\ud2b8\uc5d0\uc11c\ub294 C++\uc744 \uc0ac\uc6a9\ud558\uc5ec \ud574\uacb0\ud560 \uc218 \uc788\ub294 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ud558\ub098 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub97c \ud1b5\ud574 C++\uc758 \uae30\ubcf8 \ubb38\ubc95\uacfc \uc54c\uace0\ub9ac\uc998 \uc811\uadfc \ubc29\uc2dd\uc744 \uc54c\uc544\ubcf4\uace0, \ub514\ubc84\uae45 \uae30\uc220\uc744 \ud1b5\ud574 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \uacfc\uc815\ub3c4 \uacbd\ud5d8\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ubb38\uc81c: \ub450 \uc218\uc758 \ud569 \uc8fc\uc5b4\uc9c4 \uc815\uc218 \ubc30\uc5f4\uacfc \uc815\uc218 \ubaa9\ud45c\uac12\uc774 \uc788\uc744 \ub54c,\u2026","rel":"","context":"&quot;C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/c-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c-2\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":26808,"url":"https:\/\/atmokpo.com\/w\/26808\/","url_meta":{"origin":27488,"position":5},"title":"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc120\ud0dd \uc815\ub82c","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: \uc870\uad11\ud615 \uc791\uc131\uc77c: 2024\ub144 11\uc6d4 26\uc77c 1. \uc120\ud0dd \uc815\ub82c(Selection Sort)\ub780? \uc120\ud0dd \uc815\ub82c\uc740 \uc815\ub82c \uc54c\uace0\ub9ac\uc998 \uc911 \ud558\ub098\ub85c, \uc8fc\uc5b4\uc9c4 \ubc30\uc5f4\uc5d0\uc11c \uac00\uc7a5 \uc791\uc740(\ud639\uc740 \uac00\uc7a5 \ud070) \uc6d0\uc18c\ub97c \uc120\ud0dd\ud558\uc5ec \uc815\ub82c\uc744 \uc218\ud589\ud558\ub294 \ubc29\uc2dd\uc785\ub2c8\ub2e4. \uc774 \uc54c\uace0\ub9ac\uc998\uc740 \ubc30\uc5f4\uc758 \uae38\uc774\uac00 n\uc77c \ub54c, n-1\ubc88\uc758 \ube44\uad50 \uc5f0\uc0b0\uc744 \ud1b5\ud574 \uc815\ub82c\uc774 \uc644\ub8cc\ub418\uae30 \ub54c\ubb38\uc5d0 O(n^2)\uc758 \uc2dc\uac04\ubcf5\uc7a1\ub3c4\ub97c \uac00\uc9d1\ub2c8\ub2e4. \uc120\ud0dd \uc815\ub82c\uc758 \uc8fc\uc694 \ud2b9\uc9d5\uc740 \ub2e8\uc21c\ud558\uace0 \uc9c1\uad00\uc801\uc774\uba70 \uba54\ubaa8\ub9ac\u2026","rel":"","context":"&quot;\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/%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\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27488","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=27488"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27488\/revisions"}],"predecessor-version":[{"id":27489,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27488\/revisions\/27489"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=27488"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=27488"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=27488"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}