{"id":28031,"date":"2024-10-27T15:21:05","date_gmt":"2024-10-27T15:21:05","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=28031"},"modified":"2024-11-26T07:11:21","modified_gmt":"2024-11-26T07:11:21","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-2","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/28031\/","title":{"rendered":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \uad6c\ud558\uae30 2"},"content":{"rendered":"<p><body><\/p>\n<h2>\ubb38\uc81c \uc124\uba85<\/h2>\n<p>\n        \uc774 \ubb38\uc81c\ub294 \ub450 \ub178\ub4dc\uc758 \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1(LCA, Lowest Common Ancestor)\uc744 \ucc3e\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4.<br \/>\n        \uc8fc\uc5b4\uc9c4 \uc774\uc9c4 \ud2b8\ub9ac\uc5d0\uc11c \ub450 \uac1c\uc758 \ub178\ub4dc\uac00 \uc788\uc744 \ub54c, \uc774 \ub450 \ub178\ub4dc\uc758 \uacf5\ud1b5 \uc870\uc0c1\uc744 \ucc3e\ub294 \uac83\uc785\ub2c8\ub2e4.\n    <\/p>\n<h3>\uc785\ub825 \ud615\uc2dd<\/h3>\n<ul>\n<li>\uc774\uc9c4 \ud2b8\ub9ac\uc758 \ub8e8\ud2b8 \ub178\ub4dc\uac00 \uc8fc\uc5b4\uc9d1\ub2c8\ub2e4.<\/li>\n<li>\ub450 \uac1c\uc758 \ub178\ub4dc \uac12\uc774 \uc8fc\uc5b4\uc9d1\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h3>\ucd9c\ub825 \ud615\uc2dd<\/h3>\n<ul>\n<li>\uc8fc\uc5b4\uc9c4 \ub450 \ub178\ub4dc\uc758 \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1\uc758 \uac12\uc774\ub098, \uc5c6\ub294 \uacbd\uc6b0\uc5d0\ub294 -1\uc744 \ucd9c\ub825\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>\ubb38\uc81c \uc608\uc2dc<\/h2>\n<pre>\n    \uc785\ub825:\n        1\n       \/ \\\n      2   3\n     \/ \\\n    4   5\n\n    \ub178\ub4dc 4\uc640 5\uc758 LCA\ub294 2 \uc785\ub2c8\ub2e4.\n  \n    \uc785\ub825:\n        1\n       \/ \\\n      2   3\n     \/ \\\n    4   5\n\n    \ub178\ub4dc 4\uc640 3\uc758 LCA\ub294 1 \uc785\ub2c8\ub2e4.\n\n    \uc785\ub825:\n        1\n       \/ \\\n      2   3\n     \/ \\\n    4   5\n\n    \ub178\ub4dc 6\uacfc 7\uc758 LCA\ub294 -1\uc785\ub2c8\ub2e4.\n    <\/pre>\n<h2>\ubb38\uc81c \ud480\uc774<\/h2>\n<p>\n        \uc774 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574 \ub2e4\uc74c\uacfc \uac19\uc740 \ub2e8\uacc4\ub85c \uc811\uadfc\ud569\ub2c8\ub2e4:\n    <\/p>\n<ol>\n<li>\n<strong>\uc774\uc9c4 \ud2b8\ub9ac \uad6c\uc870 \uc815\uc758:<\/strong><br \/>\n            \uba3c\uc800, \ud2b8\ub9ac\uc758 \uad6c\uc870\ub97c \ub098\ud0c0\ub0b4\uae30 \uc704\ud574 \ub178\ub4dc \ud074\ub798\uc2a4\ub97c \uc815\uc758\ud569\ub2c8\ub2e4. \uc774 \ud074\ub798\uc2a4\ub294 \ub178\ub4dc\uc758 \uac12\uc744 \uac16\uace0,<br \/>\n            \uc67c\ucabd \ubc0f \uc624\ub978\ucabd \uc790\uc2dd \ub178\ub4dc\ub97c \ucc38\uc870\ud558\ub294 \uc18d\uc131\uc744 \uac00\uc9d1\ub2c8\ub2e4.\n        <\/li>\n<li>\n<strong>\uc7ac\uadc0\uc801 \uc811\uadfc:<\/strong><br \/>\n            \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1\uc744 \ucc3e\uae30 \uc704\ud574, \ud2b8\ub9ac\ub97c \uc7ac\uadc0\uc801\uc73c\ub85c \ud0d0\uc0c9\ud569\ub2c8\ub2e4.<br \/>\n            \ud604\uc7ac \ub178\ub4dc\uac00 <strong>${p}<\/strong> \ub610\ub294 <strong>${q}<\/strong>\uc5d0 \ud574\ub2f9\ub418\uba74, \ud604\uc7ac \ub178\ub4dc\ub97c \ubc18\ud658\ud569\ub2c8\ub2e4.\n        <\/li>\n<li>\n<strong>\uc88c\uc6b0 \uc11c\ube0c\ud2b8\ub9ac \ud655\uc778:<\/strong><br \/>\n            \uc67c\ucabd \uc11c\ube0c\ud2b8\ub9ac \ubc0f \uc624\ub978\ucabd \uc11c\ube0c\ud2b8\ub9ac\uc5d0\uc11c \uac01\uac01 LCA\ub97c \ucc3e\uace0, \ub450 \uacb0\uacfc\uac00 \ubaa8\ub450 \uc874\uc7ac\ud558\ub294 \uacbd\uc6b0<br \/>\n            \ud604\uc7ac \ub178\ub4dc\uac00 LCA\uc785\ub2c8\ub2e4.\n        <\/li>\n<li>\n<strong>\uacb0\uacfc \ubc18\ud658:<\/strong><br \/>\n            \ub450 \ub178\ub4dc\uac00 \ubc1c\uacac\ub41c \uacbd\uc6b0 \ud604\uc7ac \ub178\ub4dc\ub97c \ubc18\ud658\ud558\uace0, \uadf8\ub807\uc9c0 \uc54a\uc740 \uacbd\uc6b0 <code>null<\/code>\uc744 \ubc18\ud658\ud569\ub2c8\ub2e4.\n        <\/li>\n<\/ol>\n<h3>\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub4dc \uad6c\ud604<\/h3>\n<pre><code>\n\/\/ \uc774\uc9c4 \ud2b8\ub9ac \ub178\ub4dc \ud074\ub798\uc2a4 \uc815\uc758\nclass TreeNode {\n    constructor(value) {\n        this.value = value;\n        this.left = null;\n        this.right = null;\n    }\n}\n\n\/\/ \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \ucc3e\uae30 \ud568\uc218\nfunction findLCA(root, p, q) {\n    \/\/ \ubca0\uc774\uc2a4 \ucf00\uc774\uc2a4: \ud604\uc7ac \ub178\ub4dc\uac00 null\uc77c \uacbd\uc6b0\n    if (root === null) {\n        return null;\n    }\n    \n    \/\/ \ub9cc\uc57d \ud604\uc7ac \ub178\ub4dc\uac00 p \ud639\uc740 q\uc77c \uacbd\uc6b0 \ud604\uc7ac \ub178\ub4dc\ub97c \ubc18\ud658\n    if (root.value === p || root.value === q) {\n        return root;\n    }\n    \n    \/\/ \uc88c\uce21\uacfc \uc6b0\uce21 \uc11c\ube0c\ud2b8\ub9ac\uc5d0\uc11c LCA \ucc3e\uae30\n    const leftLCA = findLCA(root.left, p, q);\n    const rightLCA = findLCA(root.right, p, q);\n    \n    \/\/ \ub9cc\uc57d \uc67c\ucabd\uacfc \uc624\ub978\ucabd \ubaa8\ub450\uc5d0\uc11c \uacb0\uacfc\uac00 \uc874\uc7ac\ud560 \uacbd\uc6b0 \ud604\uc7ac \ub178\ub4dc\uac00 LCA\n    if (leftLCA &amp;&amp; rightLCA) {\n        return root;\n    }\n    \n    \/\/ \ud558\ub098\uc758 \uc11c\ube0c\ud2b8\ub9ac\uc5d0\uc11c\ub9cc LCA\ub97c \ucc3e\uc73c\uba74 \uadf8 \uacb0\uacfc\ub97c \ubc18\ud658\n    return leftLCA !== null ? leftLCA : rightLCA;\n}\n\n\/\/ \uc0ac\uc6a9 \uc608\uc2dc\nconst root = new TreeNode(1);\nroot.left = new TreeNode(2);\nroot.right = new TreeNode(3);\nroot.left.left = new TreeNode(4);\nroot.left.right = new TreeNode(5);\n\nconst node1 = 4;\nconst node2 = 5;\nconst lca = findLCA(root, node1, node2);\nconsole.log(lca ? lca.value : -1); \/\/ \uacb0\uacfc: 2\n    <\/code><\/pre>\n<h2>\uacb0\ub860<\/h2>\n<p>\n        \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \ucc3e\uae30\ub294 \uc774\uc9c4 \ud2b8\ub9ac\uc5d0\uc11c \uc911\uc694\ud55c \ud0d0\uc0c9 \ubb38\uc81c\uc785\ub2c8\ub2e4.<br \/>\n        \ub2e4\uc591\ud55c \ud2b8\ub9ac \uad6c\uc870\uc640 \ub178\ub4dc\uc5d0 \ub300\ud574 \uc7ac\uadc0\uc801 \uc811\uadfc\uc744 \ud1b5\ud574 \ud6a8\uc728\uc801\uc778 \ubc29\ubc95\uc73c\ub85c \ubb38\uc81c\ub97c \ud574\uacb0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n        \uc774 \ubc29\ubc95\uc740 \uc5ec\ub7ec \uac00\uc9c0 \uc0c1\ud669\uc5d0\uc11c \uc720\uc6a9\ud558\uac8c \uc0ac\uc6a9\ub420 \uc218 \uc788\uc73c\uba70,<br \/>\n        \uc7ac\uadc0\uc801 \uc0ac\uace0\uc640 \ud2b8\ub9ac \ud0d0\uc0c9 \uc774\ud574\uc5d0 \ud070 \ub3c4\uc6c0\uc744 \uc904 \uac83\uc785\ub2c8\ub2e4.\n    <\/p>\n<h2>\ucd94\uac00 \uacfc\uc81c<\/h2>\n<p>\n        \uc544\ub798\uc758 \ucd94\uac00 \uacfc\uc81c\ub97c \ud480\uc5b4\ubcf4\uc138\uc694!\n    <\/p>\n<ul>\n<li>\uc8fc\uc5b4\uc9c4 \ub178\ub4dc\uac00 \uc874\uc7ac\ud558\uc9c0 \uc54a\ub294 \uacbd\uc6b0\uc5d0 \ub300\ud574 \ucc98\ub9ac\ud558\ub294 \ub85c\uc9c1\uc744 \ucd94\uac00\ud558\uc138\uc694.<\/li>\n<li>\uc774\uc9c4 \ud0d0\uc0c9 \ud2b8\ub9ac\uc5d0\uc11c LCA\ub97c \ucc3e\ub294 \ucd5c\uc801\ud654\ub41c \ubc29\ubc95\uc744 \uc5f0\uad6c\ud558\uace0 \uad6c\ud604\ud574\ubcf4\uc138\uc694.<\/li>\n<li>\ub2e4\uc591\ud55c \ud2b8\ub9ac \uad6c\uc870\ub97c \uc2dc\uac01\ud654\ud560 \uc218 \uc788\ub294 \ud568\uc218\ub3c4 \uad6c\ud604\ud574\ubcf4\uc138\uc694.<\/li>\n<\/ul>\n<h2>\ucc38\uace0 \uc790\ub8cc<\/h2>\n<ul>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Lowest_common_ancestor\" target=\"_blank\" rel=\"noopener\">Lowest Common Ancestor &#8211; Wikipedia<\/a><\/li>\n<li><a href=\"https:\/\/leetcode.com\/problems\/lowest-common-ancestor-of-a-binary-tree\/\" target=\"_blank\" rel=\"noopener\">LeetCode: Lowest Common Ancestor of a Binary Tree<\/a><\/li>\n<\/ul>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ubb38\uc81c \uc124\uba85 \uc774 \ubb38\uc81c\ub294 \ub450 \ub178\ub4dc\uc758 \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1(LCA, Lowest Common Ancestor)\uc744 \ucc3e\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uc8fc\uc5b4\uc9c4 \uc774\uc9c4 \ud2b8\ub9ac\uc5d0\uc11c \ub450 \uac1c\uc758 \ub178\ub4dc\uac00 \uc788\uc744 \ub54c, \uc774 \ub450 \ub178\ub4dc\uc758 \uacf5\ud1b5 \uc870\uc0c1\uc744 \ucc3e\ub294 \uac83\uc785\ub2c8\ub2e4. \uc785\ub825 \ud615\uc2dd \uc774\uc9c4 \ud2b8\ub9ac\uc758 \ub8e8\ud2b8 \ub178\ub4dc\uac00 \uc8fc\uc5b4\uc9d1\ub2c8\ub2e4. \ub450 \uac1c\uc758 \ub178\ub4dc \uac12\uc774 \uc8fc\uc5b4\uc9d1\ub2c8\ub2e4. \ucd9c\ub825 \ud615\uc2dd \uc8fc\uc5b4\uc9c4 \ub450 \ub178\ub4dc\uc758 \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1\uc758 \uac12\uc774\ub098, \uc5c6\ub294 \uacbd\uc6b0\uc5d0\ub294 -1\uc744 \ucd9c\ub825\ud569\ub2c8\ub2e4. \ubb38\uc81c &hellip; <a href=\"https:\/\/atmokpo.com\/w\/28031\/\" 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 2&#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-28031","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 2 - \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\/28031\/\" \/>\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 2 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\ubb38\uc81c \uc124\uba85 \uc774 \ubb38\uc81c\ub294 \ub450 \ub178\ub4dc\uc758 \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1(LCA, Lowest Common Ancestor)\uc744 \ucc3e\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uc8fc\uc5b4\uc9c4 \uc774\uc9c4 \ud2b8\ub9ac\uc5d0\uc11c \ub450 \uac1c\uc758 \ub178\ub4dc\uac00 \uc788\uc744 \ub54c, \uc774 \ub450 \ub178\ub4dc\uc758 \uacf5\ud1b5 \uc870\uc0c1\uc744 \ucc3e\ub294 \uac83\uc785\ub2c8\ub2e4. \uc785\ub825 \ud615\uc2dd \uc774\uc9c4 \ud2b8\ub9ac\uc758 \ub8e8\ud2b8 \ub178\ub4dc\uac00 \uc8fc\uc5b4\uc9d1\ub2c8\ub2e4. \ub450 \uac1c\uc758 \ub178\ub4dc \uac12\uc774 \uc8fc\uc5b4\uc9d1\ub2c8\ub2e4. \ucd9c\ub825 \ud615\uc2dd \uc8fc\uc5b4\uc9c4 \ub450 \ub178\ub4dc\uc758 \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1\uc758 \uac12\uc774\ub098, \uc5c6\ub294 \uacbd\uc6b0\uc5d0\ub294 -1\uc744 \ucd9c\ub825\ud569\ub2c8\ub2e4. \ubb38\uc81c &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 2&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/28031\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T15:21:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:11:21+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\/28031\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/28031\/\"},\"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 2\",\"datePublished\":\"2024-10-27T15:21:05+00:00\",\"dateModified\":\"2024-11-26T07:11:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/28031\/\"},\"wordCount\":23,\"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\/28031\/\",\"url\":\"https:\/\/atmokpo.com\/w\/28031\/\",\"name\":\"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \uad6c\ud558\uae30 2 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T15:21:05+00:00\",\"dateModified\":\"2024-11-26T07:11:21+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/28031\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/28031\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/28031\/#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 2\"}]},{\"@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 2 - \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\/28031\/","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 2 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\ubb38\uc81c \uc124\uba85 \uc774 \ubb38\uc81c\ub294 \ub450 \ub178\ub4dc\uc758 \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1(LCA, Lowest Common Ancestor)\uc744 \ucc3e\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uc8fc\uc5b4\uc9c4 \uc774\uc9c4 \ud2b8\ub9ac\uc5d0\uc11c \ub450 \uac1c\uc758 \ub178\ub4dc\uac00 \uc788\uc744 \ub54c, \uc774 \ub450 \ub178\ub4dc\uc758 \uacf5\ud1b5 \uc870\uc0c1\uc744 \ucc3e\ub294 \uac83\uc785\ub2c8\ub2e4. \uc785\ub825 \ud615\uc2dd \uc774\uc9c4 \ud2b8\ub9ac\uc758 \ub8e8\ud2b8 \ub178\ub4dc\uac00 \uc8fc\uc5b4\uc9d1\ub2c8\ub2e4. \ub450 \uac1c\uc758 \ub178\ub4dc \uac12\uc774 \uc8fc\uc5b4\uc9d1\ub2c8\ub2e4. \ucd9c\ub825 \ud615\uc2dd \uc8fc\uc5b4\uc9c4 \ub450 \ub178\ub4dc\uc758 \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1\uc758 \uac12\uc774\ub098, \uc5c6\ub294 \uacbd\uc6b0\uc5d0\ub294 -1\uc744 \ucd9c\ub825\ud569\ub2c8\ub2e4. \ubb38\uc81c &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 2\"","og_url":"https:\/\/atmokpo.com\/w\/28031\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T15:21:05+00:00","article_modified_time":"2024-11-26T07:11:21+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\/28031\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/28031\/"},"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 2","datePublished":"2024-10-27T15:21:05+00:00","dateModified":"2024-11-26T07:11:21+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/28031\/"},"wordCount":23,"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\/28031\/","url":"https:\/\/atmokpo.com\/w\/28031\/","name":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \uad6c\ud558\uae30 2 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T15:21:05+00:00","dateModified":"2024-11-26T07:11:21+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/28031\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/28031\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/28031\/#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 2"}]},{"@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\/28031","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=28031"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/28031\/revisions"}],"predecessor-version":[{"id":28032,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/28031\/revisions\/28032"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=28031"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=28031"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=28031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}