{"id":28262,"date":"2024-10-27T15:33:05","date_gmt":"2024-10-27T15:33:05","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=28262"},"modified":"2024-11-26T07:05:20","modified_gmt":"2024-11-26T07:05:20","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-%ec%9d%b4%ec%a7%84-%ed%83%90%ec%83%89","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/28262\/","title":{"rendered":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc774\uc9c4 \ud0d0\uc0c9"},"content":{"rendered":"<p><body><\/p>\n<h2>1. \uc774\uc9c4 \ud0d0\uc0c9 \uac1c\uc694<\/h2>\n<p>\n    \uc774\uc9c4 \ud0d0\uc0c9(Binary Search)\uc740 \uc815\ub82c\ub41c \ubc30\uc5f4\uc5d0\uc11c \ud2b9\uc815 \uac12\uc758 \uc704\uce58\ub97c \ucc3e\ub294 \uc54c\uace0\ub9ac\uc998\uc785\ub2c8\ub2e4.<br \/>\n    \uc774\uc9c4 \ud0d0\uc0c9\uc740 \ubc30\uc5f4\uc744 \uc808\ubc18\uc73c\ub85c \ub098\ub204\uc5b4 \uc6d0\ud558\ub294 \uac12\uc744 \ucc3e\uae30 \ub54c\ubb38\uc5d0 \ub9e4\uc6b0 \ud6a8\uc728\uc801\uc774\uba70,<br \/>\n    \ud3c9\uade0 \ubc0f \ucd5c\uc545\uc758 \uacbd\uc6b0 \ubaa8\ub450 O(log n)\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uac00\uc9d1\ub2c8\ub2e4.<br \/>\n    \uc774\ub294 \uc120\ud615 \ud0d0\uc0c9(Linear Search)\uc758 O(n)\ubcf4\ub2e4 \ud6e8\uc52c \uc6b0\uc218\ud569\ub2c8\ub2e4.\n<\/p>\n<h3>1.1 \uc774\uc9c4 \ud0d0\uc0c9\uc758 \uc6d0\ub9ac<\/h3>\n<p>\n    \uc774\uc9c4 \ud0d0\uc0c9\uc740 \ub2e4\uc74c\uacfc \uac19\uc740 \uc808\ucc28\ub85c \uc9c4\ud589\ub429\ub2c8\ub2e4:\n<\/p>\n<ol>\n<li>\ud0d0\uc0c9\ud560 \ubc30\uc5f4\uc774 \uc815\ub82c\ub418\uc5b4 \uc788\ub294\uc9c0 \ud655\uc778\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc2dc\uc791 \uc778\ub371\uc2a4\uc640 \ub05d \uc778\ub371\uc2a4\ub97c \uc124\uc815\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc911\uac04 \uc778\ub371\uc2a4\ub97c \uacc4\uc0b0\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc911\uac04 \uac12\uacfc \ucc3e\uace0\uc790 \ud558\ub294 \uac12\uc744 \ube44\uad50\ud569\ub2c8\ub2e4.<\/li>\n<li>\ucc3e\uace0\uc790 \ud558\ub294 \uac12\uc774 \uc911\uac04 \uac12\ubcf4\ub2e4 \uc791\uc73c\uba74 \ub05d \uc778\ub371\uc2a4\ub97c \uc911\uac04 \uc778\ub371\uc2a4 &#8211; 1\ub85c,<br \/>\n        \ud06c\uba74 \uc2dc\uc791 \uc778\ub371\uc2a4\ub97c \uc911\uac04 \uc778\ub371\uc2a4 + 1\ub85c \uc124\uc815\ud569\ub2c8\ub2e4.<\/li>\n<li>\uac12\uc744 \ucc3e\uac70\ub098 \uc2dc\uc791 \uc778\ub371\uc2a4\uac00 \ub05d \uc778\ub371\uc2a4\ubcf4\ub2e4 \ud074 \ub54c\uae4c\uc9c0 \ubc18\ubcf5\ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h2>2. \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c<\/h2>\n<p>\n    \uc774\uc81c, \uc774\uc9c4 \ud0d0\uc0c9\uc744 \ud65c\uc6a9\ud55c \ubb38\uc81c\ub97c \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.\n<\/p>\n<h3>\ubb38\uc81c: \uc22b\uc790 \ubc30\uc5f4\uc5d0\uc11c \ud2b9\uc815 \uc22b\uc790\uc758 \uc778\ub371\uc2a4 \ucc3e\uae30<\/h3>\n<pre>\n\uc8fc\uc5b4\uc9c4 \uc815\uc218 \ubc30\uc5f4 <code>nums<\/code>\uc640 \uc815\uc218 <code>target<\/code>\uac00 \uc8fc\uc5b4\uc9c8 \ub54c, \n<code>target<\/code>\uc774 \ubc30\uc5f4 <code>nums<\/code>\uc5d0 \uc874\uc7ac\ud558\uba74 \ud574\ub2f9 \uc778\ub371\uc2a4\ub97c \ubc18\ud658\ud558\uace0, \n\uc874\uc7ac\ud558\uc9c0 \uc54a\uc73c\uba74 -1\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\ub97c \uc791\uc131\ud558\uc138\uc694.\n\n\uc608\uc2dc:\n\uc785\ub825: nums = [-1,0,3,5,9,12], target = 9\n\ucd9c\ub825: 4\n\n\uc785\ub825: nums = [-1,0,3,5,9,12], target = 2\n\ucd9c\ub825: -1\n<\/pre>\n<h3>3. \ubb38\uc81c \ud480\uc774 \uacfc\uc815<\/h3>\n<p>\n    \ubb38\uc81c\ub97c \ud480\uae30 \uc704\ud574 \uc774\uc9c4 \ud0d0\uc0c9 \uc54c\uace0\ub9ac\uc998\uc744 \uc0ac\uc6a9\ud558\uc5ec \ubc30\uc5f4\uc5d0\uc11c <code>target<\/code> \uac12\uc744 \ucc3e\uaca0\uc2b5\ub2c8\ub2e4.<br \/>\n    \ub2e8\uacc4\ubcc4\ub85c \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4.\n<\/p>\n<h4>3.1 \ud568\uc218 \uc815\uc758<\/h4>\n<p>\n    \uba3c\uc800, \uc774\uc9c4 \ud0d0\uc0c9\uc744 \uc218\ud589\ud560 <code>binarySearch<\/code> \ud568\uc218\ub97c \uc815\uc758\ud569\ub2c8\ub2e4.<br \/>\n    \uc774 \ud568\uc218\ub294 \ubc30\uc5f4 <code>nums<\/code>\uc640 <code>target<\/code> \uac12\uc744 \uc778\uc790\ub85c \ubc1b\uc2b5\ub2c8\ub2e4.\n<\/p>\n<pre>\n<code>\nfunc binarySearch(nums: [Int], target: Int) -&gt; Int {\n    var left = 0\n    var right = nums.count - 1\n\n    while left &lt;= right {\n        let mid = left + (right - left) \/ 2\n\n        if nums[mid] == target {\n            return mid\n        } else if nums[mid] &lt; target {\n            left = mid + 1\n        } else {\n            right = mid - 1\n        }\n    }\n    return -1\n}\n<\/code>\n<\/pre>\n<h4>3.2 \ubcc0\uc218 \ucd08\uae30\ud654<\/h4>\n<p>\n    \ubcc0\uc218 <code>left<\/code>\uc640 <code>right<\/code>\ub97c \uac01\uac01 0\uacfc \ubc30\uc5f4\uc758 \uae38\uc774 &#8211; 1\ub85c \ucd08\uae30\ud654\ud569\ub2c8\ub2e4.<br \/>\n    <code>left<\/code>\ub294 \ud0d0\uc0c9 \ubc94\uc704\uc758 \uc2dc\uc791 \uc778\ub371\uc2a4\ub97c, <code>right<\/code>\ub294 \ub05d \uc778\ub371\uc2a4\ub97c \ub098\ud0c0\ub0c5\ub2c8\ub2e4.\n<\/p>\n<h4>3.3 \uc911\uac04\uac12 \uacc4\uc0b0<\/h4>\n<p>\n<code>while<\/code> \ub8e8\ud504\ub97c \uc0ac\uc6a9\ud558\uc5ec <code>left<\/code>\uac00 <code>right<\/code>\ubcf4\ub2e4 \uc791\uac70\ub098 \uac19\uc744 \ub54c\uae4c\uc9c0 \ubc18\ubcf5\ud569\ub2c8\ub2e4.<br \/>\n    \ub9e4 \ubc18\ubcf5\uc5d0\uc11c \uc911\uac04 \uc778\ub371\uc2a4\uc778 <code>mid<\/code>\ub97c \uacc4\uc0b0\ud569\ub2c8\ub2e4.<br \/>\n    \uc774\ub54c <code>left + (right - left) \/ 2<\/code>\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc911\uac04\uac12\uc744 \uacc4\uc0b0\ud558\uba74 \uc624\ubc84\ud50c\ub85c\uc6b0\ub97c \ubc29\uc9c0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n<\/p>\n<h4>3.4 \ud0c0\uac9f \ube44\uad50<\/h4>\n<p>\n    \uc911\uac04\uac12 <code>nums[mid]<\/code>\uac00 <code>target<\/code>\uacfc \uac19\uc73c\uba74 \ud574\ub2f9 \uc778\ub371\uc2a4 <code>mid<\/code>\ub97c \ubc18\ud658\ud569\ub2c8\ub2e4.<br \/>\n    \ub9cc\uc57d <code>nums[mid]<\/code>\uac00 <code>target<\/code>\ubcf4\ub2e4 \uc791\uc73c\uba74,<br \/>\n    <code>left<\/code>\ub97c <code>mid + 1<\/code>\ub85c \uc124\uc815\ud558\uc5ec \uc624\ub978\ucabd \uc808\ubc18\uc744 \ud0d0\uc0c9\ud569\ub2c8\ub2e4.<br \/>\n    \ubc18\ub300\ub85c <code>nums[mid]<\/code>\uac00 <code>target<\/code>\ubcf4\ub2e4 \ud06c\uba74,<br \/>\n    <code>right<\/code>\ub97c <code>mid - 1<\/code>\ub85c \uc124\uc815\ud558\uc5ec \uc67c\ucabd \uc808\ubc18\uc744 \ud0d0\uc0c9\ud569\ub2c8\ub2e4.\n<\/p>\n<h4>3.5 \uacb0\uacfc \ubc18\ud658<\/h4>\n<p>\n    \ubc18\ubcf5\uc774 \uc885\ub8cc\ub418\uba74 <code>target<\/code>\uac00 \ubc30\uc5f4\uc5d0 \uc874\uc7ac\ud558\uc9c0 \uc54a\ub294 \uac83\uc774\ubbc0\ub85c -1\uc744 \ubc18\ud658\ud569\ub2c8\ub2e4.\n<\/p>\n<h3>4. \uc804\uccb4 \ucf54\ub4dc<\/h3>\n<pre>\n<code>\nfunc binarySearch(nums: [Int], target: Int) -&gt; Int {\n    var left = 0\n    var right = nums.count - 1\n\n    while left &lt;= right {\n        let mid = left + (right - left) \/ 2\n\n        if nums[mid] == target {\n            return mid\n        } else if nums[mid] &lt; target {\n            left = mid + 1\n        } else {\n            right = mid - 1\n        }\n    }\n    return -1\n}\n\n\/\/ \uc0ac\uc6a9 \uc608\nlet nums = [-1, 0, 3, 5, 9, 12]\nlet target = 9\nlet result = binarySearch(nums: nums, target: target)\nprint(result) \/\/ 4\n<\/code>\n<\/pre>\n<h2>5. \uc774\uc9c4 \ud0d0\uc0c9\uc758 \uc7a5\uc810\uacfc \ub2e8\uc810<\/h2>\n<h3>5.1 \uc7a5\uc810<\/h3>\n<p>\n    \uc774\uc9c4 \ud0d0\uc0c9\uc758 \uc8fc\uc694 \uc7a5\uc810\uc740 \ube60\ub978 \uac80\uc0c9 \uc18d\ub3c4\uc785\ub2c8\ub2e4.<br \/>\n    \ub9e4\uc6b0 \ud070 \ub370\uc774\ud130\uc14b\uc744 \ub2e4\ub8e8\ub294 \uacbd\uc6b0 \uc120\ud615 \uac80\uc0c9\uc5d0 \ube44\ud574 \uc6d4\ub4f1\ud788 \ub192\uc740 \uc131\ub2a5\uc744 \ubcf4\uc785\ub2c8\ub2e4.\n<\/p>\n<h3>5.2 \ub2e8\uc810<\/h3>\n<p>\n    \uadf8\ub7ec\ub098 \uc774\uc9c4 \ud0d0\uc0c9\uc744 \uc0ac\uc6a9\ud558\uae30 \uc704\ud574\uc11c\ub294 \ub370\uc774\ud130\uac00 \uc815\ub82c\ub418\uc5b4 \uc788\uc5b4\uc57c \ud558\ub294 \ub2e8\uc810\uc774 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n    \ub370\uc774\ud130 \uc0bd\uc785\uacfc \uc0ad\uc81c\uac00 \ube48\ubc88\ud55c \uacbd\uc6b0 \ubcc4\ub3c4\uc758 \uc815\ub82c \uc791\uc5c5\uc774 \ud544\uc694\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n<\/p>\n<h2>6. \uacb0\ub860<\/h2>\n<p>\n    \uc774\uc9c4 \ud0d0\uc0c9\uc740 \ud6a8\uc728\uc801\uc778 \uac80\uc0c9 \ubc29\ubc95\uc73c\ub85c, \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \ucd9c\uc81c\ub418\ub294 \uc8fc\uc81c \uc911 \ud558\ub098\uc785\ub2c8\ub2e4.<br \/>\n    \uc704\uc758 \ubb38\uc81c\ub97c \ud1b5\ud574 \uc774\uc9c4 \ud0d0\uc0c9\uc758 \uc6d0\ub9ac\uc640 \uad6c\ud604 \ubc29\ubc95\uc744 \uc774\ud574\ud558\uace0,<br \/>\n    \uc2a4\uc704\ud504\ud2b8\ub85c \ucf54\ub4dc\ub97c \uc791\uc131\ud558\ub294 \uacfc\uc815\uc5d0\uc11c \uc720\uc6a9\ud55c \uacbd\ud5d8\uc744 \uc5bb\uc73c\uc168\uae30\ub97c \ubc14\ub78d\ub2c8\ub2e4.\n<\/p>\n<h2>7. \ucd94\uac00 \uc5f0\uc2b5 \ubb38\uc81c<\/h2>\n<p>\n    \uc774\uc9c4 \ud0d0\uc0c9\uc744 \ub354 \uae4a\uc774 \uc774\ud574\ud558\uae30 \uc704\ud574 \uc544\ub798\uc758 \ucd94\uac00 \ubb38\uc81c\ub97c \ud480\uc5b4\ubcf4\uc138\uc694.\n<\/p>\n<ul>\n<li>\uc8fc\uc5b4\uc9c4 \uc815\uc218 \ubc30\uc5f4\uc5d0\uc11c \ud2b9\uc815 \uc22b\uc790\uac00 \ub4f1\uc7a5\ud558\ub294 \ubaa8\ub4e0 \uc778\ub371\uc2a4\ub97c \ucc3e\uc544 \ubc18\ud658\ud558\ub294 \ud568\uc218\ub97c \uc791\uc131\ud558\uc138\uc694.<\/li>\n<li>\uc815\ub82c\ub41c \ubc30\uc5f4\uc758 \uccab \ubc88\uc9f8\uc640 \ub9c8\uc9c0\ub9c9 \uc704\uce58\ub97c \ucc3e\uc544\uc8fc\ub294 \ud568\uc218\ub97c \uad6c\ud604\ud558\uc138\uc694.<\/li>\n<li>\uc815\uc218 \ubc30\uc5f4\uc5d0\uc11c \ub450 \uac1c\uc758 \uc218\ub97c \ub354\ud558\uc5ec \ud2b9\uc815 \uc22b\uc790\ub97c \ub9cc\ub4dc\ub294 \uc870\ud569\uc774 \uc788\ub294\uc9c0\ub97c \ud310\ub2e8\ud558\ub294 \ud568\uc218\ub97c \uc791\uc131\ud558\uc138\uc694.<\/li>\n<\/ul>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \uc774\uc9c4 \ud0d0\uc0c9 \uac1c\uc694 \uc774\uc9c4 \ud0d0\uc0c9(Binary Search)\uc740 \uc815\ub82c\ub41c \ubc30\uc5f4\uc5d0\uc11c \ud2b9\uc815 \uac12\uc758 \uc704\uce58\ub97c \ucc3e\ub294 \uc54c\uace0\ub9ac\uc998\uc785\ub2c8\ub2e4. \uc774\uc9c4 \ud0d0\uc0c9\uc740 \ubc30\uc5f4\uc744 \uc808\ubc18\uc73c\ub85c \ub098\ub204\uc5b4 \uc6d0\ud558\ub294 \uac12\uc744 \ucc3e\uae30 \ub54c\ubb38\uc5d0 \ub9e4\uc6b0 \ud6a8\uc728\uc801\uc774\uba70, \ud3c9\uade0 \ubc0f \ucd5c\uc545\uc758 \uacbd\uc6b0 \ubaa8\ub450 O(log n)\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uac00\uc9d1\ub2c8\ub2e4. \uc774\ub294 \uc120\ud615 \ud0d0\uc0c9(Linear Search)\uc758 O(n)\ubcf4\ub2e4 \ud6e8\uc52c \uc6b0\uc218\ud569\ub2c8\ub2e4. 1.1 \uc774\uc9c4 \ud0d0\uc0c9\uc758 \uc6d0\ub9ac \uc774\uc9c4 \ud0d0\uc0c9\uc740 \ub2e4\uc74c\uacfc \uac19\uc740 \uc808\ucc28\ub85c \uc9c4\ud589\ub429\ub2c8\ub2e4: \ud0d0\uc0c9\ud560 \ubc30\uc5f4\uc774 \uc815\ub82c\ub418\uc5b4 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/28262\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\uc2a4\uc704\ud504\ud2b8 \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":[27],"tags":[],"class_list":["post-28262","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, \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\/28262\/\" \/>\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, \uc774\uc9c4 \ud0d0\uc0c9 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"1. \uc774\uc9c4 \ud0d0\uc0c9 \uac1c\uc694 \uc774\uc9c4 \ud0d0\uc0c9(Binary Search)\uc740 \uc815\ub82c\ub41c \ubc30\uc5f4\uc5d0\uc11c \ud2b9\uc815 \uac12\uc758 \uc704\uce58\ub97c \ucc3e\ub294 \uc54c\uace0\ub9ac\uc998\uc785\ub2c8\ub2e4. \uc774\uc9c4 \ud0d0\uc0c9\uc740 \ubc30\uc5f4\uc744 \uc808\ubc18\uc73c\ub85c \ub098\ub204\uc5b4 \uc6d0\ud558\ub294 \uac12\uc744 \ucc3e\uae30 \ub54c\ubb38\uc5d0 \ub9e4\uc6b0 \ud6a8\uc728\uc801\uc774\uba70, \ud3c9\uade0 \ubc0f \ucd5c\uc545\uc758 \uacbd\uc6b0 \ubaa8\ub450 O(log n)\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uac00\uc9d1\ub2c8\ub2e4. \uc774\ub294 \uc120\ud615 \ud0d0\uc0c9(Linear Search)\uc758 O(n)\ubcf4\ub2e4 \ud6e8\uc52c \uc6b0\uc218\ud569\ub2c8\ub2e4. 1.1 \uc774\uc9c4 \ud0d0\uc0c9\uc758 \uc6d0\ub9ac \uc774\uc9c4 \ud0d0\uc0c9\uc740 \ub2e4\uc74c\uacfc \uac19\uc740 \uc808\ucc28\ub85c \uc9c4\ud589\ub429\ub2c8\ub2e4: \ud0d0\uc0c9\ud560 \ubc30\uc5f4\uc774 \uc815\ub82c\ub418\uc5b4 &hellip; \ub354 \ubcf4\uae30 &quot;\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc774\uc9c4 \ud0d0\uc0c9&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/28262\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T15:33:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:05:20+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\/28262\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/28262\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc774\uc9c4 \ud0d0\uc0c9\",\"datePublished\":\"2024-10-27T15:33:05+00:00\",\"dateModified\":\"2024-11-26T07:05:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/28262\/\"},\"wordCount\":12,\"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\/28262\/\",\"url\":\"https:\/\/atmokpo.com\/w\/28262\/\",\"name\":\"\uc2a4\uc704\ud504\ud2b8 \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-27T15:33:05+00:00\",\"dateModified\":\"2024-11-26T07:05:20+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/28262\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/28262\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/28262\/#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, \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":"\uc2a4\uc704\ud504\ud2b8 \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\/28262\/","og_locale":"ko_KR","og_type":"article","og_title":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc774\uc9c4 \ud0d0\uc0c9 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"1. \uc774\uc9c4 \ud0d0\uc0c9 \uac1c\uc694 \uc774\uc9c4 \ud0d0\uc0c9(Binary Search)\uc740 \uc815\ub82c\ub41c \ubc30\uc5f4\uc5d0\uc11c \ud2b9\uc815 \uac12\uc758 \uc704\uce58\ub97c \ucc3e\ub294 \uc54c\uace0\ub9ac\uc998\uc785\ub2c8\ub2e4. \uc774\uc9c4 \ud0d0\uc0c9\uc740 \ubc30\uc5f4\uc744 \uc808\ubc18\uc73c\ub85c \ub098\ub204\uc5b4 \uc6d0\ud558\ub294 \uac12\uc744 \ucc3e\uae30 \ub54c\ubb38\uc5d0 \ub9e4\uc6b0 \ud6a8\uc728\uc801\uc774\uba70, \ud3c9\uade0 \ubc0f \ucd5c\uc545\uc758 \uacbd\uc6b0 \ubaa8\ub450 O(log n)\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uac00\uc9d1\ub2c8\ub2e4. \uc774\ub294 \uc120\ud615 \ud0d0\uc0c9(Linear Search)\uc758 O(n)\ubcf4\ub2e4 \ud6e8\uc52c \uc6b0\uc218\ud569\ub2c8\ub2e4. 1.1 \uc774\uc9c4 \ud0d0\uc0c9\uc758 \uc6d0\ub9ac \uc774\uc9c4 \ud0d0\uc0c9\uc740 \ub2e4\uc74c\uacfc \uac19\uc740 \uc808\ucc28\ub85c \uc9c4\ud589\ub429\ub2c8\ub2e4: \ud0d0\uc0c9\ud560 \ubc30\uc5f4\uc774 \uc815\ub82c\ub418\uc5b4 &hellip; \ub354 \ubcf4\uae30 \"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc774\uc9c4 \ud0d0\uc0c9\"","og_url":"https:\/\/atmokpo.com\/w\/28262\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T15:33:05+00:00","article_modified_time":"2024-11-26T07:05:20+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\/28262\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/28262\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc774\uc9c4 \ud0d0\uc0c9","datePublished":"2024-10-27T15:33:05+00:00","dateModified":"2024-11-26T07:05:20+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/28262\/"},"wordCount":12,"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\/28262\/","url":"https:\/\/atmokpo.com\/w\/28262\/","name":"\uc2a4\uc704\ud504\ud2b8 \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-27T15:33:05+00:00","dateModified":"2024-11-26T07:05:20+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/28262\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/28262\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/28262\/#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, \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":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/28262","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=28262"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/28262\/revisions"}],"predecessor-version":[{"id":28263,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/28262\/revisions\/28263"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=28262"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=28262"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=28262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}