{"id":28614,"date":"2024-10-27T16:12:33","date_gmt":"2024-10-27T16:12:33","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=28614"},"modified":"2024-11-26T07:00:18","modified_gmt":"2024-11-26T07:00:18","slug":"%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-%ed%8a%b8%eb%a6%ac-%ec%88%9c%ed%9a%8c%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/28614\/","title":{"rendered":"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud2b8\ub9ac \uc21c\ud68c\ud558\uae30"},"content":{"rendered":"<p><body><\/p>\n<p>\uc624\ub298\uc758 \uc8fc\uc81c\ub294 \ud2b8\ub9ac \uc21c\ud68c(Tree Traversal)\uc785\ub2c8\ub2e4. \ud2b8\ub9ac\ub294 \ub370\uc774\ud130 \uad6c\uc870 \uc911 \ud558\ub098\ub85c, \ud2b9\uc815\ud55c \uad00\uacc4\ub97c \uac00\uc9c4 \uc694\uc18c\ub4e4\uc774 \uacc4\uce35\uc801\uc73c\ub85c \uad6c\uc131\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4. \uc6b0\ub9ac\uac00 \uc790\uc8fc \uc0ac\uc6a9\ud558\ub294 \ub370\uc774\ud130 \uad6c\uc870 \uc911 \ud558\ub098\uc778 \ud2b8\ub9ac\ub97c \uc774\ud574\ud558\uace0, \uae30\ubcf8\uc801\uc778 \uc21c\ud68c \uc54c\uace0\ub9ac\uc998\uc744 \uad6c\ud604\ud558\ub294 \uac83\uc740 \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \ub9e4\uc6b0 \uc720\uc6a9\ud569\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \ud2b8\ub9ac\uc758 \uae30\ubcf8 \uac1c\ub150\ubd80\ud130 \uc2dc\uc791\ud558\uc5ec, \ub2e4\uc591\ud55c \uc21c\ud68c \ubc29\ubc95\uacfc \ucf54\ud2c0\ub9b0\uc5d0\uc11c\uc758 \uad6c\ud604 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>1. \ud2b8\ub9ac\uc758 \uae30\ubcf8 \uac1c\ub150<\/h2>\n<p>\ud2b8\ub9ac\ub294 \ub178\ub4dc(Node)\ub85c \uad6c\uc131\ub41c \ub370\uc774\ud130 \uad6c\uc870\uc785\ub2c8\ub2e4. \uac01 \ub178\ub4dc\ub294 \uac12\uacfc \uc790\uc2dd \ub178\ub4dc\ub97c \uac00\uc9c8 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ud2b8\ub9ac\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \uc8fc\uc694 \uc6a9\uc5b4\ub85c \uc124\uba85\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li><strong>\ub8e8\ud2b8 \ub178\ub4dc (Root Node)<\/strong>: \ud2b8\ub9ac\uc758 \ucd5c\uc0c1\uc704 \ub178\ub4dc\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>\ub9ac\ud504 \ub178\ub4dc (Leaf Node)<\/strong>: \uc790\uc2dd \ub178\ub4dc\uac00 \uc5c6\ub294 \ub178\ub4dc\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>\ub0b4\ubd80 \ub178\ub4dc (Internal Node)<\/strong>: \uc790\uc2dd \ub178\ub4dc\ub97c \uac00\uc9c4 \ub178\ub4dc\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>\uc11c\ube0c\ud2b8\ub9ac (Subtree)<\/strong>: \ud2b9\uc815 \ub178\ub4dc\ub97c \ub8e8\ud2b8\ub85c \ud558\ub294 \ud2b8\ub9ac\uc785\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>2. \ud2b8\ub9ac \uc21c\ud68c\uc758 \uc885\ub958<\/h2>\n<p>\ud2b8\ub9ac\ub97c \uc21c\ud68c\ud558\ub294 \ubc29\ubc95\uc740 \ud06c\uac8c \uc138 \uac00\uc9c0\ub85c \ub098\ub20c \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<ol>\n<li><strong>\uc804\uc704 \uc21c\ud68c (Pre-order Traversal)<\/strong>: \ub178\ub4dc \ubc29\ubb38 &#8211; \uc67c\ucabd \uc11c\ube0c\ud2b8\ub9ac \uc21c\ud68c &#8211; \uc624\ub978\ucabd \uc11c\ube0c\ud2b8\ub9ac \uc21c\ud68c<\/li>\n<li><strong>\uc911\uc704 \uc21c\ud68c (In-order Traversal)<\/strong>: \uc67c\ucabd \uc11c\ube0c\ud2b8\ub9ac \uc21c\ud68c &#8211; \ub178\ub4dc \ubc29\ubb38 &#8211; \uc624\ub978\ucabd \uc11c\ube0c\ud2b8\ub9ac \uc21c\ud68c<\/li>\n<li><strong>\ud6c4\uc704 \uc21c\ud68c (Post-order Traversal)<\/strong>: \uc67c\ucabd \uc11c\ube0c\ud2b8\ub9ac \uc21c\ud68c &#8211; \uc624\ub978\ucabd \uc11c\ube0c\ud2b8\ub9ac \uc21c\ud68c &#8211; \ub178\ub4dc \ubc29\ubb38<\/li>\n<\/ol>\n<h2>3. \ubb38\uc81c \uc124\uba85<\/h2>\n<p>\ub2e4\uc74c\uacfc \uac19\uc740 \uc774\uc9c4 \ud2b8\ub9ac\uac00 \uc8fc\uc5b4\uc9c4\ub2e4\uace0 \uac00\uc815\ud569\uc2dc\ub2e4:<\/p>\n<pre>\n                 1\n               \/   \\\n              2     3\n             \/ \\   \/ \\\n            4   5 6   7\n    <\/pre>\n<p>\uc774 \ud2b8\ub9ac\uc5d0\uc11c \uc804\uc704 \uc21c\ud68c, \uc911\uc704 \uc21c\ud68c \ubc0f \ud6c4\uc704 \uc21c\ud68c\uc758 \uacb0\uacfc\ub97c \uac01\uac01 \ub098\uc5f4\ud558\uc2ed\uc2dc\uc624.<\/p>\n<h2>4. \ubb38\uc81c \ud574\uacb0 \uacfc\uc815<\/h2>\n<p>\uc774 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574 \uac00\uc7a5 \uba3c\uc800 \ud544\uc694\ub85c \ud558\ub294 \uac83\uc740 \ud2b8\ub9ac\uc5d0 \ub300\ud55c \ud074\ub798\uc2a4 \uad6c\uc870\ub97c \uc815\uc758\ud558\ub294 \uac83\uc785\ub2c8\ub2e4. \ucf54\ud2c0\ub9b0\uc5d0\uc11c\ub294 \ub2e4\uc74c\uacfc \uac19\uc774 \uc774\uc9c4 \ud2b8\ub9ac\uc758 \ub178\ub4dc\ub97c \ud074\ub798\uc2a4 \ud615\ud0dc\ub85c \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<h3>4.1) \uc774\uc9c4 \ud2b8\ub9ac \ub178\ub4dc \ud074\ub798\uc2a4 \uc815\uc758<\/h3>\n<pre><code>class TreeNode(val value: Int) {\n        var left: TreeNode? = null\n        var right: TreeNode? = null\n    }<\/code><\/pre>\n<p>\uc704 \ud074\ub798\uc2a4\ub294 \ub178\ub4dc\uc758 \uac12\uc744 \uc800\uc7a5\ud558\ub294 <code>value<\/code>\uc640 \uc67c\ucabd\uacfc \uc624\ub978\ucabd \uc790\uc2dd \ub178\ub4dc\ub97c \ucc38\uc870\ud558\ub294 <code>left<\/code>, <code>right<\/code> \ubcc0\uc218\ub97c \uac00\uc9d1\ub2c8\ub2e4.<\/p>\n<h3>4.2) \uc804\uc704 \uc21c\ud68c \uad6c\ud604<\/h3>\n<p>\uc804\uc704 \uc21c\ud68c\ub294 \ub178\ub4dc\ub97c \ubc29\ubb38\ud55c \ud6c4 \uc790\uc2dd \ub178\ub4dc\ub97c \ubc29\ubb38\ud558\ub294 \ubc29\uc2dd\uc785\ub2c8\ub2e4. \uc774\ub97c \uc704\ud55c \ud568\uc218\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>fun preOrderTraversal(node: TreeNode?) {\n        if (node == null) return\n        print(\"${node.value} \")\n        preOrderTraversal(node.left)\n        preOrderTraversal(node.right)\n    }<\/code><\/pre>\n<h3>4.3) \uc911\uc704 \uc21c\ud68c \uad6c\ud604<\/h3>\n<p>\uc911\uc704 \uc21c\ud68c\ub294 \uc67c\ucabd \uc790\uc2dd\uc744 \uba3c\uc800 \ubc29\ubb38\ud55c \ud6c4 \ud604\uc7ac \ub178\ub4dc\ub97c \ubc29\ubb38\ud558\ub294 \ubc29\uc2dd\uc785\ub2c8\ub2e4. \ub2e4\uc74c\uacfc \uac19\uc774 \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>fun inOrderTraversal(node: TreeNode?) {\n        if (node == null) return\n        inOrderTraversal(node.left)\n        print(\"${node.value} \")\n        inOrderTraversal(node.right)\n    }<\/code><\/pre>\n<h3>4.4) \ud6c4\uc704 \uc21c\ud68c \uad6c\ud604<\/h3>\n<p>\ud6c4\uc704 \uc21c\ud68c\ub294 \uc591\ucabd \uc790\uc2dd\uc744 \ubc29\ubb38\ud55c \ud6c4 \ud604\uc7ac \ub178\ub4dc\ub97c \ubc29\ubb38\ud558\ub294 \ubc29\uc2dd\uc785\ub2c8\ub2e4. \uad6c\ud604\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>fun postOrderTraversal(node: TreeNode?) {\n        if (node == null) return\n        postOrderTraversal(node.left)\n        postOrderTraversal(node.right)\n        print(\"${node.value} \")\n    }<\/code><\/pre>\n<h2>5. \ud2b8\ub9ac \uc0dd\uc131 \ubc0f \ud14c\uc2a4\ud2b8<\/h2>\n<p>\uc774\uc81c \uc2e4\uc81c\ub85c \ud2b8\ub9ac\ub97c \uc0dd\uc131\ud558\uace0, \uac01 \uc21c\ud68c \ubc29\ubc95\uc744 \ud14c\uc2a4\ud2b8\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c\uacfc \uac19\uc740 \ucf54\ub4dc\ub85c \ud2b8\ub9ac\ub97c \uad6c\uc131\ud558\uace0 \uc21c\ud68c\ub97c \uc2e4\ud589\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>fun main() {\n        val root = TreeNode(1)\n        root.left = TreeNode(2)\n        root.right = TreeNode(3)\n        root.left?.left = TreeNode(4)\n        root.left?.right = TreeNode(5)\n        root.right?.left = TreeNode(6)\n        root.right?.right = TreeNode(7)\n\n        print(\"\uc804\uc704 \uc21c\ud68c: \")\n        preOrderTraversal(root)\n        println()\n\n        print(\"\uc911\uc704 \uc21c\ud68c: \")\n        inOrderTraversal(root)\n        println()\n\n        print(\"\ud6c4\uc704 \uc21c\ud68c: \")\n        postOrderTraversal(root)\n        println()\n    }<\/code><\/pre>\n<h2>6. \ucf54\ub4dc \uc2e4\ud589 \uacb0\uacfc<\/h2>\n<p>\uc704\uc758 \ud504\ub85c\uadf8\ub7a8\uc744 \uc2e4\ud589\ud558\uba74 \ub2e4\uc74c\uacfc \uac19\uc740 \uacb0\uacfc\ub97c \uc5bb\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>\uc804\uc704 \uc21c\ud68c: 1 2 4 5 3 6 7 \n\uc911\uc704 \uc21c\ud68c: 4 2 5 1 6 3 7 \n\ud6c4\uc704 \uc21c\ud68c: 4 5 2 6 7 3 1 \n<\/code><\/pre>\n<h2>7. \uc694\uc57d<\/h2>\n<p>\uc774\ubc88 \uae00\uc5d0\uc11c\ub294 \ud2b8\ub9ac\uc5d0 \ub300\ud55c \uae30\ubcf8 \uac1c\ub150\uacfc \ud2b8\ub9ac \uc21c\ud68c\uc758 \uc138 \uac00\uc9c0 \ubc29\ubc95\uc778 \uc804\uc704 \uc21c\ud68c, \uc911\uc704 \uc21c\ud68c, \uadf8\ub9ac\uace0 \ud6c4\uc704 \uc21c\ud68c\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \uac01\uac01\uc758 \uc21c\ud68c \ubc29\ubc95\uc744 \ucf54\ud2c0\ub9b0\uc73c\ub85c \uad6c\ud604\ud558\uace0, \uc2e4\uc804\uc5d0\uc11c\ub3c4 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \uac04\ub2e8\ud55c \uc608\uc81c\ub97c \ud1b5\ud574 \ud2b8\ub9ac \uad6c\uc870\ub97c \uc774\ud574\ud560 \uc218 \uc788\uc5c8\uc2b5\ub2c8\ub2e4. \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \uc811\ud558\uac8c \ub420 \ud2b8\ub9ac \ubb38\uc81c\uc774\ubbc0\ub85c, \ucda9\ubd84\ud788 \uc5f0\uc2b5\ud558\uc5ec \uc775\uc219\ud574\uc9c0\ub294 \uac83\uc774 \uc911\uc694\ud569\ub2c8\ub2e4.<\/p>\n<h2>8. \ucd94\uac00 \uc5f0\uc2b5 \ubb38\uc81c<\/h2>\n<p>\uc544\ub798\uc758 \ubb38\uc81c\ub97c \ud480\uc5b4\ubcf4\uba70 \ud2b8\ub9ac \uc21c\ud68c\uc5d0 \ub300\ud55c \uc774\ud574\ub3c4\ub97c \ub192\uc5ec\ubcf4\uc138\uc694:<\/p>\n<ol>\n<li>\uc8fc\uc5b4\uc9c4 \uc774\uc9c4 \ud2b8\ub9ac\uc758 \uae4a\uc774\ub97c \uacc4\uc0b0\ud558\ub294 \ud568\uc218\ub97c \uc791\uc131\ud558\uc2dc\uc624.<\/li>\n<li>\uc774\uc9c4 \ud2b8\ub9ac\uc758 \ucd5c\ub300 \uacbd\ub85c \ud569\uc744 \ucc3e\ub294 \ud568\uc218\ub97c \uc791\uc131\ud558\uc2dc\uc624.<\/li>\n<\/ol>\n<h2>9. \uacb0\ub860<\/h2>\n<p>\uc774\uc81c \ud2b8\ub9ac \uad6c\uc870\uc640 \uc21c\ud68c \ubc29\ubc95\uc5d0 \ub300\ud55c \uae30\ubcf8\uc801\uc778 \uc774\ud574\ub97c \uac16\ucd94\uc5c8\uc73c\ubbc0\ub85c, \ub354 \ubcf5\uc7a1\ud55c \ucf54\ub529\ubb38\uc81c\uc5d0\ub3c4 \ub3c4\uc804\ud560 \uc900\ube44\uac00 \ub418\uc168\uc744 \uac83\uc785\ub2c8\ub2e4. \ud2b8\ub9ac\uac00 \ud65c\uc6a9\ub418\ub294 \ub2e4\uc591\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub4e4\uc744 \ud480\uba74\uc11c, \uc774 \ubd80\ubd84\uc5d0 \ub300\ud55c \uc2e4\ub825\uc744 \ub354\uc6b1 \uc313\uc544\ubcf4\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4. \ub2e4\uc74c \uac15\uc88c\uc5d0\uc11c\ub294 \uadf8\ub798\ud504 \ud0d0\uc0c9\uc5d0 \ub300\ud574 \ub2e4\ub8e8\uc5b4 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uac10\uc0ac\ud569\ub2c8\ub2e4!<\/p>\n<footer>\n<p>Copyright \u00a9 2023 &#8211; \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c<\/p>\n<\/footer>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc624\ub298\uc758 \uc8fc\uc81c\ub294 \ud2b8\ub9ac \uc21c\ud68c(Tree Traversal)\uc785\ub2c8\ub2e4. \ud2b8\ub9ac\ub294 \ub370\uc774\ud130 \uad6c\uc870 \uc911 \ud558\ub098\ub85c, \ud2b9\uc815\ud55c \uad00\uacc4\ub97c \uac00\uc9c4 \uc694\uc18c\ub4e4\uc774 \uacc4\uce35\uc801\uc73c\ub85c \uad6c\uc131\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4. \uc6b0\ub9ac\uac00 \uc790\uc8fc \uc0ac\uc6a9\ud558\ub294 \ub370\uc774\ud130 \uad6c\uc870 \uc911 \ud558\ub098\uc778 \ud2b8\ub9ac\ub97c \uc774\ud574\ud558\uace0, \uae30\ubcf8\uc801\uc778 \uc21c\ud68c \uc54c\uace0\ub9ac\uc998\uc744 \uad6c\ud604\ud558\ub294 \uac83\uc740 \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \ub9e4\uc6b0 \uc720\uc6a9\ud569\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \ud2b8\ub9ac\uc758 \uae30\ubcf8 \uac1c\ub150\ubd80\ud130 \uc2dc\uc791\ud558\uc5ec, \ub2e4\uc591\ud55c \uc21c\ud68c \ubc29\ubc95\uacfc \ucf54\ud2c0\ub9b0\uc5d0\uc11c\uc758 \uad6c\ud604 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. \ud2b8\ub9ac\uc758 \uae30\ubcf8 \uac1c\ub150 \ud2b8\ub9ac\ub294 \ub178\ub4dc(Node)\ub85c &hellip; <a href=\"https:\/\/atmokpo.com\/w\/28614\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud2b8\ub9ac \uc21c\ud68c\ud558\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":[28],"tags":[],"class_list":["post-28614","post","type-post","status-publish","format-standard","hentry","category-28"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud2b8\ub9ac \uc21c\ud68c\ud558\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\/28614\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud2b8\ub9ac \uc21c\ud68c\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc624\ub298\uc758 \uc8fc\uc81c\ub294 \ud2b8\ub9ac \uc21c\ud68c(Tree Traversal)\uc785\ub2c8\ub2e4. \ud2b8\ub9ac\ub294 \ub370\uc774\ud130 \uad6c\uc870 \uc911 \ud558\ub098\ub85c, \ud2b9\uc815\ud55c \uad00\uacc4\ub97c \uac00\uc9c4 \uc694\uc18c\ub4e4\uc774 \uacc4\uce35\uc801\uc73c\ub85c \uad6c\uc131\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4. \uc6b0\ub9ac\uac00 \uc790\uc8fc \uc0ac\uc6a9\ud558\ub294 \ub370\uc774\ud130 \uad6c\uc870 \uc911 \ud558\ub098\uc778 \ud2b8\ub9ac\ub97c \uc774\ud574\ud558\uace0, \uae30\ubcf8\uc801\uc778 \uc21c\ud68c \uc54c\uace0\ub9ac\uc998\uc744 \uad6c\ud604\ud558\ub294 \uac83\uc740 \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \ub9e4\uc6b0 \uc720\uc6a9\ud569\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \ud2b8\ub9ac\uc758 \uae30\ubcf8 \uac1c\ub150\ubd80\ud130 \uc2dc\uc791\ud558\uc5ec, \ub2e4\uc591\ud55c \uc21c\ud68c \ubc29\ubc95\uacfc \ucf54\ud2c0\ub9b0\uc5d0\uc11c\uc758 \uad6c\ud604 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. \ud2b8\ub9ac\uc758 \uae30\ubcf8 \uac1c\ub150 \ud2b8\ub9ac\ub294 \ub178\ub4dc(Node)\ub85c &hellip; \ub354 \ubcf4\uae30 &quot;\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud2b8\ub9ac \uc21c\ud68c\ud558\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/28614\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T16:12:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:00:18+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\/28614\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/28614\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud2b8\ub9ac \uc21c\ud68c\ud558\uae30\",\"datePublished\":\"2024-10-27T16:12:33+00:00\",\"dateModified\":\"2024-11-26T07:00:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/28614\/\"},\"wordCount\":24,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/28614\/\",\"url\":\"https:\/\/atmokpo.com\/w\/28614\/\",\"name\":\"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud2b8\ub9ac \uc21c\ud68c\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T16:12:33+00:00\",\"dateModified\":\"2024-11-26T07:00:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/28614\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/28614\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/28614\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud2b8\ub9ac \uc21c\ud68c\ud558\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":"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud2b8\ub9ac \uc21c\ud68c\ud558\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\/28614\/","og_locale":"ko_KR","og_type":"article","og_title":"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud2b8\ub9ac \uc21c\ud68c\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc624\ub298\uc758 \uc8fc\uc81c\ub294 \ud2b8\ub9ac \uc21c\ud68c(Tree Traversal)\uc785\ub2c8\ub2e4. \ud2b8\ub9ac\ub294 \ub370\uc774\ud130 \uad6c\uc870 \uc911 \ud558\ub098\ub85c, \ud2b9\uc815\ud55c \uad00\uacc4\ub97c \uac00\uc9c4 \uc694\uc18c\ub4e4\uc774 \uacc4\uce35\uc801\uc73c\ub85c \uad6c\uc131\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4. \uc6b0\ub9ac\uac00 \uc790\uc8fc \uc0ac\uc6a9\ud558\ub294 \ub370\uc774\ud130 \uad6c\uc870 \uc911 \ud558\ub098\uc778 \ud2b8\ub9ac\ub97c \uc774\ud574\ud558\uace0, \uae30\ubcf8\uc801\uc778 \uc21c\ud68c \uc54c\uace0\ub9ac\uc998\uc744 \uad6c\ud604\ud558\ub294 \uac83\uc740 \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \ub9e4\uc6b0 \uc720\uc6a9\ud569\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \ud2b8\ub9ac\uc758 \uae30\ubcf8 \uac1c\ub150\ubd80\ud130 \uc2dc\uc791\ud558\uc5ec, \ub2e4\uc591\ud55c \uc21c\ud68c \ubc29\ubc95\uacfc \ucf54\ud2c0\ub9b0\uc5d0\uc11c\uc758 \uad6c\ud604 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. \ud2b8\ub9ac\uc758 \uae30\ubcf8 \uac1c\ub150 \ud2b8\ub9ac\ub294 \ub178\ub4dc(Node)\ub85c &hellip; \ub354 \ubcf4\uae30 \"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud2b8\ub9ac \uc21c\ud68c\ud558\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/28614\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T16:12:33+00:00","article_modified_time":"2024-11-26T07:00:18+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\/28614\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/28614\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud2b8\ub9ac \uc21c\ud68c\ud558\uae30","datePublished":"2024-10-27T16:12:33+00:00","dateModified":"2024-11-26T07:00:18+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/28614\/"},"wordCount":24,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/28614\/","url":"https:\/\/atmokpo.com\/w\/28614\/","name":"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud2b8\ub9ac \uc21c\ud68c\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T16:12:33+00:00","dateModified":"2024-11-26T07:00:18+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/28614\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/28614\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/28614\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud2b8\ub9ac \uc21c\ud68c\ud558\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\/28614","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=28614"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/28614\/revisions"}],"predecessor-version":[{"id":28615,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/28614\/revisions\/28615"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=28614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=28614"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=28614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}