{"id":27480,"date":"2024-10-27T14:11:59","date_gmt":"2024-10-27T14:11:59","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=27480"},"modified":"2024-11-26T07:17:55","modified_gmt":"2024-11-26T07:17:55","slug":"c-%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%ea%b8%b0-1","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/27480\/","title":{"rendered":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \uad6c\ud558\uae30 1"},"content":{"rendered":"<p><body><\/p>\n<article>\n<header>\n<p>\uc791\uc131\uc790: \uc870\uad11\ud615<\/p>\n<p>\uc791\uc131\uc77c: [\uc624\ub298\uc758 \ub0a0\uc9dc]<\/p>\n<\/header>\n<section>\n<h2>\ub4e4\uc5b4\uac00\uba70<\/h2>\n<p>\n                \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ud480\uc774\uc5d0\uc11c\ub294 \ub2e4\uc591\ud55c \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ub2a5\ub825\uc774 \uc911\uc694\ud569\ub2c8\ub2e4. \uadf8 \uc911\uc5d0\uc11c\ub3c4 \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1(Lowest Common Ancestor, LCA) \ubb38\uc81c\ub294 \ud2b8\ub9ac \uad6c\uc870\uc5d0\uc11c\uc758 \ub178\ub4dc \uac04\uc758 \uad00\uacc4\ub97c \uc774\ud574\ud558\ub294 \ub370 \ud544\uc218\uc801\uc778 \uac1c\ub150\uc785\ub2c8\ub2e4. \uc774\ubc88 \uae00\uc5d0\uc11c\ub294 C#\uc744 \uc0ac\uc6a9\ud558\uc5ec \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1\uc744 \uad6c\ud558\ub294 \ubb38\uc81c\ub97c \ud480\uc5b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.\n            <\/p>\n<\/section>\n<section>\n<h2>\ubb38\uc81c \uc124\uba85<\/h2>\n<p>\n                \uc8fc\uc5b4\uc9c4 \uc774\uc9c4 \ud2b8\ub9ac\uac00 \uc8fc\uc5b4\uc84c\uc744 \ub54c, \ub450 \ub178\ub4dc A\uc640 B\uc758 \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1(LCA)\uc744 \ucc3e\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uc774\uc9c4 \ud2b8\ub9ac\ub294 \uac01 \ub178\ub4dc\uac00 \ucd5c\ub300 \ub450 \uac1c\uc758 \uc790\uc2dd\uc744 \uac00\uc9c0\ub294 \uc790\ub8cc\uad6c\uc870\uc785\ub2c8\ub2e4. LCA\ub294 \ub450 \ub178\ub4dc A\uc640 B\uc758 \uac00\uc7a5 \uac00\uae4c\uc6b4 \uacf5\ud1b5 \uc870\uc0c1\uc744 \uc758\ubbf8\ud569\ub2c8\ub2e4.\n            <\/p>\n<p>\n                \uc608\ub97c \ub4e4\uc5b4 \uc544\ub798\uc640 \uac19\uc740 \uc774\uc9c4 \ud2b8\ub9ac\uac00 \uc788\ub2e4\uace0 \uac00\uc815\ud574 \ubd05\uc2dc\ub2e4.\n            <\/p>\n<pre>\n              1\n             \/ \\\n            2   3\n           \/ \\\n          4   5\n            <\/pre>\n<p>\n                \uc774 \ud2b8\ub9ac\uc5d0\uc11c \ub178\ub4dc 4\uc640 5\uc758 \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1\uc740 2\uc785\ub2c8\ub2e4. \ub178\ub4dc 2\ub294 4\uc640 5\ub85c \uac00\ub294 \uacbd\ub85c\uc5d0\uc11c \uac00\uc7a5 \uac00\uae4c\uc6b4 \uc870\uc0c1\uc785\ub2c8\ub2e4.\n            <\/p>\n<\/section>\n<section>\n<h2>\ubb38\uc81c \uc694\uad6c \uc0ac\ud56d<\/h2>\n<ul>\n<li>\uc774\uc9c4 \ud2b8\ub9ac\uac00 \uc8fc\uc5b4\uc9c8 \ub54c, \ub450 \uac1c\uc758 \ub178\ub4dc\uc758 \uac12\uc744 \uc785\ub825\ubc1b\uc544 \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1\uc744 \ubc18\ud658\ud569\ub2c8\ub2e4.<\/li>\n<li>\ub178\ub4dc\uc758 \uac12\uc774 \uc8fc\uc5b4\uc9c4 \uacbd\uc6b0, \uadf8 \uac12\uc5d0 \ud574\ub2f9\ud558\ub294 \ub178\ub4dc\ub97c \ucc3e\uc544\uc57c \ud569\ub2c8\ub2e4.<\/li>\n<li>\uc785\ub825\uc73c\ub85c \uc8fc\uc5b4\uc9c0\ub294 \ub178\ub4dc\ub294 \uc774\uc9c4 \ud2b8\ub9ac \ub0b4\uc5d0 \ud56d\uc0c1 \uc874\uc7ac\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub294 O(N)\uc73c\ub85c \uc81c\ud55c\ub429\ub2c8\ub2e4.<\/li>\n<\/ul>\n<\/section>\n<section>\n<h2>\uc811\uadfc \ubc29\uc2dd<\/h2>\n<p>\n                \uc774 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574 \ub2e4\uc74c\uacfc \uac19\uc740 \uc811\uadfc \ubc29\uc2dd\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n            <\/p>\n<ol>\n<li>\ud2b8\ub9ac\ub97c \uc21c\ud68c\ud558\uc5ec \uac01 \ub178\ub4dc\uc758 \ubd80\ubaa8 \ub178\ub4dc\ub97c \ucc3e\uc544 \uc800\uc7a5\ud569\ub2c8\ub2e4.<\/li>\n<li>\uccab \ubc88\uc9f8 \ub178\ub4dc\uc758 \uc870\uc0c1 \uacbd\ub85c\ub97c \uc800\uc7a5\ud55c \ud6c4, \ub450 \ubc88\uc9f8 \ub178\ub4dc\uc758 \uc870\uc0c1\uc744 \uc704\uc5d0\uc11c\ubd80\ud130 \uccb4\ud06c\ud558\uba70 \uacf5\ud1b5 \uc870\uc0c1\uc744 \ucc3e\uc2b5\ub2c8\ub2e4.<\/li>\n<li>\uc774 \ubc29\ubc95\uc744 \ud1b5\ud574 O(N)\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub85c \ub450 \ub178\ub4dc\uc758 \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1\uc744 \ucc3e\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ol>\n<\/section>\n<section>\n<h2>\ucf54\ub4dc \uad6c\ud604<\/h2>\n<p>\n                \uc9c0\uae08\ubd80\ud130 C#\uc73c\ub85c \uc774\uc9c4 \ud2b8\ub9ac\uc640 \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1\uc744 \ucc3e\ub294 \ud568\uc218\ub97c \uad6c\ud604\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uba3c\uc800 \ud2b8\ub9ac\ub97c \ub098\ud0c0\ub0b4\ub294 \ud074\ub798\uc2a4(TreeNode)\ub97c \uc815\uc758\ud558\uace0, \uadf8 \uc704\uc5d0 LCA\ub97c \ucc3e\ub294 \uba54\uc18c\ub4dc\ub97c \uc791\uc131\ud569\ub2c8\ub2e4.\n            <\/p>\n<pre>\nusing System;\nusing System.Collections.Generic;\n\npublic class TreeNode {\n    public int Value;\n    public TreeNode Left;\n    public TreeNode Right;\n    \n    public TreeNode(int value) {\n        Value = value;\n        Left = Right = null;\n    }\n}\n\npublic class BinaryTree {\n    private TreeNode root;\n\n    public BinaryTree(TreeNode root) {\n        this.root = root;\n    }\n\n    public TreeNode FindLCA(int val1, int val2) {\n        return FindLCA(root, val1, val2);\n    }\n\n    private TreeNode FindLCA(TreeNode node, int val1, int val2) {\n        if (node == null) {\n            return null;\n        }\n        if (node.Value == val1 || node.Value == val2) {\n            return node;\n        }\n\n        TreeNode leftLCA = FindLCA(node.Left, val1, val2);\n        TreeNode rightLCA = FindLCA(node.Right, val1, val2);\n\n        if (leftLCA != null &amp;&amp; rightLCA != null) {\n            return node;\n        }\n        return (leftLCA != null) ? leftLCA : rightLCA;\n    }\n}\n            <\/pre>\n<p>\n                \uc704 \ucf54\ub4dc\ub294 \uae30\ubcf8\uc801\uc778 \uc774\uc9c4 \ud2b8\ub9ac \ub178\ub4dc\ub97c \uc815\uc758\ud558\uace0, \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1\uc744 \ucc3e\ub294 \uba54\uc18c\ub4dc\ub97c \uad6c\ud604\ud55c \uc608\uc785\ub2c8\ub2e4.\n            <\/p>\n<\/section>\n<section>\n<h2>\ud14c\uc2a4\ud2b8 \ucf00\uc774\uc2a4<\/h2>\n<p>\n                \uc774\uc81c \ucf54\ub4dc\ub97c \ud14c\uc2a4\ud2b8\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc544\ub798\uc640 \uac19\uc774 \uc774\uc9c4 \ud2b8\ub9ac\ub97c \uc0dd\uc131\ud558\uace0, LCA\ub97c \ucc3e\ub294 \ub85c\uc9c1\uc744 \uc2e4\ud589\ud574 \ubcfc \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n            <\/p>\n<pre>\nclass Program {\n    static void Main() {\n        TreeNode 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\n        BinaryTree tree = new BinaryTree(root);\n\n        TreeNode lca = tree.FindLCA(4, 5);\n        Console.WriteLine($\"LCA of 4 and 5 is: {lca.Value}\");\n\n        lca = tree.FindLCA(4, 3);\n        Console.WriteLine($\"LCA of 4 and 3 is: {lca.Value}\");\n    }\n}\n            <\/pre>\n<p>\n                \uc774 \ucf54\ub4dc\ub97c \uc2e4\ud589\ud558\uba74 \ub178\ub4dc 4\uc640 5\uc758 LCA\ub294 2, \ub178\ub4dc 4\uc640 3\uc758 LCA\ub294 1\uc774 \ucd9c\ub825\ub429\ub2c8\ub2e4. \uc774\ub294 \uc6b0\ub9ac\uac00 \uc608\uce21\ud55c \uacb0\uacfc\uc640 \uc77c\uce58\ud569\ub2c8\ub2e4.\n            <\/p>\n<\/section>\n<section>\n<h2>\uacb0\ub860<\/h2>\n<p>\n                \uc774\ubc88 \uae00\uc5d0\uc11c\ub294 \uc774\uc9c4 \ud2b8\ub9ac\uc5d0\uc11c \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1\uc744 \ucc3e\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uc558\uc2b5\ub2c8\ub2e4. C#\uc73c\ub85c \uad6c\ud604\uc744 \ud1b5\ud574 \ubb38\uc81c \ud574\uacb0 \ub2a5\ub825\uc744 \ubc30\uc591\ud560 \uc218 \uc788\uc5c8\uae30\ub97c \ubc14\ub78d\ub2c8\ub2e4. \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ud480\uc774\uc5d0\uc11c\uc758 \uae30\ubcf8 \uac1c\ub150\uc744 \ucda9\ubd84\ud788 \uc774\ud574\ud558\uace0 \ub2e4\uc591\ud55c \uc0c1\ud669\uc5d0 \uc801\uc6a9\ud574 \ubcf4\ub294 \uac83\uc774 \uc911\uc694\ud569\ub2c8\ub2e4.\n            <\/p>\n<p>\n                \uc55e\uc73c\ub85c\ub3c4 \ub2e4\uc591\ud55c \ubb38\uc81c\ub97c \ud1b5\ud574 \uc54c\uace0\ub9ac\uc998 \ub2a5\ub825\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\uace0 \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc88b\uc740 \uc131\uacfc\ub97c \ub0b4\uae30\ub97c \ubc14\ub78d\ub2c8\ub2e4.\n            <\/p>\n<\/section>\n<footer>\n<p>\uc774 \uae00\uc774 \ub3c4\uc6c0\uc774 \ub418\uc168\ub2e4\uba74, \ub313\uae00\ub85c \ud53c\ub4dc\ubc31\uc744 \ub0a8\uaca8\uc8fc\uc138\uc694!<\/p>\n<\/footer>\n<\/article>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc791\uc131\uc790: \uc870\uad11\ud615 \uc791\uc131\uc77c: [\uc624\ub298\uc758 \ub0a0\uc9dc] \ub4e4\uc5b4\uac00\uba70 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ud480\uc774\uc5d0\uc11c\ub294 \ub2e4\uc591\ud55c \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ub2a5\ub825\uc774 \uc911\uc694\ud569\ub2c8\ub2e4. \uadf8 \uc911\uc5d0\uc11c\ub3c4 \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1(Lowest Common Ancestor, LCA) \ubb38\uc81c\ub294 \ud2b8\ub9ac \uad6c\uc870\uc5d0\uc11c\uc758 \ub178\ub4dc \uac04\uc758 \uad00\uacc4\ub97c \uc774\ud574\ud558\ub294 \ub370 \ud544\uc218\uc801\uc778 \uac1c\ub150\uc785\ub2c8\ub2e4. \uc774\ubc88 \uae00\uc5d0\uc11c\ub294 C#\uc744 \uc0ac\uc6a9\ud558\uc5ec \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1\uc744 \uad6c\ud558\ub294 \ubb38\uc81c\ub97c \ud480\uc5b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \uc8fc\uc5b4\uc9c4 \uc774\uc9c4 \ud2b8\ub9ac\uac00 \uc8fc\uc5b4\uc84c\uc744 \ub54c, \ub450 \ub178\ub4dc A\uc640 B\uc758 \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1(LCA)\uc744 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/27480\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;C# \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":[24],"tags":[],"class_list":["post-27480","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, \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\/27480\/\" \/>\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, \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \uad6c\ud558\uae30 1 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc791\uc131\uc790: \uc870\uad11\ud615 \uc791\uc131\uc77c: [\uc624\ub298\uc758 \ub0a0\uc9dc] \ub4e4\uc5b4\uac00\uba70 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ud480\uc774\uc5d0\uc11c\ub294 \ub2e4\uc591\ud55c \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ub2a5\ub825\uc774 \uc911\uc694\ud569\ub2c8\ub2e4. \uadf8 \uc911\uc5d0\uc11c\ub3c4 \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1(Lowest Common Ancestor, LCA) \ubb38\uc81c\ub294 \ud2b8\ub9ac \uad6c\uc870\uc5d0\uc11c\uc758 \ub178\ub4dc \uac04\uc758 \uad00\uacc4\ub97c \uc774\ud574\ud558\ub294 \ub370 \ud544\uc218\uc801\uc778 \uac1c\ub150\uc785\ub2c8\ub2e4. \uc774\ubc88 \uae00\uc5d0\uc11c\ub294 C#\uc744 \uc0ac\uc6a9\ud558\uc5ec \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1\uc744 \uad6c\ud558\ub294 \ubb38\uc81c\ub97c \ud480\uc5b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \uc8fc\uc5b4\uc9c4 \uc774\uc9c4 \ud2b8\ub9ac\uac00 \uc8fc\uc5b4\uc84c\uc744 \ub54c, \ub450 \ub178\ub4dc A\uc640 B\uc758 \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1(LCA)\uc744 &hellip; \ub354 \ubcf4\uae30 &quot;C# \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\/27480\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T14:11:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:17:55+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\/27480\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27480\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \uad6c\ud558\uae30 1\",\"datePublished\":\"2024-10-27T14:11:59+00:00\",\"dateModified\":\"2024-11-26T07:17:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27480\/\"},\"wordCount\":23,\"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\/27480\/\",\"url\":\"https:\/\/atmokpo.com\/w\/27480\/\",\"name\":\"C# \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-27T14:11:59+00:00\",\"dateModified\":\"2024-11-26T07:17:55+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27480\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/27480\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/27480\/#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, \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":"C# \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\/27480\/","og_locale":"ko_KR","og_type":"article","og_title":"C# \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":"\uc791\uc131\uc790: \uc870\uad11\ud615 \uc791\uc131\uc77c: [\uc624\ub298\uc758 \ub0a0\uc9dc] \ub4e4\uc5b4\uac00\uba70 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ud480\uc774\uc5d0\uc11c\ub294 \ub2e4\uc591\ud55c \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ub2a5\ub825\uc774 \uc911\uc694\ud569\ub2c8\ub2e4. \uadf8 \uc911\uc5d0\uc11c\ub3c4 \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1(Lowest Common Ancestor, LCA) \ubb38\uc81c\ub294 \ud2b8\ub9ac \uad6c\uc870\uc5d0\uc11c\uc758 \ub178\ub4dc \uac04\uc758 \uad00\uacc4\ub97c \uc774\ud574\ud558\ub294 \ub370 \ud544\uc218\uc801\uc778 \uac1c\ub150\uc785\ub2c8\ub2e4. \uc774\ubc88 \uae00\uc5d0\uc11c\ub294 C#\uc744 \uc0ac\uc6a9\ud558\uc5ec \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1\uc744 \uad6c\ud558\ub294 \ubb38\uc81c\ub97c \ud480\uc5b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \uc8fc\uc5b4\uc9c4 \uc774\uc9c4 \ud2b8\ub9ac\uac00 \uc8fc\uc5b4\uc84c\uc744 \ub54c, \ub450 \ub178\ub4dc A\uc640 B\uc758 \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1(LCA)\uc744 &hellip; \ub354 \ubcf4\uae30 \"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \uad6c\ud558\uae30 1\"","og_url":"https:\/\/atmokpo.com\/w\/27480\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T14:11:59+00:00","article_modified_time":"2024-11-26T07:17:55+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\/27480\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/27480\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \uad6c\ud558\uae30 1","datePublished":"2024-10-27T14:11:59+00:00","dateModified":"2024-11-26T07:17:55+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/27480\/"},"wordCount":23,"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\/27480\/","url":"https:\/\/atmokpo.com\/w\/27480\/","name":"C# \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-27T14:11:59+00:00","dateModified":"2024-11-26T07:17:55+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/27480\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/27480\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/27480\/#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, \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\/27480","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=27480"}],"version-history":[{"count":2,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27480\/revisions"}],"predecessor-version":[{"id":43167,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27480\/revisions\/43167"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=27480"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=27480"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=27480"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}