{"id":27780,"date":"2024-10-27T14:43:47","date_gmt":"2024-10-27T14:43:47","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=27780"},"modified":"2024-11-26T07:15:09","modified_gmt":"2024-11-26T07:15:09","slug":"c-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c-%ed%8a%b8%eb%9d%bc%ec%9d%b4-2","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/27780\/","title":{"rendered":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud2b8\ub77c\uc774"},"content":{"rendered":"<div class=\"post\">\n<h2>1. \uc11c\ub860<\/h2>\n<p>\n        \uc624\ub298\uc758 \uac15\uc88c\uc5d0\uc11c\ub294 C++ \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud2b8\ub77c\uc774(Trie) \uc790\ub8cc\uad6c\uc870\uc5d0 \ub300\ud574 \uc2ec\ub3c4 \uc788\uac8c \uc0b4\ud3b4\ubcf4\uace0,<br \/>\n        \uc774\ub97c \ud65c\uc6a9\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uaca0\uc2b5\ub2c8\ub2e4. \ud2b8\ub77c\uc774\ub294 \ubb38\uc790\uc5f4\uc744 \uc800\uc7a5\ud558\uace0 \uac80\uc0c9\ud558\ub294 \ub370 \ucd5c\uc801\ud654\ub41c<br \/>\n        \uc790\ub8cc\uad6c\uc870\ub85c, \uc0ac\uc804 \ucc3e\uae30, \uc624\ud1a0 \ucef4\ud50c\ub9ac\uc158, \uc811\ub450\uc5b4 \uac80\uc0c9 \ub4f1 \ub2e4\uc591\ud55c \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ub370 \uc720\uc6a9\ud569\ub2c8\ub2e4.\n    <\/p>\n<h2>2. \ud2b8\ub77c\uc774 \uc790\ub8cc\uad6c\uc870 \uc18c\uac1c<\/h2>\n<p>\n        \ud2b8\ub77c\uc774\ub294 \uac01 \ub178\ub4dc\uac00 \ubb38\uc790\uc5f4\uc758 \ubb38\uc790\ub97c \uc800\uc7a5\ud558\uba70, \ub178\ub4dc \uac04\uc758 \uacbd\ub85c\ub294 \ud2b9\uc815 \ubb38\uc790\uc5f4\uc758 \uc811\ub450\uc5b4\ub97c \ub098\ud0c0\ub0c5\ub2c8\ub2e4.<br \/>\n        \uc774 \uc790\ub8cc\uad6c\uc870\ub97c \uc0ac\uc6a9\ud558\uba74 \ubb38\uc790\uc5f4 \uac80\uc0c9\uc744 \ud6a8\uc728\uc801\uc73c\ub85c \uc218\ud589\ud560 \uc218 \uc788\ub294\ub370, \uae30\ubcf8 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub294 O(m)\uc785\ub2c8\ub2e4.<br \/>\n        \uc5ec\uae30\uc11c m\uc740 \uac80\uc0c9\ud558\uace0\uc790 \ud558\ub294 \ubb38\uc790\uc5f4\uc758 \uae38\uc774\uc785\ub2c8\ub2e4.\n    <\/p>\n<h3>2.1 \ud2b8\ub77c\uc774\uc758 \uad6c\uc131<\/h3>\n<p>\n        \ud2b8\ub77c\uc774\uc758 \uae30\ubcf8 \uad6c\uc131 \uc694\uc18c\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:\n    <\/p>\n<ul>\n<li>\n<strong>Node:<\/strong> \uac01 \ub178\ub4dc\ub294 \ubb38\uc790\uc640 \ud558\uc704 \ub178\ub4dc\ub97c \ud3ec\ud568\ud569\ub2c8\ub2e4.\n        <\/li>\n<li>\n<strong>Insert:<\/strong> \uc0c8\ub85c\uc6b4 \ubb38\uc790\uc5f4\uc744 \ud2b8\ub77c\uc774\uc5d0 \ucd94\uac00\ud569\ub2c8\ub2e4.\n        <\/li>\n<li>\n<strong>Search:<\/strong> \ud2b9\uc815 \ubb38\uc790\uc5f4\uc744 \ud2b8\ub77c\uc774\uc5d0\uc11c \uac80\uc0c9\ud569\ub2c8\ub2e4.\n        <\/li>\n<li>\n<strong>Delete:<\/strong> \ud2b9\uc815 \ubb38\uc790\uc5f4\uc744 \ud2b8\ub77c\uc774\uc5d0\uc11c \uc0ad\uc81c\ud569\ub2c8\ub2e4.\n        <\/li>\n<\/ul>\n<h3>2.2 \ud2b8\ub77c\uc774\uc758 \uc7a5\uc810\uacfc \ub2e8\uc810<\/h3>\n<p>\n        \ud2b8\ub77c\uc774\uc758 \uc7a5\uc810\uc740 prefix(\uc811\ub450\uc5b4) \uac80\uc0c9\uc774 \uc6a9\uc774\ud558\ub2e4\ub294 \uac83\uc785\ub2c8\ub2e4. \uadf8\ub7ec\ub098 \uba54\ubaa8\ub9ac \uc0ac\uc6a9\ub7c9\uc774 \ub9ce\uace0,<br \/>\n        \uad6c\ud604\uc774 \ubcf5\uc7a1\ud560 \uc218 \uc788\ub2e4\ub294 \ub2e8\uc810\uc774 \uc788\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<h2>3. \ubb38\uc81c \uc815\uc758<\/h2>\n<p>\n        \ub2e4\uc74c\uc740 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\uc785\ub2c8\ub2e4.<br \/>\n        \uc8fc\uc5b4\uc9c4 \ubb38\uc790\uc5f4 \ub9ac\uc2a4\ud2b8\uc5d0\uc11c \ud2b9\uc815 \uc811\ub450\uc5b4\ub97c \uac00\uc9c4 \ubaa8\ub4e0 \ub2e8\uc5b4\ub97c \ucd9c\ub825\ud558\ub294 \ud504\ub85c\uadf8\ub7a8\uc744 \uc791\uc131\ud558\uc138\uc694.\n    <\/p>\n<h3>\ubb38\uc81c \uc124\uba85<\/h3>\n<p>\n<strong>\uc785\ub825:<\/strong><br \/>\n        &#8211; \ub2e8\uc5b4 \ub9ac\uc2a4\ud2b8 words: [&#8220;apple&#8221;, &#8220;app&#8221;, &#8220;application&#8221;, &#8220;bat&#8221;, &#8220;ban&#8221;, &#8220;band&#8221;]<br \/>\n        &#8211; \ud2b9\uc815 \uc811\ub450\uc5b4 prefix: &#8220;ap&#8221;<\/p>\n<p>        <strong>\ucd9c\ub825:<\/strong><br \/>\n        &#8211; \uc811\ub450\uc5b4\uac00 &#8220;ap&#8221;\uc778 \ubb38\uc790\uc5f4: [&#8220;apple&#8221;, &#8220;app&#8221;, &#8220;application&#8221;]\n    <\/p>\n<h2>4. \ubb38\uc81c \ud574\uacb0 \uacfc\uc815<\/h2>\n<h3>4.1 \ud2b8\ub77c\uc774 \ud074\ub798\uc2a4 \uc815\uc758<\/h3>\n<p>\n        \uba3c\uc800, \ud2b8\ub77c\uc774 \ub178\ub4dc\ub97c \uc815\uc758\ud558\uace0, \ud2b8\ub77c\uc774 \ud074\ub798\uc2a4\ub97c \uad6c\ud604\ud574\uc57c \ud569\ub2c8\ub2e4. \uc544\ub798\ub294 C++\uc5d0\uc11c\uc758 \uae30\ubcf8 \uad6c\ud604\uc785\ub2c8\ub2e4.\n    <\/p>\n<pre>\n<code class=\"cpp\">\n#include <iostream>\n#include <vector>\n#include <string>\n#include <unordered_map>\n\nusing namespace std;\n\nclass TrieNode {\npublic:\n    unordered_map<char, trienode*=\"\"> children;\n    bool isEndOfWord;\n\n    TrieNode() : isEndOfWord(false) {}\n};\n\nclass Trie {\nprivate:\n    TrieNode* root;\n\npublic:\n    Trie() {\n        root = new TrieNode();\n    }\n\n    void insert(const string&amp; word) {\n        TrieNode* node = root;\n        for (char c : word) {\n            if (!node-&gt;children[c]) {\n                node-&gt;children[c] = new TrieNode();\n            }\n            node = node-&gt;children[c];\n        }\n        node-&gt;isEndOfWord = true;\n    }\n\n    void searchByPrefix(const string&amp; prefix, vector<string>&amp; result, string current, TrieNode* node) {\n        if (node-&gt;isEndOfWord) {\n            result.push_back(current);\n        }\n\n        for (const auto&amp; pair : node-&gt;children) {\n            searchByPrefix(prefix, result, current + pair.first, pair.second);\n        }\n    }\n\n    vector<string> getWordsWithPrefix(const string&amp; prefix) {\n        TrieNode* node = root;\n        vector<string> result;\n\n        for (char c : prefix) {\n            if (!node-&gt;children[c]) {\n                return result; \/\/ No words with the given prefix\n            }\n            node = node-&gt;children[c];\n        }\n\n        searchByPrefix(prefix, result, prefix, node);\n        return result;\n    }\n};\n<\/string><\/string><\/string><\/char,><\/unordered_map><\/string><\/vector><\/iostream><\/code>\n    <\/pre>\n<h3>4.2 \uba54\uc778 \ud568\uc218 \uad6c\ud604<\/h3>\n<p>\n        \uc774\uc81c \uba54\uc778 \ud568\uc218\ub97c \uad6c\ud604\ud558\uc5ec \ud2b8\ub77c\uc774\uc5d0 \ub2e8\uc5b4\ub97c \uc0bd\uc785\ud558\uace0, \uc811\ub450\uc5b4\ub85c \ub2e8\uc5b4\ub97c \uac80\uc0c9\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<pre>\n<code class=\"cpp\">\nint main() {\n    Trie trie;\n    vector<string> words = {\"apple\", \"app\", \"application\", \"bat\", \"ban\", \"band\"};\n\n    \/\/ Insert words into the trie\n    for (const string&amp; word : words) {\n        trie.insert(word);\n    }\n\n    \/\/ Prefix to search\n    string prefix = \"ap\";\n    vector<string> result = trie.getWordsWithPrefix(prefix);\n\n    \/\/ Print the result\n    cout &lt;&lt; \"Words with prefix '\" &lt;&lt; prefix &lt;&lt; \"': \";\n    for (const string&amp; word : result) {\n        cout &lt;&lt; word &lt;&lt; \" \";\n    }\n    cout &lt;&lt; endl;\n\n    return 0;\n}\n<\/string><\/string><\/code>\n    <\/pre>\n<h2>5. \ucf54\ub4dc \uc2e4\ud589 \uacb0\uacfc<\/h2>\n<p>\n        \uc704\uc758 \ucf54\ub4dc\uac00 \uc2e4\ud589\ub418\uba74, \uc544\ub798\uc640 \uac19\uc740 \uacb0\uacfc\uac00 \ucd9c\ub825\ub429\ub2c8\ub2e4.<br \/>\n        \uc8fc\uc5b4\uc9c4 \uc811\ub450\uc5b4 &#8220;ap&#8221;\uc5d0 \ud574\ub2f9\ud558\ub294 \ubaa8\ub4e0 \ub2e8\uc5b4\uac00 \ub9ac\uc2a4\ud2b8\ub85c \ucd9c\ub825\ub429\ub2c8\ub2e4.\n    <\/p>\n<pre>\n<code>\nWords with prefix 'ap': apple app application\n<\/code>\n    <\/pre>\n<h2>6. \uacb0\ub860<\/h2>\n<p>\n        \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 C++\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud2b8\ub77c\uc774 \ub370\uc774\ud130 \uad6c\uc870\ub97c \uad6c\ud604\ud558\uace0, \ud2b9\uc815 \uc811\ub450\uc5b4\ub97c \uac00\uc9c4 \ub2e8\uc5b4\ub4e4\uc744<br \/>\n        \uac80\uc0c9\ud558\ub294 \ubb38\uc81c\ub97c \ud574\uacb0\ud588\uc2b5\ub2c8\ub2e4. \ud2b8\ub77c\uc774\ub294 \ubb38\uc790\uc5f4 \uad00\ub828 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ub370 \ub9e4\uc6b0 \uc720\uc6a9\ud55c<br \/>\n        \uc790\ub8cc\uad6c\uc870\uc774\uba70, \ub2e4\uc591\ud55c \uc751\uc6a9 \ubd84\uc57c\uc5d0\uc11c \uc0ac\uc6a9\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc55e\uc73c\ub85c\uc758 \uac15\uc88c\uc5d0\uc11c\ub3c4<br \/>\n        \ub2e4\uc591\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c \ud574\uacb0\uc744 \uc704\ud574 \ub808\ud37c\ub7f0\uc2a4\ub85c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \uc790\ub8cc\uad6c\uc870\uc640 \uae30\ubc95\uc744 \ud559\uc2b5\ud574 \ub098\uac00\uae38<br \/>\n        \ubc14\ub78d\ub2c8\ub2e4. \uac10\uc0ac\ud569\ub2c8\ub2e4.\n    <\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>1. \uc11c\ub860 \uc624\ub298\uc758 \uac15\uc88c\uc5d0\uc11c\ub294 C++ \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud2b8\ub77c\uc774(Trie) \uc790\ub8cc\uad6c\uc870\uc5d0 \ub300\ud574 \uc2ec\ub3c4 \uc788\uac8c \uc0b4\ud3b4\ubcf4\uace0, \uc774\ub97c \ud65c\uc6a9\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uaca0\uc2b5\ub2c8\ub2e4. \ud2b8\ub77c\uc774\ub294 \ubb38\uc790\uc5f4\uc744 \uc800\uc7a5\ud558\uace0 \uac80\uc0c9\ud558\ub294 \ub370 \ucd5c\uc801\ud654\ub41c \uc790\ub8cc\uad6c\uc870\ub85c, \uc0ac\uc804 \ucc3e\uae30, \uc624\ud1a0 \ucef4\ud50c\ub9ac\uc158, \uc811\ub450\uc5b4 \uac80\uc0c9 \ub4f1 \ub2e4\uc591\ud55c \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ub370 \uc720\uc6a9\ud569\ub2c8\ub2e4. 2. \ud2b8\ub77c\uc774 \uc790\ub8cc\uad6c\uc870 \uc18c\uac1c \ud2b8\ub77c\uc774\ub294 \uac01 \ub178\ub4dc\uac00 \ubb38\uc790\uc5f4\uc758 \ubb38\uc790\ub97c \uc800\uc7a5\ud558\uba70, \ub178\ub4dc \uac04\uc758 \uacbd\ub85c\ub294 \ud2b9\uc815 \ubb38\uc790\uc5f4\uc758 \uc811\ub450\uc5b4\ub97c \ub098\ud0c0\ub0c5\ub2c8\ub2e4. &hellip; <a href=\"https:\/\/atmokpo.com\/w\/27780\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud2b8\ub77c\uc774&#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":[25],"tags":[],"class_list":["post-27780","post","type-post","status-publish","format-standard","hentry","category-c---2"],"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, \ud2b8\ub77c\uc774 - \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\/27780\/\" \/>\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, \ud2b8\ub77c\uc774 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"1. \uc11c\ub860 \uc624\ub298\uc758 \uac15\uc88c\uc5d0\uc11c\ub294 C++ \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud2b8\ub77c\uc774(Trie) \uc790\ub8cc\uad6c\uc870\uc5d0 \ub300\ud574 \uc2ec\ub3c4 \uc788\uac8c \uc0b4\ud3b4\ubcf4\uace0, \uc774\ub97c \ud65c\uc6a9\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uaca0\uc2b5\ub2c8\ub2e4. \ud2b8\ub77c\uc774\ub294 \ubb38\uc790\uc5f4\uc744 \uc800\uc7a5\ud558\uace0 \uac80\uc0c9\ud558\ub294 \ub370 \ucd5c\uc801\ud654\ub41c \uc790\ub8cc\uad6c\uc870\ub85c, \uc0ac\uc804 \ucc3e\uae30, \uc624\ud1a0 \ucef4\ud50c\ub9ac\uc158, \uc811\ub450\uc5b4 \uac80\uc0c9 \ub4f1 \ub2e4\uc591\ud55c \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ub370 \uc720\uc6a9\ud569\ub2c8\ub2e4. 2. \ud2b8\ub77c\uc774 \uc790\ub8cc\uad6c\uc870 \uc18c\uac1c \ud2b8\ub77c\uc774\ub294 \uac01 \ub178\ub4dc\uac00 \ubb38\uc790\uc5f4\uc758 \ubb38\uc790\ub97c \uc800\uc7a5\ud558\uba70, \ub178\ub4dc \uac04\uc758 \uacbd\ub85c\ub294 \ud2b9\uc815 \ubb38\uc790\uc5f4\uc758 \uc811\ub450\uc5b4\ub97c \ub098\ud0c0\ub0c5\ub2c8\ub2e4. &hellip; \ub354 \ubcf4\uae30 &quot;C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud2b8\ub77c\uc774&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/27780\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T14:43:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:15:09+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\/27780\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27780\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud2b8\ub77c\uc774\",\"datePublished\":\"2024-10-27T14:43:47+00:00\",\"dateModified\":\"2024-11-26T07:15:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27780\/\"},\"wordCount\":30,\"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\/27780\/\",\"url\":\"https:\/\/atmokpo.com\/w\/27780\/\",\"name\":\"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud2b8\ub77c\uc774 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T14:43:47+00:00\",\"dateModified\":\"2024-11-26T07:15:09+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27780\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/27780\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/27780\/#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, \ud2b8\ub77c\uc774\"}]},{\"@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, \ud2b8\ub77c\uc774 - \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\/27780\/","og_locale":"ko_KR","og_type":"article","og_title":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud2b8\ub77c\uc774 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"1. \uc11c\ub860 \uc624\ub298\uc758 \uac15\uc88c\uc5d0\uc11c\ub294 C++ \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud2b8\ub77c\uc774(Trie) \uc790\ub8cc\uad6c\uc870\uc5d0 \ub300\ud574 \uc2ec\ub3c4 \uc788\uac8c \uc0b4\ud3b4\ubcf4\uace0, \uc774\ub97c \ud65c\uc6a9\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uaca0\uc2b5\ub2c8\ub2e4. \ud2b8\ub77c\uc774\ub294 \ubb38\uc790\uc5f4\uc744 \uc800\uc7a5\ud558\uace0 \uac80\uc0c9\ud558\ub294 \ub370 \ucd5c\uc801\ud654\ub41c \uc790\ub8cc\uad6c\uc870\ub85c, \uc0ac\uc804 \ucc3e\uae30, \uc624\ud1a0 \ucef4\ud50c\ub9ac\uc158, \uc811\ub450\uc5b4 \uac80\uc0c9 \ub4f1 \ub2e4\uc591\ud55c \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ub370 \uc720\uc6a9\ud569\ub2c8\ub2e4. 2. \ud2b8\ub77c\uc774 \uc790\ub8cc\uad6c\uc870 \uc18c\uac1c \ud2b8\ub77c\uc774\ub294 \uac01 \ub178\ub4dc\uac00 \ubb38\uc790\uc5f4\uc758 \ubb38\uc790\ub97c \uc800\uc7a5\ud558\uba70, \ub178\ub4dc \uac04\uc758 \uacbd\ub85c\ub294 \ud2b9\uc815 \ubb38\uc790\uc5f4\uc758 \uc811\ub450\uc5b4\ub97c \ub098\ud0c0\ub0c5\ub2c8\ub2e4. &hellip; \ub354 \ubcf4\uae30 \"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud2b8\ub77c\uc774\"","og_url":"https:\/\/atmokpo.com\/w\/27780\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T14:43:47+00:00","article_modified_time":"2024-11-26T07:15:09+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\/27780\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/27780\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud2b8\ub77c\uc774","datePublished":"2024-10-27T14:43:47+00:00","dateModified":"2024-11-26T07:15:09+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/27780\/"},"wordCount":30,"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\/27780\/","url":"https:\/\/atmokpo.com\/w\/27780\/","name":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud2b8\ub77c\uc774 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T14:43:47+00:00","dateModified":"2024-11-26T07:15:09+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/27780\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/27780\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/27780\/#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, \ud2b8\ub77c\uc774"}]},{"@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\/27780","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=27780"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27780\/revisions"}],"predecessor-version":[{"id":27781,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27780\/revisions\/27781"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=27780"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=27780"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=27780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}