{"id":27432,"date":"2024-10-27T14:11:36","date_gmt":"2024-10-27T14:11:36","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=27432"},"modified":"2024-11-26T07:18:26","modified_gmt":"2024-11-26T07:18:26","slug":"c-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c-%ed%83%80%ec%9e%84%eb%a8%b8%ec%8b%a0%ec%9c%bc%eb%a1%9c-%eb%b9%a8%eb%a6%ac-%ea%b0%80%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/27432\/","title":{"rendered":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud0c0\uc784\uba38\uc2e0\uc73c\ub85c \ube68\ub9ac \uac00\uae30"},"content":{"rendered":"<p><body><\/p>\n<p>\uc548\ub155\ud558\uc138\uc694! \uc624\ub298\uc740 C#\uc744 \uc774\uc6a9\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ud480\uc774 \uac15\uc88c\ub97c \uc9c4\ud589\ud558\uaca0\uc2b5\ub2c8\ub2e4. \uc8fc\uc81c\ub85c\ub294 &#8216;\ud0c0\uc784\uba38\uc2e0\uc73c\ub85c \ube68\ub9ac \uac00\uae30&#8217;\uc785\ub2c8\ub2e4. \ud574\ub2f9 \ubb38\uc81c\ub294 \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \uc811\ud560 \uc218 \uc788\ub294 DFS(Depth First Search)\uc640 BFS(Breadth First Search)\uc758 \ud63c\ud569 \ubb38\uc81c\ub85c, \ucd5c\ub2e8 \uacbd\ub85c\ub97c \ucc3e\ub294 \uac83\uc774 \uc8fc\ub41c \ubaa9\ud45c\uc785\ub2c8\ub2e4.<\/p>\n<h2>\ubb38\uc81c \uc124\uba85<\/h2>\n<p>\ub2f9\uc2e0\uc740 \uc2dc\uac04 \uc5ec\ud589\uc744 \ud560 \uc218 \uc788\ub294 \uae30\ub2a5\uc774 \uc788\ub294 \ud0c0\uc784\uba38\uc2e0\uc744 \uac00\uc9c0\uace0 \uc788\uc2b5\ub2c8\ub2e4. \ub2f9\uc2e0\uc758 \ubaa9\ud45c\ub294 \ud604\uc7ac \uc2dc\uac04\uc5d0\uc11c \ubbf8\ub798\uc758 \ud2b9\uc815 \uc2dc\uac04\uc73c\ub85c \uc774\ub3d9\ud558\ub294 \uac83\uc785\ub2c8\ub2e4. \uadf8\ub7ec\ub098 \ud0c0\uc784\uba38\uc2e0\uc740 \ub2e4\uc74c\uacfc \uac19\uc740 \uaddc\uce59\uc774 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li>\ud604\uc7ac \uc2dc\uac04\uc774 X\uc77c \ub54c, X &#8211; 1 \ucd08\ub85c \uc774\ub3d9\ud558\uba74 1\ucd08 \ud6c4\ub85c \uc774\ub3d9\ud569\ub2c8\ub2e4.<\/li>\n<li>\ud604\uc7ac \uc2dc\uac04\uc774 X\uc77c \ub54c, X + 1 \ucd08\ub85c \uc774\ub3d9\ud558\uba74 1\ucd08 \ud6c4\ub85c \uc774\ub3d9\ud569\ub2c8\ub2e4.<\/li>\n<li>\ud604\uc7ac \uc2dc\uac04\uc774 X\uc77c \ub54c, X * 2 \ucd08\ub85c \uc21c\uac04 \uc774\ub3d9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<p>\ub2f9\uc2e0\uc740 \ud604\uc7ac \uc2dc\uac04 0\ucd08\uc5d0 \uc788\uc73c\uba70, N\ucd08 \ud6c4\uc5d0 \ub3c4\ucc29\ud574\uc57c \ud569\ub2c8\ub2e4. \ud0c0\uc784\uba38\uc2e0\uc744 \uc774\uc6a9\ud558\uc5ec N\ucd08\ub97c \uac00\uc7a5 \ube60\ub974\uac8c \ub3c4\ub2ec\ud558\ub294 \ubc29\ubc95\uc744 \uacc4\uc0b0\ud558\uc138\uc694.<\/p>\n<h2>\uc785\ub825 \ud615\uc2dd<\/h2>\n<p>\uc785\ub825\uc740 \ud55c \uc904\ub85c \uad6c\uc131\ub418\uc5b4 \uc788\uc73c\uba70, \ubaa9\ud45c \uc2dc\uac04 N\uc774 \uc8fc\uc5b4\uc9d1\ub2c8\ub2e4. (0 \u2264 N \u2264 100,000)<\/p>\n<h2>\ucd9c\ub825 \ud615\uc2dd<\/h2>\n<p>\uac00\uc7a5 \ube60\ub974\uac8c \ub3c4\ub2ec\ud558\ub294 \ubc29\ubc95\uc73c\ub85c \uac78\ub9ac\ub294 \uc2dc\uac04\uc744 \ucd9c\ub825\ud569\ub2c8\ub2e4.<\/p>\n<h2>\ubb38\uc81c \uc608\uc81c<\/h2>\n<pre>\n    \uc785\ub825:\n    5\n\n    \ucd9c\ub825:\n    5\n    <\/pre>\n<h2>\ubb38\uc81c \ud480\uc774 \uc811\uadfc\ubc95<\/h2>\n<p>\uc774 \ubb38\uc81c\ub294 BFS\ub97c \ud1b5\ud574 \ud574\uacb0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. BFS\ub294 \ucd5c\ub2e8 \uacbd\ub85c\ub97c \ucc3e\ub294 \ub370 \ub9e4\uc6b0 \ud6a8\uacfc\uc801\uc774\uba70, \ubaa8\ub4e0 \uac00\ub2a5\ud55c \uacbd\ub85c\ub97c \ud0d0\uc0c9\ud558\uba74\uc11c \ucd5c\uc801\uc758 \ud574\ub97c \ucc3e\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4. BFS\ub97c \uc0ac\uc6a9\ud560 \ub54c\ub294 Queue\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud604\uc7ac \uc0c1\ud0dc\ub97c \uc800\uc7a5\ud558\uace0, \ub2e4\uc74c \uc0c1\ud0dc\ub97c \ud050\uc5d0 \ucd94\uac00\ud558\ub294 \ubc29\uc2dd\uc73c\ub85c \uc9c4\ud589\ud569\ub2c8\ub2e4.<\/p>\n<h3>1\ub2e8\uacc4: BFS \uad6c\uc870 \uc774\ud574\ud558\uae30<\/h3>\n<p>BFS\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \uad6c\uc870\ub85c \uc9c4\ud589\ub429\ub2c8\ub2e4:<\/p>\n<ol>\n<li>\ud604\uc7ac \uc704\uce58\ub97c \ud050\uc5d0 \ucd94\uac00\ud569\ub2c8\ub2e4.<\/li>\n<li>\ud050\uc5d0\uc11c \uc704\uce58\ub97c \uaebc\ub0b4\uace0, \uadf8 \uc704\uce58\uc5d0 \ub3c4\ub2ec\ud558\uae30 \uc704\ud574 \ud544\uc694\ud55c \uc2dc\uac04\uc744 \uc800\uc7a5\ud569\ub2c8\ub2e4.<\/li>\n<li>\ud604\uc7ac \uc704\uce58\uc5d0\uc11c \uac00\ub2a5\ud55c \ubaa8\ub4e0 \uc774\ub3d9\uc744 \uacc4\uc0b0\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc774\ub3d9\ud55c \uc0c8\ub85c\uc6b4 \uc704\uce58\uac00 \ubaa9\ud45c \uc704\uce58(N)\uc640 \uac19\uc73c\uba74 \uc885\ub8cc\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc544\ub2c8\uba74 \uc774\ub3d9\ud55c \uc704\uce58\ub97c \uccb4\ud06c\ud558\uace0 \ud050\uc5d0 \ucd94\uac00\ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h3>2\ub2e8\uacc4: C# \ucf54\ub4dc \uad6c\ud604<\/h3>\n<p>\ucf54\ub4dc\ub97c \uad6c\ud604\ud558\uc5ec BFS\ub97c \ud1b5\ud574 \uc774\ub97c \ud574\uacb0\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>\n    using System;\n    using System.Collections.Generic;\n\n    public class TimeMachine\n    {\n        public static void Main(string[] args)\n        {\n            int targetTime = int.Parse(Console.ReadLine());\n            Console.WriteLine(FindMinimumTime(targetTime));\n        }\n\n        public static int FindMinimumTime(int target)\n        {\n            Queue<int> queue = new Queue<int>();\n            bool[] visited = new bool[100001];\n            queue.Enqueue(0); \/\/ \uc2dc\uc791 \uc2dc\uac04\n            visited[0] = true;\n\n            int[] timeArray = new int[100001]; \/\/ \uac01 \uc778\ub371\uc2a4\uc5d0 \ub3c4\ub2ec\ud558\ub294 \ub370 \uac78\ub9ac\ub294 \uc2dc\uac04\uc744 \uc800\uc7a5\n\n            while (queue.Count &gt; 0)\n            {\n                int currentTime = queue.Dequeue();\n\n                if (currentTime == target)\n                {\n                    return timeArray[currentTime];\n                }\n\n                \/\/ \uc774\ub3d9: X - 1\n                if (currentTime - 1 &gt;= 0 &amp;&amp; !visited[currentTime - 1])\n                {\n                    queue.Enqueue(currentTime - 1);\n                    visited[currentTime - 1] = true;\n                    timeArray[currentTime - 1] = timeArray[currentTime] + 1; \/\/ \uc774\ub3d9 \uc2dc\uac04 \ucd94\uac00\n                }\n\n                \/\/ \uc774\ub3d9: X + 1\n                if (currentTime + 1 &lt;= 100000 &amp;&amp; !visited[currentTime + 1])\n                {\n                    queue.Enqueue(currentTime + 1);\n                    visited[currentTime + 1] = true;\n                    timeArray[currentTime + 1] = timeArray[currentTime] + 1; \/\/ \uc774\ub3d9 \uc2dc\uac04 \ucd94\uac00\n                }\n\n                \/\/ \uc774\ub3d9: X * 2\n                if (currentTime * 2 &lt;= 100000 &amp;&amp; !visited[currentTime * 2])\n                {\n                    queue.Enqueue(currentTime * 2);\n                    visited[currentTime * 2] = true;\n                    timeArray[currentTime * 2] = timeArray[currentTime] + 1; \/\/ \uc774\ub3d9 \uc2dc\uac04 \ucd94\uac00\n                }\n            }\n\n            return -1; \/\/ \ub3c4\ub2ec\ud560 \uc218 \uc5c6\ub294 \uacbd\uc6b0\n        }\n    }\n    <\/int><\/int><\/code><\/pre>\n<h2>3\ub2e8\uacc4: \ucf54\ub4dc \uc124\uba85<\/h2>\n<p>\uac01 \ubd80\ubd84\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4:<\/p>\n<h3>Queue\uc640 \ubc30\uc5f4<\/h3>\n<p>Queue\ub294 BFS\uc758 \ud575\uc2ec \ub370\uc774\ud130 \uad6c\uc870\ub85c, \ud604\uc7ac \uc704\uce58\ub97c \uc720\uc9c0\ud558\ub294 \ub370 \uc0ac\uc6a9\ub429\ub2c8\ub2e4. visited \ubc30\uc5f4\uc740 \uc774\ubbf8 \ud655\uc778\ud55c \uc2dc\uac04\uc744 \uae30\ub85d\ud558\uc5ec \ubb34\ud55c \ub8e8\ud504\uc5d0 \ub098\uac00\uc9c0 \uc54a\ub3c4\ub85d \ubc29\uc9c0\ud558\uace0, timeArray\ub294 \uac01 \uc2dc\uac04\uc5d0 \ub3c4\ub2ec\ud558\uae30 \uc704\ud55c \ucd5c\uc18c\uc2dc\uac04\uc744 \uc800\uc7a5\ud569\ub2c8\ub2e4.<\/p>\n<h3>\uc774\ub3d9 \ub85c\uc9c1<\/h3>\n<p>\uc774\ub3d9 \ub85c\uc9c1\uc740 \ud604\uc7ac \uc2dc\uac04\uc5d0\uc11c X-1, X+1, X*2 \ub85c \uac01\uac01 \uc774\ub3d9 \uac00\ub2a5\ud55c\uc9c0 \uac80\uc0ac\ud569\ub2c8\ub2e4. \uc774\ub54c \ub9cc\uc57d \uc774 \uc704\uce58\uac00 \uc774\ubbf8 \ubc29\ubb38\ud588\ub2e4\uba74 \ud050\uc5d0 \ucd94\uac00\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>\ucd5c\uc885 \ubaa9\ud45c \ud655\uc778<\/h3>\n<p>\ud604\uc7ac \uc2dc\uac04\uacfc \ubaa9\ud45c \uc2dc\uac04\uc774 \ub3d9\uc77c\ud558\ub2e4\uba74 BFS\ub97c \uc885\ub8cc\ud558\uace0, \uadf8\ub54c\uae4c\uc9c0 \uc18c\uc694\ub41c \uc2dc\uac04\uc744 \ubc18\ud658\ud569\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uc6b0\ub9ac\ub294 \ucd5c\ub2e8\uc2dc\uac04\uc5d0 \ubaa9\ud45c \uc2dc\uac04\uc5d0 \ub3c4\ucc29\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>\uacb0\ub860<\/h2>\n<p>\uc774 \ubb38\uc81c\ub294 BFS\ub97c \ud65c\uc6a9\ud558\uc5ec \uadf8\ub798\ud504 \ud0d0\uc0c9\uc744 \uc218\ud589\ud558\ub294 \ub300\ud45c\uc801\uc778 \uc608\uc81c\uc785\ub2c8\ub2e4. \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \ucd9c\uc81c\ub418\ubbc0\ub85c \uc774\ud574\ud558\uace0 \ud65c\uc6a9\ud558\ub294 \uac83\uc774 \uc911\uc694\ud569\ub2c8\ub2e4. \uad6c\ud604 \uacfc\uc815\uc744 \ud1b5\ud574 BFS\uc5d0 \ub300\ud55c \uc2e4\ub825\uc744 \ub2e4\uc9c0\uc168\uae38 \ubc14\ub78d\ub2c8\ub2e4. \ub2e4\uc74c \uc2dc\uac04\uc5d0\ub3c4 \ub354 \ud765\ubbf8\ub85c\uc6b4 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub85c \ucc3e\uc544\ubd59\uaca0\uc2b5\ub2c8\ub2e4!<\/p>\n<p>\uac10\uc0ac\ud569\ub2c8\ub2e4!<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc548\ub155\ud558\uc138\uc694! \uc624\ub298\uc740 C#\uc744 \uc774\uc6a9\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ud480\uc774 \uac15\uc88c\ub97c \uc9c4\ud589\ud558\uaca0\uc2b5\ub2c8\ub2e4. \uc8fc\uc81c\ub85c\ub294 &#8216;\ud0c0\uc784\uba38\uc2e0\uc73c\ub85c \ube68\ub9ac \uac00\uae30&#8217;\uc785\ub2c8\ub2e4. \ud574\ub2f9 \ubb38\uc81c\ub294 \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \uc811\ud560 \uc218 \uc788\ub294 DFS(Depth First Search)\uc640 BFS(Breadth First Search)\uc758 \ud63c\ud569 \ubb38\uc81c\ub85c, \ucd5c\ub2e8 \uacbd\ub85c\ub97c \ucc3e\ub294 \uac83\uc774 \uc8fc\ub41c \ubaa9\ud45c\uc785\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \ub2f9\uc2e0\uc740 \uc2dc\uac04 \uc5ec\ud589\uc744 \ud560 \uc218 \uc788\ub294 \uae30\ub2a5\uc774 \uc788\ub294 \ud0c0\uc784\uba38\uc2e0\uc744 \uac00\uc9c0\uace0 \uc788\uc2b5\ub2c8\ub2e4. \ub2f9\uc2e0\uc758 \ubaa9\ud45c\ub294 \ud604\uc7ac \uc2dc\uac04\uc5d0\uc11c \ubbf8\ub798\uc758 \ud2b9\uc815 \uc2dc\uac04\uc73c\ub85c \uc774\ub3d9\ud558\ub294 \uac83\uc785\ub2c8\ub2e4. &hellip; <a href=\"https:\/\/atmokpo.com\/w\/27432\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud0c0\uc784\uba38\uc2e0\uc73c\ub85c \ube68\ub9ac \uac00\uae30&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[24],"tags":[],"class_list":["post-27432","post","type-post","status-publish","format-standard","hentry","category-c--"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud0c0\uc784\uba38\uc2e0\uc73c\ub85c \ube68\ub9ac \uac00\uae30 - \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\/27432\/\" \/>\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, \ud0c0\uc784\uba38\uc2e0\uc73c\ub85c \ube68\ub9ac \uac00\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc548\ub155\ud558\uc138\uc694! \uc624\ub298\uc740 C#\uc744 \uc774\uc6a9\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ud480\uc774 \uac15\uc88c\ub97c \uc9c4\ud589\ud558\uaca0\uc2b5\ub2c8\ub2e4. \uc8fc\uc81c\ub85c\ub294 &#8216;\ud0c0\uc784\uba38\uc2e0\uc73c\ub85c \ube68\ub9ac \uac00\uae30&#8217;\uc785\ub2c8\ub2e4. \ud574\ub2f9 \ubb38\uc81c\ub294 \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \uc811\ud560 \uc218 \uc788\ub294 DFS(Depth First Search)\uc640 BFS(Breadth First Search)\uc758 \ud63c\ud569 \ubb38\uc81c\ub85c, \ucd5c\ub2e8 \uacbd\ub85c\ub97c \ucc3e\ub294 \uac83\uc774 \uc8fc\ub41c \ubaa9\ud45c\uc785\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \ub2f9\uc2e0\uc740 \uc2dc\uac04 \uc5ec\ud589\uc744 \ud560 \uc218 \uc788\ub294 \uae30\ub2a5\uc774 \uc788\ub294 \ud0c0\uc784\uba38\uc2e0\uc744 \uac00\uc9c0\uace0 \uc788\uc2b5\ub2c8\ub2e4. \ub2f9\uc2e0\uc758 \ubaa9\ud45c\ub294 \ud604\uc7ac \uc2dc\uac04\uc5d0\uc11c \ubbf8\ub798\uc758 \ud2b9\uc815 \uc2dc\uac04\uc73c\ub85c \uc774\ub3d9\ud558\ub294 \uac83\uc785\ub2c8\ub2e4. &hellip; \ub354 \ubcf4\uae30 &quot;C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud0c0\uc784\uba38\uc2e0\uc73c\ub85c \ube68\ub9ac \uac00\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/27432\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T14:11:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:18:26+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\/27432\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27432\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud0c0\uc784\uba38\uc2e0\uc73c\ub85c \ube68\ub9ac \uac00\uae30\",\"datePublished\":\"2024-10-27T14:11:36+00:00\",\"dateModified\":\"2024-11-26T07:18:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27432\/\"},\"wordCount\":41,\"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\/27432\/\",\"url\":\"https:\/\/atmokpo.com\/w\/27432\/\",\"name\":\"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud0c0\uc784\uba38\uc2e0\uc73c\ub85c \ube68\ub9ac \uac00\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T14:11:36+00:00\",\"dateModified\":\"2024-11-26T07:18:26+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27432\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/27432\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/27432\/#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, \ud0c0\uc784\uba38\uc2e0\uc73c\ub85c \ube68\ub9ac \uac00\uae30\"}]},{\"@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, \ud0c0\uc784\uba38\uc2e0\uc73c\ub85c \ube68\ub9ac \uac00\uae30 - \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\/27432\/","og_locale":"ko_KR","og_type":"article","og_title":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud0c0\uc784\uba38\uc2e0\uc73c\ub85c \ube68\ub9ac \uac00\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc548\ub155\ud558\uc138\uc694! \uc624\ub298\uc740 C#\uc744 \uc774\uc6a9\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ud480\uc774 \uac15\uc88c\ub97c \uc9c4\ud589\ud558\uaca0\uc2b5\ub2c8\ub2e4. \uc8fc\uc81c\ub85c\ub294 &#8216;\ud0c0\uc784\uba38\uc2e0\uc73c\ub85c \ube68\ub9ac \uac00\uae30&#8217;\uc785\ub2c8\ub2e4. \ud574\ub2f9 \ubb38\uc81c\ub294 \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \uc811\ud560 \uc218 \uc788\ub294 DFS(Depth First Search)\uc640 BFS(Breadth First Search)\uc758 \ud63c\ud569 \ubb38\uc81c\ub85c, \ucd5c\ub2e8 \uacbd\ub85c\ub97c \ucc3e\ub294 \uac83\uc774 \uc8fc\ub41c \ubaa9\ud45c\uc785\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \ub2f9\uc2e0\uc740 \uc2dc\uac04 \uc5ec\ud589\uc744 \ud560 \uc218 \uc788\ub294 \uae30\ub2a5\uc774 \uc788\ub294 \ud0c0\uc784\uba38\uc2e0\uc744 \uac00\uc9c0\uace0 \uc788\uc2b5\ub2c8\ub2e4. \ub2f9\uc2e0\uc758 \ubaa9\ud45c\ub294 \ud604\uc7ac \uc2dc\uac04\uc5d0\uc11c \ubbf8\ub798\uc758 \ud2b9\uc815 \uc2dc\uac04\uc73c\ub85c \uc774\ub3d9\ud558\ub294 \uac83\uc785\ub2c8\ub2e4. &hellip; \ub354 \ubcf4\uae30 \"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud0c0\uc784\uba38\uc2e0\uc73c\ub85c \ube68\ub9ac \uac00\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/27432\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T14:11:36+00:00","article_modified_time":"2024-11-26T07:18:26+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\/27432\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/27432\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud0c0\uc784\uba38\uc2e0\uc73c\ub85c \ube68\ub9ac \uac00\uae30","datePublished":"2024-10-27T14:11:36+00:00","dateModified":"2024-11-26T07:18:26+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/27432\/"},"wordCount":41,"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\/27432\/","url":"https:\/\/atmokpo.com\/w\/27432\/","name":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud0c0\uc784\uba38\uc2e0\uc73c\ub85c \ube68\ub9ac \uac00\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T14:11:36+00:00","dateModified":"2024-11-26T07:18:26+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/27432\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/27432\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/27432\/#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, \ud0c0\uc784\uba38\uc2e0\uc73c\ub85c \ube68\ub9ac \uac00\uae30"}]},{"@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\/27432","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=27432"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27432\/revisions"}],"predecessor-version":[{"id":27433,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27432\/revisions\/27433"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=27432"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=27432"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=27432"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}