{"id":26934,"date":"2024-10-27T11:53:45","date_gmt":"2024-10-27T11:53:45","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=26934"},"modified":"2024-11-26T07:25:51","modified_gmt":"2024-11-26T07:25:51","slug":"%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-%ed%80%b5-%ec%a0%95%eb%a0%ac","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/26934\/","title":{"rendered":"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud035 \uc815\ub82c"},"content":{"rendered":"<p><body><\/p>\n<p>\uc548\ub155\ud558\uc138\uc694! \uc774\ubc88 \ube14\ub85c\uadf8 \uac15\uc88c\uc5d0\uc11c\ub294 \uc790\ubc14\ub85c \ud035 \uc815\ub82c(Quick Sort) \uc54c\uace0\ub9ac\uc998\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ud035 \uc815\ub82c\uc740 \ud3c9\uade0 O(n log n)\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uac00\uc9c0\uba70, \ucd5c\uc545\uc758 \uacbd\uc6b0 O(n\u00b2)\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uac00\uc9c0\uc9c0\ub9cc, \ub9ce\uc740 \uacbd\uc6b0\uc5d0\uc11c \ub9e4\uc6b0 \ud6a8\uc728\uc801\uc778 \uc815\ub82c \uc54c\uace0\ub9ac\uc998\uc73c\ub85c \uc54c\ub824\uc838 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0\uc11c\uc758 \ubb38\uc81c \ud574\uacb0 \ub2a5\ub825\uc744 \ud5a5\uc0c1\uc2dc\ud0ac \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>1. \ud035 \uc815\ub82c\uc774\ub780?<\/h2>\n<p>\ud035 \uc815\ub82c\uc740 &#8216;\ubd84\ud560 \uc815\ubcf5&#8217; \ubc29\ubc95\uc744 \uc0ac\uc6a9\ud558\ub294 \uc815\ub82c \uc54c\uace0\ub9ac\uc998\uc785\ub2c8\ub2e4. \uc774 \uc54c\uace0\ub9ac\uc998\uc740 \ub2e4\uc74c\uacfc \uac19\uc740 \uacfc\uc815\uc73c\ub85c \ub3d9\uc791\ud569\ub2c8\ub2e4 :<\/p>\n<ol>\n<li>\uc815\ub82c\ud560 \ubc30\uc5f4\uc5d0\uc11c \ud558\ub098\uc758 \uc694\uc18c\ub97c &#8216;\ud53c\ubc97(pivot)&#8217;\uc73c\ub85c \uc120\ud0dd\ud569\ub2c8\ub2e4.<\/li>\n<li>\ubc30\uc5f4\uc758 \ub098\uba38\uc9c0 \uc694\uc18c\ub4e4\uc744 \ud53c\ubc97\uc744 \uae30\uc900\uc73c\ub85c \ub450 \ubd80\ubd84\uc73c\ub85c \ub098\ub215\ub2c8\ub2e4. \uc67c\ucabd \ubd80\ubd84\uc740 \ud53c\ubc97\ubcf4\ub2e4 \uc791\uc740 \uc694\uc18c\ub4e4\ub85c, \uc624\ub978\ucabd \ubd80\ubd84\uc740 \ud53c\ubc97\ubcf4\ub2e4 \ud070 \uc694\uc18c\ub4e4\ub85c \uad6c\uc131\ub429\ub2c8\ub2e4.<\/li>\n<li>\uc67c\ucabd\uacfc \uc624\ub978\ucabd \ubd80\ubd84\uc5d0 \ub300\ud574 \uc7ac\uadc0\uc801\uc73c\ub85c \ud035 \uc815\ub82c\uc744 \uc218\ud589\ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<p>\uc774 \uacfc\uc815\uc744 \ud1b5\ud574 \ucd5c\uc885\uc801\uc73c\ub85c \uc815\ub82c\ub41c \ubc30\uc5f4\uc774 \ub9cc\ub4e4\uc5b4\uc9d1\ub2c8\ub2e4.<\/p>\n<h2>2. \ubb38\uc81c \uc815\uc758<\/h2>\n<p>\ubb38\uc81c: \uc8fc\uc5b4\uc9c4 \uc815\uc218 \ubc30\uc5f4\uc744 \ud035 \uc815\ub82c \uc54c\uace0\ub9ac\uc998\uc744 \ud1b5\ud574 \uc815\ub82c\ud558\uc2dc\uc624.<\/p>\n<h3>\uc785\ub825<\/h3>\n<ul>\n<li>1\ucc28\uc6d0 \uc815\uc218 \ubc30\uc5f4 arr (0 \u2264 arr.length \u2264 10<sup>6<\/sup>, -10<sup>9<\/sup> \u2264 arr[i] \u2264 10<sup>9<\/sup>)<\/li>\n<\/ul>\n<h3>\ucd9c\ub825<\/h3>\n<ul>\n<li>\uc815\ub82c\ub41c 1\ucc28\uc6d0 \uc815\uc218 \ubc30\uc5f4<\/li>\n<\/ul>\n<h2>3. \ud035 \uc815\ub82c \uc54c\uace0\ub9ac\uc998 \uad6c\ud604<\/h2>\n<p>\uc774\uc81c \uc2e4\uc81c\ub85c \ud035 \uc815\ub82c \uc54c\uace0\ub9ac\uc998\uc744 \uc790\ubc14\ub85c \uad6c\ud604\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc544\ub798\ub294 \ud035 \uc815\ub82c\uc758 \uc790\ubc14 \ucf54\ub4dc\uc785\ub2c8\ub2e4 :<\/p>\n<pre><code>import java.util.Arrays;\n\npublic class QuickSort {\n    public static void quickSort(int[] arr, int low, int high) {\n        if (low &lt; high) {\n            int pi = partition(arr, low, high);\n            quickSort(arr, low, pi - 1);  \/\/ \uc67c\ucabd \ubd80\ubd84 \uc815\ub82c\n            quickSort(arr, pi + 1, high); \/\/ \uc624\ub978\ucabd \ubd80\ubd84 \uc815\ub82c\n        }\n    }\n\n    public static int partition(int[] arr, int low, int high) {\n        int pivot = arr[high]; \/\/ \ud53c\ubc97\uac12 \uc120\ud0dd (\uad6c\ud604\uc5d0\uc11c\ub294 \ub9c8\uc9c0\ub9c9 \uc694\uc18c)\n        int i = (low - 1); \/\/ \uc791\uc740 \uc694\uc18c\uc758 \uc778\ub371\uc2a4\n        for (int j = low; j &lt; high; j++) {\n            \/\/ \ud604\uc7ac \uc694\uc18c\uac00 \ud53c\ubc97\ubcf4\ub2e4 \uc791\uc73c\uba74\n            if (arr[j] &lt;= pivot) {\n                i++;\n                \/\/ arr[i]\uc640 arr[j] \uad50\ud658\n                int temp = arr[i];\n                arr[i] = arr[j];\n                arr[j] = temp;\n            }\n        }\n        \/\/ \ud53c\ubc97\uc744 \uc81c\uc790\ub9ac\ub85c \uc774\ub3d9\n        int temp = arr[i + 1];\n        arr[i + 1] = arr[high];\n        arr[high] = temp;\n\n        return i + 1; \/\/ \ud53c\ubc97\uc758 \uc778\ub371\uc2a4 \ubc18\ud658\n    }\n\n    public static void main(String[] args) {\n        int[] arr = {10, 7, 8, 9, 1, 5};\n        int n = arr.length;\n\n        System.out.println(\"\uc6d0\ubcf8 \ubc30\uc5f4: \" + Arrays.toString(arr));\n        quickSort(arr, 0, n - 1);\n        System.out.println(\"\uc815\ub82c\ub41c \ubc30\uc5f4: \" + Arrays.toString(arr));\n    }\n}\n<\/code><\/pre>\n<h2>4. \ucf54\ub4dc \uc124\uba85<\/h2>\n<h3>4.1. \uba54\uc778 \uba54\uc11c\ub4dc<\/h3>\n<p>\uba54\uc778 \uba54\uc11c\ub4dc\uc5d0\uc11c\ub294 \uc815\ub82c\ud560 \ubc30\uc5f4\uc744 \uc815\uc758\ud558\uace0, \uc6d0\ubcf8 \ubc30\uc5f4\uacfc \uc815\ub82c\ub41c \ubc30\uc5f4\uc744 \ucd9c\ub825\ud569\ub2c8\ub2e4. <code>quickSort<\/code> \uba54\uc11c\ub4dc\ub97c \ud638\ucd9c\ud558\uc5ec \ud035 \uc815\ub82c\uc744 \uc218\ud589\ud569\ub2c8\ub2e4.<\/p>\n<h3>4.2. quickSort \uba54\uc11c\ub4dc<\/h3>\n<p><code>quickSort<\/code> \uba54\uc11c\ub4dc\ub294 \uc7ac\uadc0 \ud638\ucd9c\uc744 \ud1b5\ud574 \ubc30\uc5f4\uc744 \uc815\ub82c\ud569\ub2c8\ub2e4. <code>low<\/code>\uc640 <code>high<\/code>\ub294 \ubc30\uc5f4\uc758 \uc778\ub371\uc2a4\ub97c \ub098\ud0c0\ub0b4\uba70, \uae30\uc900\uc810\uc778 \ud53c\ubc97\uc744 \uc911\uc2ec\uc73c\ub85c \ubc30\uc5f4\uc744 \ub450 \ubd80\ubd84\uc73c\ub85c \ub098\ub208 \ud6c4 \uac01 \ubd80\ubd84\uc5d0 \ub300\ud574 \ub2e4\uc2dc <code>quickSort<\/code>\ub97c \ud638\ucd9c\ud569\ub2c8\ub2e4.<\/p>\n<h3>4.3. partition \uba54\uc11c\ub4dc<\/h3>\n<p><code>partition<\/code> \uba54\uc11c\ub4dc\ub294 \ud53c\ubc97\uc744 \uae30\uc900\uc73c\ub85c \ubc30\uc5f4\uc744 \ub098\ub204\ub294 \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. \ud53c\ubc97\ubcf4\ub2e4 \uc791\uc740 \uc694\uc18c\ub294 \uc67c\ucabd\uc73c\ub85c \uc774\ub3d9\ud558\uace0, \ud53c\ubc97\ubcf4\ub2e4 \ud070 \uc694\uc18c\ub294 \uc624\ub978\ucabd\uc73c\ub85c \uc774\ub3d9\ud569\ub2c8\ub2e4. \ub9c8\uc9c0\ub9c9\uc5d0 \ud53c\ubc97\uc740 \uc81c\uc790\ub9ac\ub85c \uc774\ub3d9\ud558\uc5ec \uc815\ub82c\ub41c \ubc30\uc5f4\ub85c \uc644\uc131\ub429\ub2c8\ub2e4.<\/p>\n<h2>5. \uc2dc\uac04 \ubcf5\uc7a1\ub3c4<\/h2>\n<p>\ud035 \uc815\ub82c\uc740 \ud3c9\uade0\uc801\uc73c\ub85c O(n log n)\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uac00\uc9c0\uba70, \ucd5c\uc545\uc758 \uacbd\uc6b0 O(n\u00b2)\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uac00\uc9d1\ub2c8\ub2e4. \ucd5c\uc545\uc758 \uacbd\uc6b0\ub294 \uc774\ubbf8 \uc815\ub82c\ub418\uc5b4 \uc788\ub294 \ubc30\uc5f4\uc744 \ub300\uc0c1\uc73c\ub85c \ud53c\ubc97\uc744 \uc120\ud0dd\ud588\uc744 \ub54c \ubc1c\uc0dd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ud558\uc9c0\ub9cc \uc784\uc758\uc758 \ud53c\ubc97\uc744 \uc120\ud0dd\ud558\uac70\ub098 \uc911\uac04\uac12\uc744 \uc120\ud0dd\ud558\ub294 \ub4f1 \uc5ec\ub7ec \uc804\ub7b5\uc744 \ud1b5\ud574 \ucd5c\uc545\uc758 \uacbd\uc6b0\ub97c \ud53c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>6. \uacb0\ub860<\/h2>\n<p>\uc774\ubc88 \uae00\uc5d0\uc11c\ub294 \uc790\ubc14\ub85c \ud035 \uc815\ub82c \uc54c\uace0\ub9ac\uc998\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \ud035 \uc815\ub82c\uc740 \ub9e4\uc6b0 \uc720\uc6a9\ud55c \uc815\ub82c \uc54c\uace0\ub9ac\uc998\uc73c\ub85c, \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0\uc11c\ub3c4 \uc790\uc8fc \ucd9c\uc81c\ub418\ubbc0\ub85c \uaf2d \uc219\uc9c0\ud558\uc2dc\uae30\ub97c \uad8c\uc7a5\ud569\ub2c8\ub2e4. \ub2e4\uc591\ud55c \uc815\ub82c \uc54c\uace0\ub9ac\uc998\uc744 \uacf5\ubd80\ud558\uc5ec \ubb38\uc81c \ud574\uacb0 \ub2a5\ub825\uc744 \ub192\uc774\ub294 \ub370 \ub3c4\uc6c0\uc774 \ub418\uae30\ub97c \ubc14\ub78d\ub2c8\ub2e4. \ub2e4\uc74c \ud3ec\uc2a4\ud2b8\uc5d0\uc11c\ub294 \ub2e4\ub978 \uc54c\uace0\ub9ac\uc998\uc5d0 \ub300\ud574 \ub2e4\ub904\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc77d\uc5b4\uc8fc\uc154\uc11c \uac10\uc0ac\ud569\ub2c8\ub2e4!<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc548\ub155\ud558\uc138\uc694! \uc774\ubc88 \ube14\ub85c\uadf8 \uac15\uc88c\uc5d0\uc11c\ub294 \uc790\ubc14\ub85c \ud035 \uc815\ub82c(Quick Sort) \uc54c\uace0\ub9ac\uc998\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ud035 \uc815\ub82c\uc740 \ud3c9\uade0 O(n log n)\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uac00\uc9c0\uba70, \ucd5c\uc545\uc758 \uacbd\uc6b0 O(n\u00b2)\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uac00\uc9c0\uc9c0\ub9cc, \ub9ce\uc740 \uacbd\uc6b0\uc5d0\uc11c \ub9e4\uc6b0 \ud6a8\uc728\uc801\uc778 \uc815\ub82c \uc54c\uace0\ub9ac\uc998\uc73c\ub85c \uc54c\ub824\uc838 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0\uc11c\uc758 \ubb38\uc81c \ud574\uacb0 \ub2a5\ub825\uc744 \ud5a5\uc0c1\uc2dc\ud0ac \uc218 \uc788\uc2b5\ub2c8\ub2e4. 1. \ud035 \uc815\ub82c\uc774\ub780? \ud035 \uc815\ub82c\uc740 &#8216;\ubd84\ud560 \uc815\ubcf5&#8217; \ubc29\ubc95\uc744 \uc0ac\uc6a9\ud558\ub294 \uc815\ub82c &hellip; <a href=\"https:\/\/atmokpo.com\/w\/26934\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud035 \uc815\ub82c&#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":[22],"tags":[],"class_list":["post-26934","post","type-post","status-publish","format-standard","hentry","category-22"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud035 \uc815\ub82c - \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\/26934\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud035 \uc815\ub82c - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc548\ub155\ud558\uc138\uc694! \uc774\ubc88 \ube14\ub85c\uadf8 \uac15\uc88c\uc5d0\uc11c\ub294 \uc790\ubc14\ub85c \ud035 \uc815\ub82c(Quick Sort) \uc54c\uace0\ub9ac\uc998\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ud035 \uc815\ub82c\uc740 \ud3c9\uade0 O(n log n)\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uac00\uc9c0\uba70, \ucd5c\uc545\uc758 \uacbd\uc6b0 O(n\u00b2)\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uac00\uc9c0\uc9c0\ub9cc, \ub9ce\uc740 \uacbd\uc6b0\uc5d0\uc11c \ub9e4\uc6b0 \ud6a8\uc728\uc801\uc778 \uc815\ub82c \uc54c\uace0\ub9ac\uc998\uc73c\ub85c \uc54c\ub824\uc838 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0\uc11c\uc758 \ubb38\uc81c \ud574\uacb0 \ub2a5\ub825\uc744 \ud5a5\uc0c1\uc2dc\ud0ac \uc218 \uc788\uc2b5\ub2c8\ub2e4. 1. \ud035 \uc815\ub82c\uc774\ub780? \ud035 \uc815\ub82c\uc740 &#8216;\ubd84\ud560 \uc815\ubcf5&#8217; \ubc29\ubc95\uc744 \uc0ac\uc6a9\ud558\ub294 \uc815\ub82c &hellip; \ub354 \ubcf4\uae30 &quot;\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud035 \uc815\ub82c&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/26934\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T11:53:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:25:51+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\/26934\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26934\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud035 \uc815\ub82c\",\"datePublished\":\"2024-10-27T11:53:45+00:00\",\"dateModified\":\"2024-11-26T07:25:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26934\/\"},\"wordCount\":23,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/26934\/\",\"url\":\"https:\/\/atmokpo.com\/w\/26934\/\",\"name\":\"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud035 \uc815\ub82c - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T11:53:45+00:00\",\"dateModified\":\"2024-11-26T07:25:51+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26934\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/26934\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/26934\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud035 \uc815\ub82c\"}]},{\"@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 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud035 \uc815\ub82c - \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\/26934\/","og_locale":"ko_KR","og_type":"article","og_title":"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud035 \uc815\ub82c - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc548\ub155\ud558\uc138\uc694! \uc774\ubc88 \ube14\ub85c\uadf8 \uac15\uc88c\uc5d0\uc11c\ub294 \uc790\ubc14\ub85c \ud035 \uc815\ub82c(Quick Sort) \uc54c\uace0\ub9ac\uc998\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ud035 \uc815\ub82c\uc740 \ud3c9\uade0 O(n log n)\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uac00\uc9c0\uba70, \ucd5c\uc545\uc758 \uacbd\uc6b0 O(n\u00b2)\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uac00\uc9c0\uc9c0\ub9cc, \ub9ce\uc740 \uacbd\uc6b0\uc5d0\uc11c \ub9e4\uc6b0 \ud6a8\uc728\uc801\uc778 \uc815\ub82c \uc54c\uace0\ub9ac\uc998\uc73c\ub85c \uc54c\ub824\uc838 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0\uc11c\uc758 \ubb38\uc81c \ud574\uacb0 \ub2a5\ub825\uc744 \ud5a5\uc0c1\uc2dc\ud0ac \uc218 \uc788\uc2b5\ub2c8\ub2e4. 1. \ud035 \uc815\ub82c\uc774\ub780? \ud035 \uc815\ub82c\uc740 &#8216;\ubd84\ud560 \uc815\ubcf5&#8217; \ubc29\ubc95\uc744 \uc0ac\uc6a9\ud558\ub294 \uc815\ub82c &hellip; \ub354 \ubcf4\uae30 \"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud035 \uc815\ub82c\"","og_url":"https:\/\/atmokpo.com\/w\/26934\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T11:53:45+00:00","article_modified_time":"2024-11-26T07:25:51+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\/26934\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/26934\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud035 \uc815\ub82c","datePublished":"2024-10-27T11:53:45+00:00","dateModified":"2024-11-26T07:25:51+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/26934\/"},"wordCount":23,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/26934\/","url":"https:\/\/atmokpo.com\/w\/26934\/","name":"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud035 \uc815\ub82c - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T11:53:45+00:00","dateModified":"2024-11-26T07:25:51+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/26934\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/26934\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/26934\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud035 \uc815\ub82c"}]},{"@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\/26934","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=26934"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/26934\/revisions"}],"predecessor-version":[{"id":26935,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/26934\/revisions\/26935"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=26934"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=26934"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=26934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}