{"id":26978,"date":"2024-10-27T13:42:34","date_gmt":"2024-10-27T13:42:34","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=26978"},"modified":"2024-11-26T07:24:59","modified_gmt":"2024-11-26T07:24:59","slug":"%ed%8c%8c%ec%9d%b4%ec%8d%ac-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c-dfs%ec%99%80-bfs-%ed%94%84%eb%a1%9c%ea%b7%b8%eb%9e%a8","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/26978\/","title":{"rendered":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, DFS\uc640 BFS \ud504\ub85c\uadf8\ub7a8"},"content":{"rendered":"<p><body><\/p>\n<h2>1. \uc11c\ub860<\/h2>\n<p>\n        \ucd5c\uadfc \ub9ce\uc740 \uae30\uc5c5\ub4e4\uc774 \uc54c\uace0\ub9ac\uc998\uc744 \ud65c\uc6a9\ud55c \ucf54\ub529 \ud14c\uc2a4\ud2b8\ub97c \uc9c4\ud589\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c\ub294<br \/>\n        DFS(\uae4a\uc774 \uc6b0\uc120 \ud0d0\uc0c9)\uc640 BFS(\ub108\ube44 \uc6b0\uc120 \ud0d0\uc0c9)\uc640 \uac19\uc740 \uadf8\ub798\ud504 \ud0d0\uc0c9 \uc54c\uace0\ub9ac\uc998\uc774 \ube48\ubc88\ud558\uac8c \ucd9c\uc81c\ub429\ub2c8\ub2e4.<br \/>\n        \ubcf8 \uae00\uc5d0\uc11c\ub294 DFS\uc640 BFS\uc758 \uae30\ucd08 \uac1c\ub150\uc744 \uc815\ub9ac\ud558\uace0, \uc774\ub97c \ubc14\ud0d5\uc73c\ub85c \ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c \ud558\ub098\ub97c \uc81c\uc2dc\ud558\uc5ec<br \/>\n        \ubb38\uc81c \ud480\uc774 \uacfc\uc815\uc744 \uc790\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<h2>2. DFS\uc640 BFS \uac1c\uc694<\/h2>\n<h3>2.1 DFS (Depth-First Search)<\/h3>\n<p>\n        DFS\ub294 \uadf8\ub798\ud504\uc758 \ud55c \uc815\uc810\uc5d0\uc11c \uc2dc\uc791\ud558\uc5ec \uac00\ub2a5\ud55c \uba40\ub9ac \uc788\ub294 \uc815\uc810\uae4c\uc9c0 \ud0d0\uc0c9\ud55c \ud6c4, \ub354 \uc774\uc0c1 \ud0d0\uc0c9\ud560 \uc815\uc810\uc774 \uc5c6\uc73c\uba74<br \/>\n        \ub9c8\uc9c0\ub9c9\uc73c\ub85c \ubc29\ubb38\ud55c \uc815\uc810\uc73c\ub85c \ub3cc\uc544\uc640\uc11c \ub2e4\uc2dc \ud0d0\uc0c9\uc744 \uc9c4\ud589\ud558\ub294 \ubc29\uc2dd\uc785\ub2c8\ub2e4. \uc774\ub54c \uc2a4\ud0dd \uc790\ub8cc\uad6c\uc870\ub97c \uc0ac\uc6a9\ud558\uac70\ub098,<br \/>\n        \uc7ac\uadc0 \ud568\uc218\ub97c \uc774\uc6a9\ud558\uc5ec \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. DFS\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \uacfc\uc815\uc744 \uac70\uce69\ub2c8\ub2e4:\n    <\/p>\n<ul>\n<li>\uc2dc\uc791 \uc815\uc810\uc744 \uc2a4\ud0dd\uc5d0 \ucd94\uac00\ud558\uace0 \ubc29\ubb38\ucc98\ub9ac\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc2a4\ud0dd\uc758 \uaf2d\ub300\uae30\uc5d0\uc11c \uc815\uc810\uc744 \ud558\ub098 \uaebc\ub0b4\uace0, \ud574\ub2f9 \uc815\uc810\uc758 \uc778\uc811 \uc815\uc810 \uc911 \uc544\uc9c1 \ubc29\ubb38\ud558\uc9c0 \uc54a\uc740 \uc815\uc810\uc744<br \/>\n        \uc2a4\ud0dd\uc5d0 \ucd94\uac00\ud569\ub2c8\ub2e4.<\/li>\n<li>\ubaa8\ub4e0 \uc815\uc810\uc744 \ud0d0\uc0c9\ud560 \ub54c\uae4c\uc9c0 \uc704\uc758 \uacfc\uc815\uc744 \ubc18\ubcf5\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h3>2.2 BFS (Breadth-First Search)<\/h3>\n<p>\n        BFS\ub294 \uadf8\ub798\ud504\uc758 \ud55c \uc815\uc810\uc5d0\uc11c \uc2dc\uc791\ud558\uc5ec \uc778\uc811\ud55c \ubaa8\ub4e0 \uc815\uc810\uc744 \uba3c\uc800 \ud0d0\uc0c9\ud55c \ud6c4, \uadf8 \uc778\uc811 \uc815\uc810\uc5d0\uc11c \ub2e4\uc2dc \uc778\uc811\ud55c<br \/>\n        \uc815\uc810\uc744 \ud0d0\uc0c9\ud558\ub294 \ubc29\uc2dd\uc785\ub2c8\ub2e4. \uc774\ub54c \ud050 \uc790\ub8cc\uad6c\uc870\ub97c \uc0ac\uc6a9\ud558\uc5ec \uad6c\ud604\ub429\ub2c8\ub2e4. BFS\uc758 \uacfc\uc815\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:\n    <\/p>\n<ul>\n<li>\uc2dc\uc791 \uc815\uc810\uc744 \ud050\uc5d0 \ucd94\uac00\ud558\uace0 \ubc29\ubb38 \ucc98\ub9ac\ub97c \ud569\ub2c8\ub2e4.<\/li>\n<li>\ud050\uc5d0\uc11c \uc815\uc810\uc744 \ud558\ub098 \uaebc\ub0b4\uace0, \ud574\ub2f9 \uc815\uc810\uc758 \uc778\uc811 \uc815\uc810 \uc911\uc5d0\uc11c \uc544\uc9c1 \ubc29\ubb38\ud558\uc9c0 \uc54a\uc740 \uc815\uc810\uc744 \ud050\uc5d0<br \/>\n        \ucd94\uac00\ud569\ub2c8\ub2e4.<\/li>\n<li>\ubaa8\ub4e0 \uc815\uc810\uc744 \ud0d0\uc0c9\ud560 \ub54c\uae4c\uc9c0 \uc704\uc758 \uacfc\uc815\uc744 \ubc18\ubcf5\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>3. \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c \uc18c\uac1c<\/h2>\n<h3>\ubb38\uc81c: \uacbd\ub85c \ud0d0\uc0c9\ud558\uae30<\/h3>\n<p>\n        \ub2e4\uc74c\uc740 DFS\uc640 BFS\ub97c \uc774\uc6a9\ud558\uc5ec \uacbd\ub85c\ub97c \ud0d0\uc0c9\ud558\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4.<br \/>\n        <strong>\ubb38\uc81c \uc124\uba85:<\/strong> \uc8fc\uc5b4\uc9c4 \uadf8\ub798\ud504\uc640 \ub450 \uc815\uc810 A, B\uac00 \uc788\uc744 \ub54c,<br \/>\n        A\uc5d0\uc11c B\ub85c \uac00\ub294 \uacbd\ub85c\uac00 \uc874\uc7ac\ud558\ub294\uc9c0 \ud655\uc778\ud558\uc2dc\uc624.<br \/>\n        \uadf8\ub798\ud504\ub294 \uc778\uc811 \ub9ac\uc2a4\ud2b8 \ud615\ud0dc\ub85c \uc8fc\uc5b4\uc9d1\ub2c8\ub2e4.\n    <\/p>\n<pre>\n        input:\n        graph = {\n            'A': ['B', 'C'],\n            'B': ['D'],\n            'C': ['D', 'E'],\n            'D': ['F'],\n            'E': [],\n            'F': []\n        }\n        start = 'A'\n        end = 'F'\n        output: True (A\uc5d0\uc11c F\ub85c \uac00\ub294 \uacbd\ub85c\uac00 \uc874\uc7ac)\n    <\/pre>\n<h2>4. \ubb38\uc81c \ud480\uc774 \uacfc\uc815<\/h2>\n<h3>4.1 DFS\ub85c \uacbd\ub85c \ud0d0\uc0c9\ud558\uae30<\/h3>\n<p>\n        DFS\ub97c \uc0ac\uc6a9\ud558\uc5ec \uacbd\ub85c\ub97c \ud0d0\uc0c9\ud558\ub294 \ubc29\ubc95\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4.<br \/>\n        \uc7ac\uadc0 \ud568\uc218\ub97c \uc774\uc6a9\ud558\uc5ec \uad6c\ud604\ud560 \uc218 \uc788\uc73c\uba70, \ubc29\ubb38\ud55c \uc815\uc810\uc744 \uc800\uc7a5\ud558\uae30 \uc704\ud574 set \uc790\ub8cc\uad6c\uc870\ub97c \ud65c\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<pre>\n        def dfs(graph, start, end, visited):\n            if start == end:\n                return True\n            \n            visited.add(start)\n            \n            for neighbor in graph[start]:\n                if neighbor not in visited:\n                    if dfs(graph, neighbor, end, visited):\n                        return True\n            \n            return False\n        \n        graph = {\n            'A': ['B', 'C'],\n            'B': ['D'],\n            'C': ['D', 'E'],\n            'D': ['F'],\n            'E': [],\n            'F': []\n        }\n        start = 'A'\n        end = 'F'\n        visited = set()\n        result = dfs(graph, start, end, visited)\n    <\/pre>\n<p>\n        \uc704\uc758 \ucf54\ub4dc\ub97c \ud1b5\ud574 DFS\ub97c \uc0ac\uc6a9\ud558\uc5ec \uacbd\ub85c \ud0d0\uc0c9\uc744 \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n        \ucc98\uc74c\uc5d0 \uc2dc\uc791 \uc815\uc810 A\uac00 \uc8fc\uc5b4\uc9c0\uba74, \ud574\ub2f9 \uc815\uc810\uc758 \ubc29\ubb38 \uc0c1\ud0dc\ub97c \uccb4\ud06c\ud55c \ud6c4 \uc778\uc811 \uc815\uc810\uc73c\ub85c<br \/>\n        \uc7ac\uadc0 \ud638\ucd9c\uc744 \ud1b5\ud574 \ud0d0\uc0c9\uc744 \uc9c4\ud589\ud569\ub2c8\ub2e4.<br \/>\n        \uc815\uc810 F\uc5d0 \ub3c4\ub2ec\ud588\uc744 \ub54c True\ub97c \ubc18\ud658\ud558\uba74 \uacbd\ub85c\uac00 \uc874\uc7ac\ud558\ub294 \uac83\uc785\ub2c8\ub2e4.\n    <\/p>\n<h3>4.2 BFS\ub85c \uacbd\ub85c \ud0d0\uc0c9\ud558\uae30<\/h3>\n<p>\n        BFS\ub97c \uc0ac\uc6a9\ud558\uc5ec \uacbd\ub85c\ub97c \ud0d0\uc0c9\ud558\ub294 \ubc29\ubc95\uc740 \ud050\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc815\uc810 \ubc29\ubb38 \uae30\ub85d\uc744 \uc720\uc9c0\ud558\ub294 \uac83\uc785\ub2c8\ub2e4.\n    <\/p>\n<pre>\n        from collections import deque\n        \n        def bfs(graph, start, end):\n            queue = deque([start])\n            visited = set([start])\n            \n            while queue:\n                vertex = queue.popleft()\n                \n                if vertex == end:\n                    return True\n                \n                for neighbor in graph[vertex]:\n                    if neighbor not in visited:\n                        visited.add(neighbor)\n                        queue.append(neighbor)\n                        \n            return False\n        \n        graph = {\n            'A': ['B', 'C'],\n            'B': ['D'],\n            'C': ['D', 'E'],\n            'D': ['F'],\n            'E': [],\n            'F': []\n        }\n        start = 'A'\n        end = 'F'\n        result = bfs(graph, start, end)\n    <\/pre>\n<p>\n        BFS\ub97c \uad6c\ud604\ud55c \uc704\uc758 \ucf54\ub4dc\uc640 \uac19\uc774 \ud050\ub97c \uc774\uc6a9\ud574 \uac01 \uc815\uc810\uc758 \uc778\uc811 \uc815\uc810\uc744 \ud558\ub098\uc529<br \/>\n        \ud0d0\uc0c9\ud574 \ub098\uac00\uba74\uc11c \ud655\uc778\ud558\uba74 A\uc5d0\uc11c F\ub85c \uac00\ub294 \uacbd\ub85c\uac00 \uc788\ub294\uc9c0\ub97c \uc54c \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n        \ud050\ub294 \ud0d0\uc0c9\ud558\ub294 \uacfc\uc815\uc5d0\uc11c \uc0ac\uc6a9\ub418\uba70, \ubc29\ubb38\ud55c \uc815\uc810\ub3c4 \uae30\ub85d\ud569\ub2c8\ub2e4.\n    <\/p>\n<h2>5. \uacb0\ub860<\/h2>\n<p>\n        DFS\uc640 BFS\ub294 \uc11c\ub85c \ub2e4\ub978 \ud0d0\uc0c9 \ubc29\ubc95\uc73c\ub85c, \uac01\uac01\uc758 \ud2b9\uc131\uc5d0 \ub530\ub77c \ub2e4\uc591\ud55c \ubb38\uc81c\uc5d0 \uc801\ud569\ud569\ub2c8\ub2e4.<br \/>\n        \uad6c\uc870\uc758 \uae4a\uc774\ub97c \uc6b0\uc120\uc801\uc73c\ub85c \ud0d0\uc0c9\ud558\uace0 \uc2f6\uc740 \uacbd\uc6b0\uc5d0\ub294 DFS\uac00, \ucd5c\ub2e8 \uac70\ub9ac \ud0d0\uc0c9\uc744 \uc6d0\ud560 \uacbd\uc6b0\uc5d0\ub294 BFS\uac00<br \/>\n        \ub354 \uc720\ub9ac\ud569\ub2c8\ub2e4. \ubcf8 \uae00\uc5d0\uc11c\ub294 \uac04\ub2e8\ud55c \uacbd\ub85c \ud0d0\uc0c9 \ubb38\uc81c\ub97c \ud1b5\ud574 \ub450 \uc54c\uace0\ub9ac\uc998\uc758 \uad6c\ud604\uacfc<br \/>\n        \uadf8 \uacfc\uc815\uc5d0\uc11c\uc758 \ucc28\uc774\ub97c \ubcf4\uc5ec\ub4dc\ub838\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \uae30\ucd08\ub97c \ubc14\ud0d5\uc73c\ub85c \ub354 \ubcf5\uc7a1\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\uc5d0<br \/>\n        \ub3c4\uc804\ud574 \ubcfc \uc218 \uc788\uc744 \uac83\uc785\ub2c8\ub2e4.\n    <\/p>\n<h2>6. \ucc38\uace0 \uc790\ub8cc<\/h2>\n<ul>\n<li>Data Structures and Algorithms in Python by Michael T. Goodrich<\/li>\n<li>Introduction to Algorithms by Thomas H. Cormen<\/li>\n<li>Python Documentation: <a href=\"https:\/\/docs.python.org\/3\/\">https:\/\/docs.python.org\/3\/<\/a><\/li>\n<\/ul>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \uc11c\ub860 \ucd5c\uadfc \ub9ce\uc740 \uae30\uc5c5\ub4e4\uc774 \uc54c\uace0\ub9ac\uc998\uc744 \ud65c\uc6a9\ud55c \ucf54\ub529 \ud14c\uc2a4\ud2b8\ub97c \uc9c4\ud589\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c\ub294 DFS(\uae4a\uc774 \uc6b0\uc120 \ud0d0\uc0c9)\uc640 BFS(\ub108\ube44 \uc6b0\uc120 \ud0d0\uc0c9)\uc640 \uac19\uc740 \uadf8\ub798\ud504 \ud0d0\uc0c9 \uc54c\uace0\ub9ac\uc998\uc774 \ube48\ubc88\ud558\uac8c \ucd9c\uc81c\ub429\ub2c8\ub2e4. \ubcf8 \uae00\uc5d0\uc11c\ub294 DFS\uc640 BFS\uc758 \uae30\ucd08 \uac1c\ub150\uc744 \uc815\ub9ac\ud558\uace0, \uc774\ub97c \ubc14\ud0d5\uc73c\ub85c \ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c \ud558\ub098\ub97c \uc81c\uc2dc\ud558\uc5ec \ubb38\uc81c \ud480\uc774 \uacfc\uc815\uc744 \uc790\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 2. DFS\uc640 BFS \uac1c\uc694 2.1 DFS (Depth-First Search) DFS\ub294 \uadf8\ub798\ud504\uc758 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/26978\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, DFS\uc640 BFS \ud504\ub85c\uadf8\ub7a8&#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":[23],"tags":[],"class_list":["post-26978","post","type-post","status-publish","format-standard","hentry","category-23"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, DFS\uc640 BFS \ud504\ub85c\uadf8\ub7a8 - \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\/26978\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, DFS\uc640 BFS \ud504\ub85c\uadf8\ub7a8 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"1. \uc11c\ub860 \ucd5c\uadfc \ub9ce\uc740 \uae30\uc5c5\ub4e4\uc774 \uc54c\uace0\ub9ac\uc998\uc744 \ud65c\uc6a9\ud55c \ucf54\ub529 \ud14c\uc2a4\ud2b8\ub97c \uc9c4\ud589\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c\ub294 DFS(\uae4a\uc774 \uc6b0\uc120 \ud0d0\uc0c9)\uc640 BFS(\ub108\ube44 \uc6b0\uc120 \ud0d0\uc0c9)\uc640 \uac19\uc740 \uadf8\ub798\ud504 \ud0d0\uc0c9 \uc54c\uace0\ub9ac\uc998\uc774 \ube48\ubc88\ud558\uac8c \ucd9c\uc81c\ub429\ub2c8\ub2e4. \ubcf8 \uae00\uc5d0\uc11c\ub294 DFS\uc640 BFS\uc758 \uae30\ucd08 \uac1c\ub150\uc744 \uc815\ub9ac\ud558\uace0, \uc774\ub97c \ubc14\ud0d5\uc73c\ub85c \ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c \ud558\ub098\ub97c \uc81c\uc2dc\ud558\uc5ec \ubb38\uc81c \ud480\uc774 \uacfc\uc815\uc744 \uc790\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 2. DFS\uc640 BFS \uac1c\uc694 2.1 DFS (Depth-First Search) DFS\ub294 \uadf8\ub798\ud504\uc758 &hellip; \ub354 \ubcf4\uae30 &quot;\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, DFS\uc640 BFS \ud504\ub85c\uadf8\ub7a8&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/26978\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T13:42:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:24:59+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\/26978\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26978\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, DFS\uc640 BFS \ud504\ub85c\uadf8\ub7a8\",\"datePublished\":\"2024-10-27T13:42:34+00:00\",\"dateModified\":\"2024-11-26T07:24:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26978\/\"},\"wordCount\":63,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/26978\/\",\"url\":\"https:\/\/atmokpo.com\/w\/26978\/\",\"name\":\"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, DFS\uc640 BFS \ud504\ub85c\uadf8\ub7a8 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T13:42:34+00:00\",\"dateModified\":\"2024-11-26T07:24:59+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26978\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/26978\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/26978\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, DFS\uc640 BFS \ud504\ub85c\uadf8\ub7a8\"}]},{\"@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":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, DFS\uc640 BFS \ud504\ub85c\uadf8\ub7a8 - \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\/26978\/","og_locale":"ko_KR","og_type":"article","og_title":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, DFS\uc640 BFS \ud504\ub85c\uadf8\ub7a8 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"1. \uc11c\ub860 \ucd5c\uadfc \ub9ce\uc740 \uae30\uc5c5\ub4e4\uc774 \uc54c\uace0\ub9ac\uc998\uc744 \ud65c\uc6a9\ud55c \ucf54\ub529 \ud14c\uc2a4\ud2b8\ub97c \uc9c4\ud589\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c\ub294 DFS(\uae4a\uc774 \uc6b0\uc120 \ud0d0\uc0c9)\uc640 BFS(\ub108\ube44 \uc6b0\uc120 \ud0d0\uc0c9)\uc640 \uac19\uc740 \uadf8\ub798\ud504 \ud0d0\uc0c9 \uc54c\uace0\ub9ac\uc998\uc774 \ube48\ubc88\ud558\uac8c \ucd9c\uc81c\ub429\ub2c8\ub2e4. \ubcf8 \uae00\uc5d0\uc11c\ub294 DFS\uc640 BFS\uc758 \uae30\ucd08 \uac1c\ub150\uc744 \uc815\ub9ac\ud558\uace0, \uc774\ub97c \ubc14\ud0d5\uc73c\ub85c \ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c \ud558\ub098\ub97c \uc81c\uc2dc\ud558\uc5ec \ubb38\uc81c \ud480\uc774 \uacfc\uc815\uc744 \uc790\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 2. DFS\uc640 BFS \uac1c\uc694 2.1 DFS (Depth-First Search) DFS\ub294 \uadf8\ub798\ud504\uc758 &hellip; \ub354 \ubcf4\uae30 \"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, DFS\uc640 BFS \ud504\ub85c\uadf8\ub7a8\"","og_url":"https:\/\/atmokpo.com\/w\/26978\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T13:42:34+00:00","article_modified_time":"2024-11-26T07:24:59+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\/26978\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/26978\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, DFS\uc640 BFS \ud504\ub85c\uadf8\ub7a8","datePublished":"2024-10-27T13:42:34+00:00","dateModified":"2024-11-26T07:24:59+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/26978\/"},"wordCount":63,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/26978\/","url":"https:\/\/atmokpo.com\/w\/26978\/","name":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, DFS\uc640 BFS \ud504\ub85c\uadf8\ub7a8 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T13:42:34+00:00","dateModified":"2024-11-26T07:24:59+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/26978\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/26978\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/26978\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, DFS\uc640 BFS \ud504\ub85c\uadf8\ub7a8"}]},{"@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":27254,"url":"https:\/\/atmokpo.com\/w\/27254\/","url_meta":{"origin":26978,"position":0},"title":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uadf8\ub798\ud504\uc758 \ud45c\ud604","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: \uc870\uad11\ud615 | \ub0a0\uc9dc: [\ub0a0\uc9dc] \uc11c\ub860 \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc54c\uace0\ub9ac\uc998\uc740 \ub9e4\uc6b0 \uc911\uc694\ud55c \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. \ud2b9\ud788, \uadf8\ub798\ud504 \uc54c\uace0\ub9ac\uc998\uc740 \ubb38\uc81c \ud574\uacb0 \ub2a5\ub825\uc744 \ud3c9\uac00\ud558\ub294 \ub370 \uc788\uc5b4 \uc790\uc8fc \ub4f1\uc7a5\ud558\ub294 \uc8fc\uc81c \uc911 \ud558\ub098\uc785\ub2c8\ub2e4. \uc774\ubc88 \uae00\uc5d0\uc11c\ub294 C#\uc744 \ud65c\uc6a9\ud558\uc5ec \uadf8\ub798\ud504\ub97c \ud45c\ud604\ud558\ub294 \ubc29\ubc95\uacfc \ud568\uaed8, \uadf8\ub798\ud504\ub97c \uc774\uc6a9\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \uacfc\uc815\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uadf8\ub798\ud504\ub780 \ubb34\uc5c7\uc778\uac00? \uadf8\ub798\ud504\ub294 \ub178\ub4dc(\ub610\ub294 \uc815\uc810)\uc640 \uc774\ub4e4\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":27232,"url":"https:\/\/atmokpo.com\/w\/27232\/","url_meta":{"origin":26978,"position":1},"title":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud2b9\uc815 \uac70\ub9ac\uc758 \ub3c4\uc2dc \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 \ubb38\uc81c \uc815\uc758 \uc8fc\uc5b4\uc9c4 \ub3c4\uc2dc\uc640 \uac70\ub9ac \uc815\ubcf4\ub97c \ubc14\ud0d5\uc73c\ub85c, \ud2b9\uc815 \uac70\ub9ac K\uc5d0 \uc815\ud655\ud788 \ub3c4\ub2ec\ud560 \uc218 \uc788\ub294 \ub3c4\uc2dc \ubaa9\ub85d\uc744 \uad6c\ud558\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uac01 \ub3c4\uc2dc\ub294 \ubc88\ud638\ub85c \ud45c\ud604\ub418\uba70, \ub450 \ub3c4\uc2dc \uac04\uc758 \uac70\ub9ac \uc815\ubcf4\ub294 \uc591\ubc29\ud5a5 \ub3c4\ub85c\ub85c \uc5f0\uacb0\ub41c \ud615\ud0dc\ub85c \uc8fc\uc5b4\uc9d1\ub2c8\ub2e4. \ubaa9\ud45c\ub294 K\ub9cc\ud07c \ub5a8\uc5b4\uc9c4 \ub3c4\uc2dc\ub97c \ucc3e\ub294 \uac83\uc785\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, N\uac1c\uc758 \ub3c4\uc2dc\uac00 \uc788\uace0, M\uac1c\uc758\u2026","rel":"","context":"&quot;\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/%ed%8c%8c%ec%9d%b4%ec%8d%ac-%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":27825,"url":"https:\/\/atmokpo.com\/w\/27825\/","url_meta":{"origin":26978,"position":2},"title":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud50c\ub85c\uc774\ub4dc-\uc6cc\uc15c","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 \ubaa9\ucc28 1. \uc18c\uac1c 2. \ubb38\uc81c \uc124\uba85 3. \ud50c\ub85c\uc774\ub4dc-\uc6cc\uc15c \uc54c\uace0\ub9ac\uc998 \uc774\ud574 4. \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \uad6c\ud604 5. \uc2dc\uac04 \ubcf5\uc7a1\ub3c4 6. \uacb0\ub860 1. \uc18c\uac1c \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub294 \ube48\ubc88\ud558\uac8c \ucd9c\uc81c\ub418\uba70, \ub2e4\uc591\ud55c \uc54c\uace0\ub9ac\uc998\uc744 \uc774\ud574\ud558\uace0 \uad6c\ud604\ud560 \uc218 \uc788\ub294 \ub2a5\ub825\uc774 \uc911\uc694\ud569\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \ud50c\ub85c\uc774\ub4dc-\uc6cc\uc15c(Floyd-Warshall) \uc54c\uace0\ub9ac\uc998\uc5d0 \ub300\ud574 \ub2e4\ub8e8\uace0, \uc774\ub97c \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\ub85c \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \ubc30\uc6c1\ub2c8\ub2e4.\u2026","rel":"","context":"&quot;\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/%ec%9e%90%eb%b0%94%ec%8a%a4%ed%81%ac%eb%a6%bd%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":27621,"url":"https:\/\/atmokpo.com\/w\/27621\/","url_meta":{"origin":26978,"position":3},"title":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubca8\ub9cc-\ud3ec\ub4dc","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: [\uc870\uad11\ud615] \ub0a0\uc9dc: [\ub0a0\uc9dc] 1. \uac1c\uc694 \ucf54\ub529\ud14c\uc2a4\ud2b8\ub294 \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uac1c\ubc1c \uc9c1\uad70\uc5d0 \uc9c0\uc6d0\ud568\uc5d0 \uc788\uc5b4 \ud544\uc218\uc801\uc73c\ub85c \uc694\uad6c\ub418\ub294 \uacfc\uc815\uc785\ub2c8\ub2e4. \ub9ce\uc740 \uae30\uc5c5\ub4e4\uc774 \ub2e4\uc591\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ud1b5\ud574 \uc9c0\uc6d0\uc790\uc758 \ubb38\uc81c\ud574\uacb0 \ub2a5\ub825\uc744 \ud3c9\uac00\ud558\uace0, \uc774\ub97c \uc704\ud574 \ubca8\ub9cc-\ud3ec\ub4dc \uc54c\uace0\ub9ac\uc998\uc744 \uc774\ud574\ud558\uace0 \ud65c\uc6a9\ud558\ub294 \ub2a5\ub825\uc774 \uc911\uc694\ud569\ub2c8\ub2e4. \ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 \ubca8\ub9cc-\ud3ec\ub4dc \uc54c\uace0\ub9ac\uc998\uc744 \uc18c\uac1c\ud558\uace0, C++\ub97c \uc774\uc6a9\ud558\uc5ec \uc2e4\uc2b5\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 2. \uc54c\uace0\ub9ac\uc998 \uc18c\uac1c \ubca8\ub9cc-\ud3ec\ub4dc \uc54c\uace0\ub9ac\uc998(Bellman-Ford Algorithm)\uc740 \uc8fc\uc5b4\uc9c4 \ucd9c\ubc1c\uc810\uc5d0\uc11c \ubaa8\ub4e0\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":28403,"url":"https:\/\/atmokpo.com\/w\/28403\/","url_meta":{"origin":26978,"position":4},"title":"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uadf8\ub798\ud504\uc758 \ud45c\ud604","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc548\ub155\ud558\uc138\uc694! \uc624\ub298\uc740 \ucf54\ud2c0\ub9b0\uc744 \uc0ac\uc6a9\ud558\uc5ec \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \ub098\uc624\ub294 \uadf8\ub798\ud504\uc758 \ud45c\ud604 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uadf8\ub798\ud504\ub294 \uc5ec\ub7ec \ubd84\uc57c\uc5d0\uc11c \uaf64 \uc911\uc694\ud55c \uc790\ub8cc\uad6c\uc870\ub85c, \ub2e4\uc591\ud55c \ubb38\uc81c\ub97c \ud574\uacb0\ud560 \ub54c \ud544\uc218\uc801\uc778 \uadfc\ubcf8\uae30\ub2a5\uc744 \uac00\uc9c0\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ubc88 \uae00\uc5d0\uc11c\ub294 \uadf8\ub798\ud504\ub97c \uc5b4\ub5bb\uac8c \ud45c\ud604\ud558\uace0, \uadf8 \ud45c\ud604\uc744 \uc0ac\uc6a9\ud558\uc5ec \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. \uadf8\ub798\ud504\ub780 \ubb34\uc5c7\uc778\uac00? \uadf8\ub798\ud504\ub294 \ub178\ub4dc(\uc815\uc810)\uc640 \uc5e3\uc9c0(\uac04\uc120)\ub85c \uad6c\uc131\ub41c \uc790\ub8cc\uad6c\uc870\uc785\ub2c8\ub2e4. \ub178\ub4dc\ub294 \uac1d\uccb4\ub97c \ub098\ud0c0\ub0b4\uba70, \uc5e3\uc9c0\ub294\u2026","rel":"","context":"&quot;\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/%ec%bd%94%ed%8b%80%eb%a6%b0-%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":26978,"position":5},"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":[]}],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/26978","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=26978"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/26978\/revisions"}],"predecessor-version":[{"id":26979,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/26978\/revisions\/26979"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=26978"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=26978"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=26978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}