{"id":27472,"date":"2024-10-27T14:11:56","date_gmt":"2024-10-27T14:11:56","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=27472"},"modified":"2024-11-26T07:17:59","modified_gmt":"2024-11-26T07:17:59","slug":"c-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c-%ec%84%b8%ea%b7%b8%eb%a8%bc%ed%8a%b8-%ed%8a%b8%eb%a6%ac","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/27472\/","title":{"rendered":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac"},"content":{"rendered":"<p><body><\/p>\n<p>\n    \uc54c\uace0\ub9ac\uc998 \ub300\ud68c\ub098 \ucf54\ub529 \uc778\ud130\ubdf0\uc5d0\uc11c \ud6a8\uc728\uc801\uc73c\ub85c \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud55c \uae30\uc220 \uc911 \ud558\ub098\uac00 \ubc14\ub85c <strong>\uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac(Segment Tree)<\/strong>\uc785\ub2c8\ub2e4.<br \/>\n    \uc774 \uae00\uc5d0\uc11c\ub294 \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\uc758 \uae30\ubcf8 \uac1c\ub150\uacfc \ud568\uaed8 \uc2e4\uc81c \ubb38\uc81c\ub97c \ud1b5\ud574 \uadf8 \uc368\ubcf4\ub294 \ubc29\ubc95\uc744 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\ub294 \uc8fc\ub85c \uad6c\uac04 \ucffc\ub9ac \ubb38\uc81c\uc5d0\uc11c \ub9e4\uc6b0 \uc720\uc6a9\ud558\uac8c \uc0ac\uc6a9\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n    \ud2b9\ud788, \uad6c\uac04 \ud569, \uad6c\uac04 \ucd5c\uc18c\/\ucd5c\ub300\uac12, \uad6c\uac04 \uc5c5\ub370\uc774\ud2b8 \ub4f1\uc758 \uc791\uc5c5\uc744 \ud6a8\uc728\uc801\uc73c\ub85c \ucc98\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n<\/p>\n<h2>\uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\ub780?<\/h2>\n<p>\n    \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\ub294 \ubc30\uc5f4\uc758 \uad6c\uac04\uc5d0 \ub300\ud55c \uc815\ubcf4\ub97c \ud6a8\uc728\uc801\uc73c\ub85c \uad00\ub9ac\ud558\uae30 \uc704\ud55c \uc790\ub8cc\uad6c\uc870\uc785\ub2c8\ub2e4.<br \/>\n    \uc774\ub97c \ud1b5\ud574 \ud2b9\uc815 \uad6c\uac04\uc5d0 \ub300\ud55c \ucffc\ub9ac \uc5f0\uc0b0 \ubc0f \uc5c5\ub370\uc774\ud2b8\ub97c \ub85c\uadf8 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4(logarithmic time complexity)\ub85c \ucc98\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n    \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\ub294 \uc77c\ubc18\uc801\uc73c\ub85c \uc774\uc9c4 \ud2b8\ub9ac \ud615\ud0dc\ub85c \uad6c\uc131\ub418\uba70, \uac01 \ub178\ub4dc\ub294 \ud2b9\uc815 \uad6c\uac04\uc5d0 \ub300\ud55c \uc815\ubcf4\ub97c \uc800\uc7a5\ud569\ub2c8\ub2e4.\n<\/p>\n<h3>\uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\uc758 \uad6c\uc870<\/h3>\n<p>\n    \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\ub294 \uc544\ub798\uc640 \uac19\uc740 \uad6c\uc870\ub85c \uad6c\uc131\ub429\ub2c8\ub2e4:\n<\/p>\n<ul>\n<li>\ub9ac\ud504 \ub178\ub4dc: \ubc30\uc5f4\uc758 \uac01 \uc694\uc18c\ub97c \ub098\ud0c0\ub0c5\ub2c8\ub2e4.<\/li>\n<li>\ub0b4\ubd80 \ub178\ub4dc: \uc790\uc2e0\uc758 \uc790\uc2dd \ub178\ub4dc(\ub9ac\ud504 \ub178\ub4dc)\uc758 \uc815\ubcf4\ub97c \ubc14\ud0d5\uc73c\ub85c \uad6c\uac04\uc758 \uc815\ubcf4\ub97c \ub098\ud0c0\ub0c5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \ub9ac\ud504 \ub178\ub4dc\ub4e4\uc5d0 \ub300\ud55c \ud569, \ucd5c\uc18c \ud639\uc740 \ucd5c\ub300\uac12 \ub4f1\uc744 \uc800\uc7a5\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>\ubb38\uc81c \uc18c\uac1c<\/h2>\n<p>\n    \uc790 \uc774\uc81c, \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud574\uacb0\ud560 \uc218 \uc788\ub294 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \uc18c\uac1c\ud569\ub2c8\ub2e4.\n<\/p>\n<h3>\ubb38\uc81c \uc124\uba85<\/h3>\n<p>\n    \uc8fc\uc5b4\uc9c4 \uc815\uc218 \ubc30\uc5f4\uc5d0\uc11c \ub2e4\uc74c\uc758 \ub450 \uac00\uc9c0 \uc791\uc5c5\uc744 \ud6a8\uc728\uc801\uc73c\ub85c \ucc98\ub9ac\ud558\ub294 \ud504\ub85c\uadf8\ub7a8\uc744 \uc791\uc131\ud558\uc138\uc694.\n<\/p>\n<ol>\n<li>\uad6c\uac04 \ud569 \ucffc\ub9ac: \ubc30\uc5f4\uc758 \ud2b9\uc815 \uad6c\uac04 [l, r]\uc5d0 \ub300\ud55c \ud569\uc744 \uacc4\uc0b0\ud569\ub2c8\ub2e4.<\/li>\n<li>\uad6c\uac04 \uc5c5\ub370\uc774\ud2b8: \ubc30\uc5f4\uc758 \ud2b9\uc815 \uc778\ub371\uc2a4\uc5d0 \uc788\ub294 \uac12\uc744 \uc5c5\ub370\uc774\ud2b8\ud558\uace0, \uc774\uc5d0 \ub530\ub978 \ubcc0\uacbd\uc0ac\ud56d\uc744 \ubc18\uc601\ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h3>\uc785\ub825 \ud615\uc2dd<\/h3>\n<p>\n    \uccab \uc904\uc5d0 \ubc30\uc5f4\uc758 \ud06c\uae30 <code>N<\/code>\uacfc \ucffc\ub9ac\uc758 \uc218 <code>M<\/code>\uc774 \uc8fc\uc5b4\uc9d1\ub2c8\ub2e4. (1 \u2264 N \u2264 100,000, 1 \u2264 M \u2264 100,000)<br \/>\n    \uc774\ud6c4 <code>N<\/code>\uac1c\uc758 \uc815\uc218\uac00 \ubc30\uc5f4\uc5d0 \uc8fc\uc5b4\uc9c0\uba70, \uc774\ud6c4 <code>M<\/code>\uac1c\uc758 \ucffc\ub9ac\uac00 \uc8fc\uc5b4\uc9d1\ub2c8\ub2e4.\n<\/p>\n<p>\ucffc\ub9ac\uc758 \ud615\uc2dd\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li>1 l r: \ubc30\uc5f4\uc758 \uc778\ub371\uc2a4 l\uc5d0\uc11c r\uae4c\uc9c0\uc758 \ud569\uc744 \ucd9c\ub825\ud569\ub2c8\ub2e4 (1 \u2264 l \u2264 r \u2264 N)<\/li>\n<li>2 x y: \ubc30\uc5f4\uc758 x\ubc88\uc9f8 \uc694\uc18c\ub97c y\ub85c \uc5c5\ub370\uc774\ud2b8\ud569\ub2c8\ub2e4 (1 \u2264 x \u2264 N, -1,000,000,000 \u2264 y \u2264 1,000,000,000)<\/li>\n<\/ul>\n<h2>\uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\uc758 \uad6c\ud604<\/h2>\n<p>\n    \uc774\uc81c C#\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc704\uc758 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud55c \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\ub97c \uad6c\ud604\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.\n<\/p>\n<pre><code>\nusing System;\n\nclass SegmentTree\n{\n    private int[] tree;\n    private int size;\n\n    public SegmentTree(int n)\n    {\n        size = n;\n        tree = new int[n * 4]; \/\/ \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\uc758 \ud06c\uae30\n    }\n\n    \/\/ \ud2b8\ub9ac \uad6c\ucd95\n    public void Build(int[] arr, int node, int start, int end)\n    {\n        if (start == end)\n        {\n            tree[node] = arr[start]; \/\/ \ub9ac\ud504 \ub178\ub4dc\n        }\n        else\n        {\n            int mid = (start + end) \/ 2;\n            Build(arr, node * 2, start, mid); \/\/ \uc67c\ucabd \uc790\uc2dd\n            Build(arr, node * 2 + 1, mid + 1, end); \/\/ \uc624\ub978\ucabd \uc790\uc2dd\n            tree[node] = tree[node * 2] + tree[node * 2 + 1]; \/\/ \ubd80\ubaa8 \ub178\ub4dc \uc5c5\ub370\uc774\ud2b8\n        }\n    }\n\n    \/\/ \uad6c\uac04 \ud569 \ucffc\ub9ac\n    public int Query(int node, int start, int end, int l, int r)\n    {\n        if (r &lt; start || end &lt; l)\n        {\n            return 0; \/\/ \ud569\uc744 \uad6c\ud560 \uc218 \uc5c6\ub294 \uad6c\uac04\n        }\n\n        if (l &lt;= start &amp;&amp; end &lt;= r)\n        {\n            return tree[node]; \/\/ \uc644\uc804 \ud3ec\ud568\n        }\n\n        int mid = (start + end) \/ 2;\n        int leftSum = Query(node * 2, start, mid, l, r);\n        int rightSum = Query(node * 2 + 1, mid + 1, end, l, r);\n        return leftSum + rightSum; \/\/ \ub450 \uad6c\uac04\uc758 \ud569 \ubc18\ud658\n    }\n\n    \/\/ \uc5c5\ub370\uc774\ud2b8\n    public void Update(int node, int start, int end, int idx, int val)\n    {\n        if (start == end)\n        {\n            tree[node] = val; \/\/ \ub9ac\ud504 \ub178\ub4dc \uc5c5\ub370\uc774\ud2b8\n        }\n        else\n        {\n            int mid = (start + end) \/ 2;\n            if (start &lt;= idx &amp;&amp; idx &lt;= mid)\n            {\n                Update(node * 2, start, mid, idx, val); \/\/ \uc67c\ucabd \uc790\uc2dd \uc5c5\ub370\uc774\ud2b8\n            }\n            else\n            {\n                Update(node * 2 + 1, mid + 1, end, idx, val); \/\/ \uc624\ub978\ucabd \uc790\uc2dd \uc5c5\ub370\uc774\ud2b8\n            }\n            tree[node] = tree[node * 2] + tree[node * 2 + 1]; \/\/ \ubd80\ubaa8 \ub178\ub4dc \uc5c5\ub370\uc774\ud2b8\n        }\n    }\n}\n\nclass Program\n{\n    static void Main(string[] args)\n    {\n        int N, M;\n        N = int.Parse(Console.ReadLine());\n        M = int.Parse(Console.ReadLine());\n\n        int[] arr = Array.ConvertAll(Console.ReadLine().Split(' '), int.Parse);\n        SegmentTree segTree = new SegmentTree(N);\n        segTree.Build(arr, 1, 0, N - 1); \/\/ \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac \uad6c\ucd95\n\n        for (int i = 0; i &lt; M; i++)\n        {\n            string[] query = Console.ReadLine().Split(' ');\n            int type = int.Parse(query[0]);\n\n            if (type == 1)\n            {\n                \/\/ \uad6c\uac04 \ud569 \ucffc\ub9ac\n                int l = int.Parse(query[1]) - 1;\n                int r = int.Parse(query[2]) - 1;\n                Console.WriteLine(segTree.Query(1, 0, N - 1, l, r));\n            }\n            else if (type == 2)\n            {\n                \/\/ \uc5c5\ub370\uc774\ud2b8\n                int x = int.Parse(query[1]) - 1;\n                int y = int.Parse(query[2]);\n                segTree.Update(1, 0, N - 1, x, y);\n            }\n        }\n    }\n}\n<\/code><\/pre>\n<h2>\ucf54\ub4dc \uc124\uba85<\/h2>\n<p>\n    \uc704\uc758 C# \ucf54\ub4dc\ub294 \uc8fc\uc5b4\uc9c4 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud55c \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\uc758 \uad6c\ud604\uc785\ub2c8\ub2e4.<br \/>\n    \uac01 \uba54\uc11c\ub4dc\uc640 \ud074\ub798\uc2a4\uc5d0 \ub300\ud55c \uc124\uba85\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:\n<\/p>\n<h3>\ud074\ub798\uc2a4 \ubc0f \ubcc0\uc218\ub97c \uc124\uba85<\/h3>\n<ul>\n<li><code>SegmentTree<\/code>: \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\ub97c \ub098\ud0c0\ub0b4\ub294 \ud074\ub798\uc2a4\uc785\ub2c8\ub2e4. \ubc30\uc5f4\uc744 \ubc1b\uc544 \ud2b8\ub9ac\ub97c \uad6c\ucd95\ud558\uace0, \uad6c\uac04 \ud569 \ucffc\ub9ac\uc640 \uc5c5\ub370\uc774\ud2b8\ub97c \ucc98\ub9ac\ud569\ub2c8\ub2e4.<\/li>\n<li><code>tree<\/code>: \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\uc758 \ubc30\uc5f4\uc785\ub2c8\ub2e4. \ubc30\uc5f4\uc758 \ucd5c\ub300 \ud06c\uae30\ub294 <code>N * 4<\/code>\uc785\ub2c8\ub2e4.<\/li>\n<li><code>Build<\/code>: \uc8fc\uc5b4\uc9c4 \ubc30\uc5f4\ub85c\ubd80\ud130 \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\ub97c \uad6c\ucd95\ud558\ub294 \uba54\uc11c\ub4dc\uc785\ub2c8\ub2e4.<\/li>\n<li><code>Query<\/code>: \uc8fc\uc5b4\uc9c4 \uad6c\uac04\uc5d0 \ub300\ud55c \ud569\uc744 \ubc18\ud658\ud558\ub294 \uba54\uc11c\ub4dc\uc785\ub2c8\ub2e4.<\/li>\n<li><code>Update<\/code>: \uc8fc\uc5b4\uc9c4 \uc778\ub371\uc2a4\uc758 \uac12\uc744 \uc5c5\ub370\uc774\ud2b8\ud558\uace0, \uc774\uc5d0 \ub530\ub978 \ubcc0\uacbd\uc0ac\ud56d\uc744 \ud2b8\ub9ac\uc5d0 \ubc18\uc601\ud558\ub294 \uba54\uc11c\ub4dc\uc785\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h3>\uba54\uc778 \ud568\uc218 \uc124\uba85<\/h3>\n<p>\n    \uba54\uc778 \ud568\uc218\uc5d0\uc11c\ub294 \ubc30\uc5f4\uc758 \ud06c\uae30\uc640 \ucffc\ub9ac\uc758 \uc218\ub97c \uc785\ub825\ubc1b\uace0, \uc8fc\uc5b4\uc9c4 \ubc30\uc5f4\ub85c \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\ub97c \uad6c\ucd95\ud55c \ub2e4\uc74c, \ucffc\ub9ac\uc5d0 \ub530\ub77c<br \/>\n    \uad6c\uac04 \ud569\uc744 \uacc4\uc0b0\ud558\uac70\ub098 \uc5c5\ub370\uc774\ud2b8\ub97c \uc218\ud589\ud569\ub2c8\ub2e4.\n<\/p>\n<h2>\uacb0\ub860<\/h2>\n<p>\n    \uc774\ubc88 \uae00\uc5d0\uc11c\ub294 C#\uc744 \uc774\uc6a9\ud55c \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\uc758 \uad6c\ud604\uacfc \uad6c\uac04 \ud569 \ucffc\ub9ac \ubc0f \uc5c5\ub370\uc774\ud2b8 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uc558\uc2b5\ub2c8\ub2e4.<br \/>\n    \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\ub294 \uad6c\uac04 \ucffc\ub9ac\ub97c \ud6a8\uc728\uc801\uc73c\ub85c \ucc98\ub9ac\ud560 \uc218 \uc788\ub294 \uac15\ub825\ud55c \ub3c4\uad6c\uc774\uba70, \uc5ec\ub7ec \ubb38\uc81c\uc5d0 \uc801\uc6a9 \uac00\ub2a5\ud569\ub2c8\ub2e4.<br \/>\n    \ubcf5\uc7a1\ud55c \ucffc\ub9ac\ub098 \uc5c5\ub370\uc774\ud2b8\uac00 \uc694\uad6c\ub418\ub294 \ubb38\uc81c\uc5d0 \uc9c1\uba74\ud588\uc744 \ub54c, \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\ub97c \uace0\ub824\ud574\ubcf4\ub294 \uac83\uc774 \uc88b\uc2b5\ub2c8\ub2e4.<br \/>\n    \ub2e4\uc591\ud55c \uc5f0\uc2b5 \ubb38\uc81c\ub97c \ud480\uc5b4\ubcf4\uba70 \uc774 \uc790\ub8cc\uad6c\uc870\uc758 \uc774\ud574\ub97c \uae4a\uc774 \uc788\uac8c \ub2e4\uc9c0\uae38 \ubc14\ub78d\ub2c8\ub2e4.\n<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc54c\uace0\ub9ac\uc998 \ub300\ud68c\ub098 \ucf54\ub529 \uc778\ud130\ubdf0\uc5d0\uc11c \ud6a8\uc728\uc801\uc73c\ub85c \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud55c \uae30\uc220 \uc911 \ud558\ub098\uac00 \ubc14\ub85c \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac(Segment Tree)\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\uc758 \uae30\ubcf8 \uac1c\ub150\uacfc \ud568\uaed8 \uc2e4\uc81c \ubb38\uc81c\ub97c \ud1b5\ud574 \uadf8 \uc368\ubcf4\ub294 \ubc29\ubc95\uc744 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\ub294 \uc8fc\ub85c \uad6c\uac04 \ucffc\ub9ac \ubb38\uc81c\uc5d0\uc11c \ub9e4\uc6b0 \uc720\uc6a9\ud558\uac8c \uc0ac\uc6a9\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ud2b9\ud788, \uad6c\uac04 \ud569, \uad6c\uac04 \ucd5c\uc18c\/\ucd5c\ub300\uac12, \uad6c\uac04 \uc5c5\ub370\uc774\ud2b8 \ub4f1\uc758 \uc791\uc5c5\uc744 \ud6a8\uc728\uc801\uc73c\ub85c \ucc98\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\ub780? &hellip; <a href=\"https:\/\/atmokpo.com\/w\/27472\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac&#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-27472","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, \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac - \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\/27472\/\" \/>\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, \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc54c\uace0\ub9ac\uc998 \ub300\ud68c\ub098 \ucf54\ub529 \uc778\ud130\ubdf0\uc5d0\uc11c \ud6a8\uc728\uc801\uc73c\ub85c \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud55c \uae30\uc220 \uc911 \ud558\ub098\uac00 \ubc14\ub85c \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac(Segment Tree)\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\uc758 \uae30\ubcf8 \uac1c\ub150\uacfc \ud568\uaed8 \uc2e4\uc81c \ubb38\uc81c\ub97c \ud1b5\ud574 \uadf8 \uc368\ubcf4\ub294 \ubc29\ubc95\uc744 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\ub294 \uc8fc\ub85c \uad6c\uac04 \ucffc\ub9ac \ubb38\uc81c\uc5d0\uc11c \ub9e4\uc6b0 \uc720\uc6a9\ud558\uac8c \uc0ac\uc6a9\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ud2b9\ud788, \uad6c\uac04 \ud569, \uad6c\uac04 \ucd5c\uc18c\/\ucd5c\ub300\uac12, \uad6c\uac04 \uc5c5\ub370\uc774\ud2b8 \ub4f1\uc758 \uc791\uc5c5\uc744 \ud6a8\uc728\uc801\uc73c\ub85c \ucc98\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\ub780? &hellip; \ub354 \ubcf4\uae30 &quot;C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/27472\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T14:11:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:17:59+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=\"2\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/27472\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27472\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\",\"datePublished\":\"2024-10-27T14:11:56+00:00\",\"dateModified\":\"2024-11-26T07:17:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27472\/\"},\"wordCount\":28,\"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\/27472\/\",\"url\":\"https:\/\/atmokpo.com\/w\/27472\/\",\"name\":\"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T14:11:56+00:00\",\"dateModified\":\"2024-11-26T07:17:59+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27472\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/27472\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/27472\/#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, \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\"}]},{\"@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, \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac - \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\/27472\/","og_locale":"ko_KR","og_type":"article","og_title":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc54c\uace0\ub9ac\uc998 \ub300\ud68c\ub098 \ucf54\ub529 \uc778\ud130\ubdf0\uc5d0\uc11c \ud6a8\uc728\uc801\uc73c\ub85c \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud55c \uae30\uc220 \uc911 \ud558\ub098\uac00 \ubc14\ub85c \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac(Segment Tree)\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\uc758 \uae30\ubcf8 \uac1c\ub150\uacfc \ud568\uaed8 \uc2e4\uc81c \ubb38\uc81c\ub97c \ud1b5\ud574 \uadf8 \uc368\ubcf4\ub294 \ubc29\ubc95\uc744 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\ub294 \uc8fc\ub85c \uad6c\uac04 \ucffc\ub9ac \ubb38\uc81c\uc5d0\uc11c \ub9e4\uc6b0 \uc720\uc6a9\ud558\uac8c \uc0ac\uc6a9\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ud2b9\ud788, \uad6c\uac04 \ud569, \uad6c\uac04 \ucd5c\uc18c\/\ucd5c\ub300\uac12, \uad6c\uac04 \uc5c5\ub370\uc774\ud2b8 \ub4f1\uc758 \uc791\uc5c5\uc744 \ud6a8\uc728\uc801\uc73c\ub85c \ucc98\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\ub780? &hellip; \ub354 \ubcf4\uae30 \"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac\"","og_url":"https:\/\/atmokpo.com\/w\/27472\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T14:11:56+00:00","article_modified_time":"2024-11-26T07:17:59+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":"2\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/27472\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/27472\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac","datePublished":"2024-10-27T14:11:56+00:00","dateModified":"2024-11-26T07:17:59+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/27472\/"},"wordCount":28,"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\/27472\/","url":"https:\/\/atmokpo.com\/w\/27472\/","name":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T14:11:56+00:00","dateModified":"2024-11-26T07:17:59+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/27472\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/27472\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/27472\/#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, \uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac"}]},{"@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":[{"id":26730,"url":"https:\/\/atmokpo.com\/w\/26730\/","url_meta":{"origin":27472,"position":0},"title":"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569 \uad6c\ud558\uae30 2","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc800\uc790: \uc870\uad11\ud615 \uc791\uc131\uc77c: 2024\ub144 11\uc6d4 26\uc77c 1. \ubb38\uc81c \uc124\uba85 \uc774\ubc88 \uc2dc\uac04\uc5d0\ub294 \uad6c\uac04 \ud569 \ubb38\uc81c\ub97c \ub2e4\ub904 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc54c\uace0\ub9ac\uc998 \ubc0f \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \uc811\ud560 \uc218 \uc788\ub294 \ubb38\uc81c \uc911 \ud558\ub098\ub85c, \uc8fc\uc5b4\uc9c4 \ubc30\uc5f4\uc758 \ud2b9\uc815 \uad6c\uac04\uc758 \ud569\uc744 \ud6a8\uc728\uc801\uc73c\ub85c \uacc4\uc0b0\ud558\ub294 \ubc29\ubc95\uc744 \ubc30\uc6cc\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ubb38\uc81c\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4. \uc815\uc218\ub85c \uc774\ub8e8\uc5b4\uc9c4 \ubc30\uc5f4 A\uc640 \ub2e4\uc591\ud55c \ucffc\ub9ac\ub4e4\uc774 \uc8fc\uc5b4\uc9c8 \ub54c, \uac01 \ucffc\ub9ac\uc5d0\uc11c \uc81c\uc2dc\ud55c\u2026","rel":"","context":"&quot;\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/%ec%9e%90%eb%b0%94-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":27308,"url":"https:\/\/atmokpo.com\/w\/27308\/","url_meta":{"origin":27472,"position":1},"title":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \uad6c\ud558\uae30 2","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: \uc870\uad11\ud615 \uc791\uc131\uc77c: 2024\ub144 11\uc6d4 26\uc77c \uc18c\uac1c \ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 C# \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec '\ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1(LCA; Lowest Common Ancestor)' \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \ub2e4\ub8f0 \uac83\uc785\ub2c8\ub2e4. \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1\uc740 \uc774\uc9c4 \ud2b8\ub9ac\uc5d0\uc11c \ub450 \ub178\ub4dc\uc758 \uacf5\ud1b5 \uc870\uc0c1 \uc911 \uac00\uc7a5 \uae4a\uc740 \ub178\ub4dc\ub97c \uc758\ubbf8\ud569\ub2c8\ub2e4. \ud2b9\uc815 \uc54c\uace0\ub9ac\uc998 \ubc0f \uc790\ub8cc \uad6c\uc870\ub97c \ud65c\uc6a9\ud558\uc5ec \uc774 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \uacfc\uc815\uc744 \uc790\uc138\ud788\u2026","rel":"","context":"&quot;C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/c-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":27470,"url":"https:\/\/atmokpo.com\/w\/27470\/","url_meta":{"origin":27472,"position":2},"title":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud2b8\ub9ac \uc21c\ud68c\ud558\uae30","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\ud604\ub300 \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uac1c\ubc1c\uc5d0\uc11c \uc54c\uace0\ub9ac\uc998\uacfc \uc790\ub8cc\uad6c\uc870\ub294 \ud575\uc2ec\uc801\uc778 \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. \ud2b9\ud788, \ud2b8\ub9ac\ub294 \ub9ce\uc740 \ubb38\uc81c\uc5d0\uc11c \uc911\uc694\ud55c \uc790\ub8cc\uad6c\uc870\ub85c \ud65c\uc6a9\ub429\ub2c8\ub2e4. \ubcf8 \ud3ec\uc2a4\ud2b8\uc5d0\uc11c\ub294 \ud2b8\ub9ac\uc758 \uae30\ubcf8 \uac1c\ub150\uacfc \ud568\uaed8 \ud2b8\ub9ac \uc21c\ud68c\ub97c \ud65c\uc6a9\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. C#\uc744 \uc0ac\uc6a9\ud558\uc5ec \ud2b8\ub9ac \uc21c\ud68c \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc124\uba85\ud560 \uac83\uc774\uba70, \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud55c \ub2e8\uacc4\ubcc4 \uacfc\uc815\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. 1. \ud2b8\ub9ac\uc758 \uae30\ucd08 \ud2b8\ub9ac\ub294 \ube44\uc120\ud615 \ub370\uc774\ud130\u2026","rel":"","context":"&quot;C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/c-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":27480,"url":"https:\/\/atmokpo.com\/w\/27480\/","url_meta":{"origin":27472,"position":3},"title":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \uad6c\ud558\uae30 1","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\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\u2026","rel":"","context":"&quot;C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/c-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":27238,"url":"https:\/\/atmokpo.com\/w\/27238\/","url_meta":{"origin":27472,"position":4},"title":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud589\ub82c \uacf1 \uc5f0\uc0b0 \ud69f\uc218\uc758 \ucd5c\uc19f\uac12 \uad6c\ud558\uae30","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: \uc870\uad11\ud615 \uc791\uc131\uc77c: 2024\ub144 11\uc6d4 26\uc77c \ubb38\uc81c \uc124\uba85 \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \ud589\ub82c\uc758 \uacf1\uc148\uc740 \ube48\ubc88\ud558\uac8c \ub4f1\uc7a5\ud558\ub294 \ubb38\uc81c \uc911 \ud558\ub098\uc785\ub2c8\ub2e4. \ud2b9\ud788, \uc8fc\uc5b4\uc9c4 \ud589\ub82c\ub4e4\uc744 \ud6a8\uc728\uc801\uc73c\ub85c \uacf1\ud558\ub294 \ubc29\ubc95\uc744 \ubb3b\ub294 \ubb38\uc81c\ub294 \ucd5c\uc801\uc758 \uc54c\uace0\ub9ac\uc998 \uc124\uacc4\ub97c \ud1b5\ud574 \uc5f0\uc0b0 \ud69f\uc218\ub97c \ucd5c\uc18c\ud654\ud560 \uc218 \uc788\ub294 \uadc0\uc911\ud55c \uae30\uc220\uc744 \ud544\uc694\ub85c \ud569\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \uc8fc\uc5b4\uc9c4 \ud589\ub82c\uc758 \uacf1 \uc5f0\uc0b0\uc758 \ucd5c\uc19f\uac12\uc744 \uad6c\ud558\ub294 \ubb38\uc81c\ub97c \ub2e4\ub8e8\uaca0\uc2b5\ub2c8\ub2e4. \ubb38\uc81c\ub294 \ub2e4\uc74c\uacfc\u2026","rel":"","context":"&quot;\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/%ed%8c%8c%ec%9d%b4%ec%8d%ac-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":28188,"url":"https:\/\/atmokpo.com\/w\/28188\/","url_meta":{"origin":27472,"position":5},"title":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc0ac\uc804 \ucc3e\uae30","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: \uc870\uad11\ud615 \uc791\uc131\uc77c: 2024\ub144 11\uc6d4 26\uc77c 1. \ubb38\uc81c \uc815\uc758 \ucd5c\uadfc IT \uae30\uc5c5\uc5d0\uc11c \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc758 \uc911\uc694\uc131\uc774 \ubd80\uac01\ub418\uba74\uc11c \ub2e4\uc591\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ud478\ub294 \ub2a5\ub825\uc774 \uc694\uad6c\ub418\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \"\uc0ac\uc804 \ucc3e\uae30\"\ub77c\ub294 \ubb38\uc81c\ub97c \ud1b5\ud574 \uc2a4\uc704\ud504\ud2b8 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\ub97c \ud65c\uc6a9\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c \ud480\uc774\ub97c \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 \uc8fc\uc5b4\uc9c4 \ub2e8\uc5b4 \ubaa9\ub85d\uc5d0\uc11c \ud2b9\uc815 \ub2e8\uc5b4\uac00 \uc5b4\ub514\uc5d0 \uc704\uce58\ud558\ub294\uc9c0\ub97c \ucc3e\ub294 \ubb38\uc81c\ub85c, \uae30\ubcf8\uc801\uc778\u2026","rel":"","context":"&quot;\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/%ec%8a%a4%ec%9c%84%ed%94%84%ed%8a%b8-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27472","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=27472"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27472\/revisions"}],"predecessor-version":[{"id":27473,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27472\/revisions\/27473"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=27472"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=27472"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=27472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}