{"id":27889,"date":"2024-10-27T15:20:11","date_gmt":"2024-10-27T15:20:11","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=27889"},"modified":"2024-11-26T07:14:06","modified_gmt":"2024-11-26T07:14:06","slug":"%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-%ec%b5%9c%ec%86%8c-%ea%b3%b5%ed%86%b5-%ec%a1%b0%ec%83%81-%ea%b5%ac%ed%95%98","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/27889\/","title":{"rendered":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \uad6c\ud558\uae30 1"},"content":{"rendered":"<p><body><\/p>\n<h2>\ubb38\uc81c \uc124\uba85<\/h2>\n<p>\n        \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1(LCA, Lowest Common Ancestor)\uc740 \ub450 \ub178\ub4dc\uc758 \uac00\uc7a5 \ucd5c\uadfc \uc870\uc0c1 \ub178\ub4dc\ub97c \ucc3e\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 \ud2b8\ub9ac \uc790\ub8cc\uad6c\uc870\uc5d0\uc11c \ub9e4\uc6b0 \uc911\uc694\ud558\uba70, \ucf54\ub529 \ud14c\uc2a4\ud2b8 \ubc0f \uba74\uc811\uc5d0\uc11c\ub3c4 \uc790\uc8fc \ucd9c\uc81c\ub418\ub294 \uc8fc\uc81c\uc785\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\ub97c \uc774\uc6a9\ud574 LCA\ub97c \ucc3e\ub294 \ubc29\ubc95\uc744 \ub2e4\ub8e8\uace0, \uc2e4\uc81c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \uacfc\uc815\uc744 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<h2>\ubb38\uc81c \uc815\uc758<\/h2>\n<p>\n        \uc8fc\uc5b4\uc9c4 \uc774\uc9c4 \ud2b8\ub9ac\uc640 \ub450 \ub178\ub4dc A\uc640 B\uac00 \uc788\uc744 \ub54c, \ub450 \ub178\ub4dc\uc758 \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1\uc744 \ucc3e\uc544 \ubc18\ud658\ud558\ub294 \ud568\uc218\ub97c \uc791\uc131\ud558\uc138\uc694.\n    <\/p>\n<h3>\uc785\ub825 \ud615\uc2dd<\/h3>\n<ul>\n<li>\ub178\ub4dc\uc758 \uc218\ub294 <code>N<\/code>\uc774\uba70, <code>1 \u2264 N \u2264 10^4<\/code>\uc785\ub2c8\ub2e4.<\/li>\n<li>\uac01 \ub178\ub4dc\ub294 \uc720\uc77c\ud55c \uc815\uc218 ID\ub97c \uac00\uc9d1\ub2c8\ub2e4.<\/li>\n<li>\ub450 \ub178\ub4dc\uc758 ID <code>A<\/code>, <code>B<\/code>\uac00 \uc8fc\uc5b4\uc9d1\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h3>\ucd9c\ub825 \ud615\uc2dd<\/h3>\n<ul>\n<li>\ub450 \ub178\ub4dc\uc758 \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1\uc744 \ub098\ud0c0\ub0b4\ub294 \ub178\ub4dc\uc758 ID\ub97c \ubc18\ud658\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>\uc608\uc81c<\/h2>\n<h3>\uc608\uc81c 1<\/h3>\n<pre>\n        \uc785\ub825: \n        \ud2b8\ub9ac \uad6c\uc870:\n              1\n            \/   \\\n          2      3\n         \/ \\    \/ \\\n        4   5  6   7\n\n        A = 4, B = 5\n        \ucd9c\ub825: 2  \/\/ \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1: 2\n    <\/pre>\n<h3>\uc608\uc81c 2<\/h3>\n<pre>\n        \uc785\ub825: \n        \ud2b8\ub9ac \uad6c\uc870:\n              1\n            \/   \\\n          2      3\n         \/ \\    \/ \\\n        4   5  6   7\n\n        A = 6, B = 7\n        \ucd9c\ub825: 3  \/\/ \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1: 3\n    <\/pre>\n<h2>\ubb38\uc81c \ud480\uc774 \uacfc\uc815<\/h2>\n<h3>1. \ud2b8\ub9ac \ub178\ub4dc \uad6c\uc870 \uc815\uc758<\/h3>\n<p>\n        \uba3c\uc800 \uc774\uc9c4 \ud2b8\ub9ac\ub97c \ud45c\ud604\ud558\uae30 \uc704\ud55c \ub178\ub4dc \uad6c\uc870\ub97c \uc815\uc758\ud574\uc57c \ud569\ub2c8\ub2e4. \uac01 \ub178\ub4dc\ub294 \uc801\uc5b4\ub3c4 \ubd80\ubaa8 \ub178\ub4dc\uc640 \uc790\uc2dd \ub178\ub4dc\uc5d0 \ub300\ud55c \uc815\ubcf4\ub97c \uac00\uc838\uc57c \ud569\ub2c8\ub2e4. \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\uc5d0\uc11c\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \ubc29\uc2dd\uc73c\ub85c \ub178\ub4dc \uad6c\uc870\ub97c \uc815\uc758\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<pre><code>\n    class TreeNode {\n        constructor(id) {\n            this.id = id;  \/\/ \ub178\ub4dc\uc758 ID\n            this.left = null;  \/\/ \uc67c\ucabd \uc790\uc2dd \ub178\ub4dc\n            this.right = null;  \/\/ \uc624\ub978\ucabd \uc790\uc2dd \ub178\ub4dc\n        }\n    }\n    <\/code><\/pre>\n<h3>2. \ud2b8\ub9ac \uc0dd\uc131<\/h3>\n<p>\n        \ubb38\uc81c\uc758 \uc608\uc81c \ud2b8\ub9ac\ub97c \uc0dd\uc131\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc544\ub798 \ucf54\ub4dc\uc5d0\uc11c \ud2b8\ub9ac\ub97c \uad6c\ucd95\ud558\ub294 \ubc29\ubc95\uc744 \ubcf4\uc5ec\uc90d\ub2c8\ub2e4.\n    <\/p>\n<pre><code>\n    const root = new TreeNode(1);\n    root.left = new TreeNode(2);\n    root.right = new TreeNode(3);\n    root.left.left = new TreeNode(4);\n    root.left.right = new TreeNode(5);\n    root.right.left = new TreeNode(6);\n    root.right.right = new TreeNode(7);\n    <\/code><\/pre>\n<h3>3. \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \ucc3e\uae30<\/h3>\n<p>\n        \uc774\uc81c \uc2e4\uc81c\ub85c LCA\ub97c \ucc3e\ub294 \ud568\uc218\ub97c \uad6c\ud604\ud569\ub2c8\ub2e4. \uc774\uc9c4 \ud2b8\ub9ac\uc5d0\uc11c \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1\uc744 \ucc3e\ub294 \uc77c\ubc18\uc801\uc778 \ubc29\ubc95\uc740 \uc7ac\uadc0\uc801\uc73c\ub85c \ud2b8\ub9ac\ub97c \ud0d0\uc0c9\ud558\uba74\uc11c, \ub450 \ub178\ub4dc A\uc640 B\uac00 \ubc1c\uacac\ub418\ub294 \uacbd\uc6b0 \ud574\ub2f9 \ub178\ub4dc\ub97c \ubc18\ud658\ud558\ub294 \ubc29\uc2dd\uc785\ub2c8\ub2e4.\n    <\/p>\n<pre><code>\n    function findLCA(root, A, B) {\n        if (root === null) {\n            return null;\n        }\n\n        \/\/ \ud604\uc7ac \ub178\ub4dc\uac00 A \ub610\ub294 B\uc778 \uacbd\uc6b0\n        if (root.id === A || root.id === B) {\n            return root;\n        }\n\n        const leftLCA = findLCA(root.left, A, B);\n        const rightLCA = findLCA(root.right, A, B);\n\n        \/\/ \uc591\ucabd \uc790\uc2dd\uc5d0\uc11c LCA\uac00 \ubc1c\uacac\ub41c \uacbd\uc6b0, \ud604\uc7ac \ub178\ub4dc\uac00 LCA\n        if (leftLCA &amp;&amp; rightLCA) {\n            return root;\n        }\n        \n        return leftLCA !== null ? leftLCA : rightLCA;\n    }\n    <\/code><\/pre>\n<h3>4. \ud568\uc218 \ud14c\uc2a4\ud2b8<\/h3>\n<p>\n        \uc774\uc81c \uc791\uc131\ud55c LCA \ud568\uc218\ub97c \ud14c\uc2a4\ud2b8\ud574\ubd05\uc2dc\ub2e4. \ub2e4\uc74c \ucf54\ub4dc\ub85c \ud568\uc218\ub97c \ud638\ucd9c\ud558\uc5ec \uacb0\uacfc\ub97c \ucd9c\ub825\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<pre><code>\n    const A = 4;\n    const B = 5;\n    const lcaNode = findLCA(root, A, B);\n\n    console.log(`\ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1: ${lcaNode.id}`);  \/\/ \ucd9c\ub825: \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1: 2\n    <\/code><\/pre>\n<h2>\ubcf5\uc7a1\ub3c4 \ubd84\uc11d<\/h2>\n<p>\n        \uc774 \uc54c\uace0\ub9ac\uc998\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub294 O(N)\uc785\ub2c8\ub2e4. \uc5ec\uae30\uc11c N\uc740 \ub178\ub4dc\uc758 \uc218\uc785\ub2c8\ub2e4. \ubaa8\ub4e0 \ub178\ub4dc\ub97c \ud55c \ubc88\uc529 \ubc29\ubb38\ud574\uc57c \ud558\uae30 \ub54c\ubb38\uc785\ub2c8\ub2e4. \uacf5\uac04 \ubcf5\uc7a1\ub3c4\ub294 O(H)\ub85c, H\ub294 \ud2b8\ub9ac\uc758 \ub192\uc774\uc785\ub2c8\ub2e4. \ucd5c\uc545\uc758 \uacbd\uc6b0\uc5d0\ub294 H\uac00 N\uc5d0 \uac00\uae4c\uc6b8 \uc218 \uc788\uc2b5\ub2c8\ub2e4 (\ud2b8\ub9ac\uac00 \ud3b8\ud5a5\ub41c \uacbd\uc6b0).\n    <\/p>\n<h2>\uacb0\ub860<\/h2>\n<p>\n        \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\ub97c \uc774\uc6a9\ud558\uc5ec \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1\uc744 \ucc3e\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \uc774 \uac1c\ub150\uc740 \ub2e4\uc591\ud55c \ud2b8\ub9ac \uad00\ub828 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ub370 \uc911\uc694\ud55c \uae30\ucd08\uac00 \ub418\uba70, \ud2b8\ub9ac \ud0d0\uc0c9 \uc54c\uace0\ub9ac\uc998\uc744 \uc774\ud574\ud558\ub294 \ub370 \ub3c4\uc6c0\uc744 \uc904 \uac83\uc785\ub2c8\ub2e4. \uc2e4\uc81c \ucf54\ub529\ud14c\uc2a4\ud2b8\ub098 \uba74\uc811\uc5d0\uc11c \uc790\uc8fc \ucd9c\uc81c\ub418\ubbc0\ub85c \ubc18\ub4dc\uc2dc \uc219\uc9c0\ud574\ub450\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4. \ub2e4\uc74c \uac15\uc88c\uc5d0\uc11c\ub294 \ub2e4\ub978 \ud2b8\ub9ac \uad00\ub828 \ubb38\uc81c\ub97c \ub2e4\ub8f0 \uc608\uc815\uc774\ub2c8 \uae30\ub300\ud574 \uc8fc\uc138\uc694!\n    <\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ubb38\uc81c \uc124\uba85 \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1(LCA, Lowest Common Ancestor)\uc740 \ub450 \ub178\ub4dc\uc758 \uac00\uc7a5 \ucd5c\uadfc \uc870\uc0c1 \ub178\ub4dc\ub97c \ucc3e\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 \ud2b8\ub9ac \uc790\ub8cc\uad6c\uc870\uc5d0\uc11c \ub9e4\uc6b0 \uc911\uc694\ud558\uba70, \ucf54\ub529 \ud14c\uc2a4\ud2b8 \ubc0f \uba74\uc811\uc5d0\uc11c\ub3c4 \uc790\uc8fc \ucd9c\uc81c\ub418\ub294 \uc8fc\uc81c\uc785\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\ub97c \uc774\uc6a9\ud574 LCA\ub97c \ucc3e\ub294 \ubc29\ubc95\uc744 \ub2e4\ub8e8\uace0, \uc2e4\uc81c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \uacfc\uc815\uc744 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ubb38\uc81c \uc815\uc758 \uc8fc\uc5b4\uc9c4 \uc774\uc9c4 \ud2b8\ub9ac\uc640 \ub450 \ub178\ub4dc A\uc640 B\uac00 \uc788\uc744 \ub54c, \ub450 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/27889\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \uad6c\ud558\uae30 1&#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":[26],"tags":[],"class_list":["post-27889","post","type-post","status-publish","format-standard","hentry","category-26"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \uad6c\ud558\uae30 1 - \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\/27889\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \uad6c\ud558\uae30 1 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\ubb38\uc81c \uc124\uba85 \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1(LCA, Lowest Common Ancestor)\uc740 \ub450 \ub178\ub4dc\uc758 \uac00\uc7a5 \ucd5c\uadfc \uc870\uc0c1 \ub178\ub4dc\ub97c \ucc3e\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 \ud2b8\ub9ac \uc790\ub8cc\uad6c\uc870\uc5d0\uc11c \ub9e4\uc6b0 \uc911\uc694\ud558\uba70, \ucf54\ub529 \ud14c\uc2a4\ud2b8 \ubc0f \uba74\uc811\uc5d0\uc11c\ub3c4 \uc790\uc8fc \ucd9c\uc81c\ub418\ub294 \uc8fc\uc81c\uc785\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\ub97c \uc774\uc6a9\ud574 LCA\ub97c \ucc3e\ub294 \ubc29\ubc95\uc744 \ub2e4\ub8e8\uace0, \uc2e4\uc81c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \uacfc\uc815\uc744 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ubb38\uc81c \uc815\uc758 \uc8fc\uc5b4\uc9c4 \uc774\uc9c4 \ud2b8\ub9ac\uc640 \ub450 \ub178\ub4dc A\uc640 B\uac00 \uc788\uc744 \ub54c, \ub450 &hellip; \ub354 \ubcf4\uae30 &quot;\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \uad6c\ud558\uae30 1&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/27889\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T15:20:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:14:06+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\/27889\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27889\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \uad6c\ud558\uae30 1\",\"datePublished\":\"2024-10-27T15:20:11+00:00\",\"dateModified\":\"2024-11-26T07:14:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27889\/\"},\"wordCount\":22,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/27889\/\",\"url\":\"https:\/\/atmokpo.com\/w\/27889\/\",\"name\":\"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \uad6c\ud558\uae30 1 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T15:20:11+00:00\",\"dateModified\":\"2024-11-26T07:14:06+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27889\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/27889\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/27889\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \uad6c\ud558\uae30 1\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \uad6c\ud558\uae30 1 - \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\/27889\/","og_locale":"ko_KR","og_type":"article","og_title":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \uad6c\ud558\uae30 1 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\ubb38\uc81c \uc124\uba85 \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1(LCA, Lowest Common Ancestor)\uc740 \ub450 \ub178\ub4dc\uc758 \uac00\uc7a5 \ucd5c\uadfc \uc870\uc0c1 \ub178\ub4dc\ub97c \ucc3e\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 \ud2b8\ub9ac \uc790\ub8cc\uad6c\uc870\uc5d0\uc11c \ub9e4\uc6b0 \uc911\uc694\ud558\uba70, \ucf54\ub529 \ud14c\uc2a4\ud2b8 \ubc0f \uba74\uc811\uc5d0\uc11c\ub3c4 \uc790\uc8fc \ucd9c\uc81c\ub418\ub294 \uc8fc\uc81c\uc785\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\ub97c \uc774\uc6a9\ud574 LCA\ub97c \ucc3e\ub294 \ubc29\ubc95\uc744 \ub2e4\ub8e8\uace0, \uc2e4\uc81c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \uacfc\uc815\uc744 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ubb38\uc81c \uc815\uc758 \uc8fc\uc5b4\uc9c4 \uc774\uc9c4 \ud2b8\ub9ac\uc640 \ub450 \ub178\ub4dc A\uc640 B\uac00 \uc788\uc744 \ub54c, \ub450 &hellip; \ub354 \ubcf4\uae30 \"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \uad6c\ud558\uae30 1\"","og_url":"https:\/\/atmokpo.com\/w\/27889\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T15:20:11+00:00","article_modified_time":"2024-11-26T07:14:06+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\/27889\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/27889\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \uad6c\ud558\uae30 1","datePublished":"2024-10-27T15:20:11+00:00","dateModified":"2024-11-26T07:14:06+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/27889\/"},"wordCount":22,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/27889\/","url":"https:\/\/atmokpo.com\/w\/27889\/","name":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \uad6c\ud558\uae30 1 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T15:20:11+00:00","dateModified":"2024-11-26T07:14:06+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/27889\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/27889\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/27889\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \uad6c\ud558\uae30 1"}]},{"@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\/27889","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=27889"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27889\/revisions"}],"predecessor-version":[{"id":27890,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27889\/revisions\/27890"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=27889"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=27889"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=27889"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}