{"id":27050,"date":"2024-10-27T13:43:15","date_gmt":"2024-10-27T13:43:15","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=27050"},"modified":"2024-11-26T07:23:36","modified_gmt":"2024-11-26T07:23:36","slug":"%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-%eb%af%b8%eb%a1%9c-%ed%83%90%ec%83%89%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/27050\/","title":{"rendered":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubbf8\ub85c \ud0d0\uc0c9\ud558\uae30"},"content":{"rendered":"<p><body><\/p>\n<h2>1. \ubb38\uc81c \uc815\uc758<\/h2>\n<p>\n        Given a maze represented as a 2D grid, we need to find the shortest path from the start point (S) to the end point (E). The maze consists of open paths (represented by 0) and walls (represented by 1). This is a classic problem that can be solved using graph traversal techniques such as Breadth-First Search (BFS).\n    <\/p>\n<h2>2. \ubb38\uc81c \uc124\uba85<\/h2>\n<p>\n        \uc608\ub97c \ub4e4\uc5b4, \uc544\ub798\uc640 \uac19\uc740 \ubbf8\ub85c\uac00 \uc788\ub2e4\uace0 \uac00\uc815\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4:\n    <\/p>\n<pre class=\"code\">\n    [\n        [0, 0, 1, 0, 0],\n        [0, 0, 1, 0, 1],\n        [1, 0, 0, 0, 0],\n        [0, 1, 1, 1, 0],\n        [0, 0, 0, 1, 0],\n    ]\n    <\/pre>\n<p>\n        \uc5ec\uae30\uc11c S\ub294 \uc2dc\uc791\uc810(0,0)\uc774\uace0, E\ub294 \ub3c4\ucc29\uc810(4,4)\uc785\ub2c8\ub2e4. 0\uc740 \uc774\ub3d9 \uac00\ub2a5\ud55c \uacbd\ub85c\ub97c, 1\uc740 \ubcbd\uc744 \ub098\ud0c0\ub0c5\ub2c8\ub2e4. \uc774 \ubbf8\ub85c\uc5d0\uc11c S\uc5d0\uc11c E\ub85c \uac00\ub294 \uac00\uc7a5 \uc9e7\uc740 \uacbd\ub85c\ub97c \ucc3e\uc544\uc57c \ud569\ub2c8\ub2e4.\n    <\/p>\n<h2>3. \uc54c\uace0\ub9ac\uc998 \uc120\uc815<\/h2>\n<p>\n        \ubbf8\ub85c \ud0d0\uc0c9 \ubb38\uc81c\ub294 \uc5ec\ub7ec \uc54c\uace0\ub9ac\uc998\uc73c\ub85c \ud574\uacb0\ud560 \uc218 \uc788\uc9c0\ub9cc, \uac00\uc7a5 \uc801\ud569\ud55c \uc54c\uace0\ub9ac\uc998\uc740 BFS\uc785\ub2c8\ub2e4. BFS\ub294 \uc77c\ub2e8\uc758 \ub178\ub4dc\uc5d0\uc11c \uc2dc\uc791\ud558\uc5ec \uc778\uc811\ud55c \ub178\ub4dc\ub97c \ud0d0\uc0c9\ud558\uba74\uc11c \ucd5c\ub2e8 \uacbd\ub85c\ub97c \ubcf4\uc7a5\ud569\ub2c8\ub2e4. \uc774\ub294 \ubbf8\ub85c\uc758 \uc9c0\ud615\uc774 \uaca9\uc790\ud615\uc73c\ub85c \ub418\uc5b4 \uc788\ub294 \uacbd\uc6b0 \uc774\uc0c1\uc801\uc778 \uc120\ud0dd\uc785\ub2c8\ub2e4.\n    <\/p>\n<h2>4. \ubb38\uc81c \ud574\uacb0 \uacfc\uc815<\/h2>\n<h3>4.1 BFS \uc54c\uace0\ub9ac\uc998 \uc124\uba85<\/h3>\n<p>\n        BFS\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \ub2e8\uacc4\ub85c \uc9c4\ud589\ub429\ub2c8\ub2e4:\n    <\/p>\n<ol>\n<li>\uc2dc\uc791 \ub178\ub4dc\ub97c \ud050\uc5d0 \ucd94\uac00\ud558\uace0 \ubc29\ubb38 \ud45c\uc2dc\ub97c \ud569\ub2c8\ub2e4.<\/li>\n<li>\ud050\uc5d0\uc11c \ub178\ub4dc\ub97c \ud558\ub098\uc529 \uaebc\ub0b4\uc5b4 \uc778\uc811\ud55c \ub178\ub4dc\ub4e4\uc744 \ud0d0\uc0c9\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc778\uc811\ud55c \ub178\ub4dc\uac00 \ubaa9\uc801\uc9c0 \uc774\uac70\ub098 \ubc29\ubb38\ud558\uc9c0 \uc54a\uc740 \ub178\ub4dc\uc778 \uacbd\uc6b0, \ud050\uc5d0 \ucd94\uac00\ud558\uace0 \ubc29\ubb38 \ud45c\uc2dc\ub97c \ud569\ub2c8\ub2e4.<\/li>\n<li>\ubaa9\uc801\uc9c0\uc5d0 \ub3c4\ucc29\ud558\uba74 \ud0d0\uc0c9\uc744 \uc885\ub8cc\ud558\uace0 \uacbd\ub85c\ub97c \ubc18\ud658\ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h3>4.2 \ucf54\ub4dc \uad6c\ud604<\/h3>\n<p>\n        \uc544\ub798\ub294 BFS \uc54c\uace0\ub9ac\uc998\uc744 \uc774\uc6a9\ud55c \ubbf8\ub85c \ud0d0\uc0c9 \ucf54\ub4dc\uc785\ub2c8\ub2e4:\n    <\/p>\n<pre class=\"code\">\ndef min_steps_in_maze(maze):\n    from collections import deque\n    \n    # Directions for moving in the maze\n    directions = [(0, 1), (1, 0), (0, -1), (-1, 0)]\n    \n    rows, cols = len(maze), len(maze[0])\n    start = (0, 0)  # Start point\n    end = (rows - 1, cols - 1)  # End point\n    \n    # Initialize the queue for BFS\n    queue = deque([(start, 0)])  # (position, current steps)\n    visited = set()  # To keep track of visited cells\n    visited.add(start)\n    \n    while queue:\n        current_position, steps = queue.popleft()\n        \n        # Check if we reached the end\n        if current_position == end:\n            return steps\n        \n        for direction in directions:\n            new_row = current_position[0] + direction[0]\n            new_col = current_position[1] + direction[1]\n            new_position = (new_row, new_col)\n            \n            # Check if the new position is valid and not visited\n            if 0 &lt;= new_row &lt; rows and 0 &lt;= new_col &lt; cols and \\\n               maze[new_row][new_col] == 0 and new_position not in visited:\n                \n                visited.add(new_position)\n                queue.append((new_position, steps + 1))\n    \n    return -1  # Return -1 if there is no path\n    <\/pre>\n<h3>4.3 \ucf54\ub4dc \uc124\uba85<\/h3>\n<p>\n        \uc704\uc758 \ucf54\ub4dc\uc5d0\uc11c:<\/p>\n<ul>\n<li><strong>deque<\/strong>\uc744 \uc0ac\uc6a9\ud558\uc5ec BFS \ud050\ub97c \uad6c\ud604\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li>\uc0c1\ud558\uc88c\uc6b0\ub85c \uc774\ub3d9\ud560 \uc218 \uc788\ub294 \ubc29\ud5a5\uc744 \uc815\uc758\ud558\uace0 \uac01 \ub178\ub4dc\uc758 \uc704\uce58\uc640 \ud604\uc7ac \ub2e8\uacc4\ub97c \ud050\uc5d0 \ucd94\uac00\ud569\ub2c8\ub2e4.<\/li>\n<li>\ubc29\ubb38\ud55c \ub178\ub4dc\ub294 \uc9d1\ud569 <strong>visited<\/strong>\uc5d0 \ucd94\uac00\ud558\uc5ec \uc911\ubcf5 \ubc29\ubb38\uc744 \ubc29\uc9c0\ud569\ub2c8\ub2e4.<\/li>\n<li>\ubaa9\uc801\uc9c0\uc5d0 \ub3c4\ucc29\ud558\uba74 \ud604\uc7ac \ub2e8\uacc4\ub97c \ubc18\ud658\ud558\uace0, \ub3c4\ucc29\ud560 \uc218 \uc5c6\ub294 \uacbd\uc6b0 -1\uc744 \ubc18\ud658\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>5. \uc131\ub2a5 \ubd84\uc11d<\/h2>\n<p>\n        BFS \uc54c\uace0\ub9ac\uc998\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub294 O(V + E)\uc785\ub2c8\ub2e4. \uc5ec\uae30\uc11c V\ub294 \ub178\ub4dc\uc758 \uac1c\uc218, E\ub294 \uac04\uc120\uc758 \uac1c\uc218\uc785\ub2c8\ub2e4. \uaca9\uc790\ud615 \ubbf8\ub85c\uc758 \uacbd\uc6b0, V\ub294 n*m(\ud589 x \uc5f4)\ub85c \uacc4\uc0b0\ub418\uace0 E\ub294 \uc774\uc6c3 \ub178\ub4dc\uc758 \uc218\uc5d0 \ube44\ub840\ud558\ubbc0\ub85c BFS\ub294 \ub9e4\uc6b0 \ud6a8\uc728\uc801\uc778 \ud0d0\uc0c9 \ubc29\ubc95\uc774\ub77c\uace0 \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<h2>6. \ub2e4\uc591\ud55c \ud14c\uc2a4\ud2b8 \ucf00\uc774\uc2a4<\/h2>\n<p>\n        \ubb38\uc81c\ub97c \uac80\uc99d\ud558\uae30 \uc704\ud574 \ub2e4\uc591\ud55c \ud14c\uc2a4\ud2b8 \ucf00\uc774\uc2a4\ub97c \uace0\ub824\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:\n    <\/p>\n<ul>\n<li>\ubaa8\ub4e0 \uacbd\ub85c\uac00 \uc5f4\ub824\uc788\ub294 \uacbd\uc6b0(\ub2e8\uc21c\ud55c \ubbf8\ub85c)<\/li>\n<li>\ubcbd\uc73c\ub85c \uac00\ub4dd \ucc2c \ubbf8\ub85c<\/li>\n<li>\uc2dc\uc791\uc810\uacfc \ub3c4\ucc29\uc810\uc774 \uc778\uc811\ud574 \uc788\ub294 \uacbd\uc6b0<\/li>\n<li>\ubcf5\uc7a1\ud55c \ubbf8\ub85c \uad6c\uc870<\/li>\n<\/ul>\n<h3>6.1 \ud14c\uc2a4\ud2b8 \ucf00\uc774\uc2a4 \uc608<\/h3>\n<pre class=\"code\">\nprint(min_steps_in_maze([\n    [0, 0, 1, 0, 0],\n    [0, 0, 1, 0, 1],\n    [1, 0, 0, 0, 0],\n    [0, 1, 1, 1, 0],\n    [0, 0, 0, 1, 0],\n]))  # Output: 8\n    <\/pre>\n<h2>7. \uacb0\ub860<\/h2>\n<p>\n        \ubbf8\ub85c \ud0d0\uc0c9 \ubb38\uc81c\ub294 BFS \uc54c\uace0\ub9ac\uc998\uc744 \ud1b5\ud574 \ud6a8\uacfc\uc801\uc73c\ub85c \ud574\uacb0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ucf54\ub4dc \uad6c\ud604\uacfc \ud568\uaed8 \ub2e4\uc591\ud55c \ud14c\uc2a4\ud2b8 \ucf00\uc774\uc2a4\ub97c \ud1b5\ud574 \uc54c\uace0\ub9ac\uc998\uc758 \uc720\ud6a8\uc131\uc744 \uac80\uc99d\ud558\uc600\uc2b5\ub2c8\ub2e4. \uc54c\uace0\ub9ac\uc998\uc758 \uc774\ud574\ubfd0\ub9cc \uc544\ub2c8\ub77c, \uc2e4\uc81c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\uc5d0 \uc801\uc6a9\ud560 \uc218 \uc788\ub294 \ub2a5\ub825\uc744 \ud0a4\uc6b0\ub294 \uac83\uc774 \uc911\uc694\ud569\ub2c8\ub2e4.\n    <\/p>\n<h2>8. \ucd94\uac00 \uc9c8\ubb38<\/h2>\n<p>\n        \uc5ec\uae30\uc5d0 \ucd94\uac00\ud560 \uc9c8\ubb38\uc774\ub098 \ub0b4\uc6a9\uc774 \uc788\uc744 \uacbd\uc6b0 \uc544\ub798\uc758 \ub313\uae00\uc744 \ud1b5\ud574 \ub0a8\uaca8\uc8fc\uc138\uc694.\n    <\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \ubb38\uc81c \uc815\uc758 Given a maze represented as a 2D grid, we need to find the shortest path from the start point (S) to the end point (E). The maze consists of open paths (represented by 0) and walls (represented by 1). This is a classic problem that can be solved using graph traversal techniques &hellip; <a href=\"https:\/\/atmokpo.com\/w\/27050\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubbf8\ub85c \ud0d0\uc0c9\ud558\uae30&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[23],"tags":[],"class_list":["post-27050","post","type-post","status-publish","format-standard","hentry","category-23"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubbf8\ub85c \ud0d0\uc0c9\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/27050\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubbf8\ub85c \ud0d0\uc0c9\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"1. \ubb38\uc81c \uc815\uc758 Given a maze represented as a 2D grid, we need to find the shortest path from the start point (S) to the end point (E). The maze consists of open paths (represented by 0) and walls (represented by 1). This is a classic problem that can be solved using graph traversal techniques &hellip; \ub354 \ubcf4\uae30 &quot;\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubbf8\ub85c \ud0d0\uc0c9\ud558\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/27050\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T13:43:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:23:36+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\/27050\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27050\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubbf8\ub85c \ud0d0\uc0c9\ud558\uae30\",\"datePublished\":\"2024-10-27T13:43:15+00:00\",\"dateModified\":\"2024-11-26T07:23:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27050\/\"},\"wordCount\":81,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/27050\/\",\"url\":\"https:\/\/atmokpo.com\/w\/27050\/\",\"name\":\"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubbf8\ub85c \ud0d0\uc0c9\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T13:43:15+00:00\",\"dateModified\":\"2024-11-26T07:23:36+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27050\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/27050\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/27050\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubbf8\ub85c \ud0d0\uc0c9\ud558\uae30\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubbf8\ub85c \ud0d0\uc0c9\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/27050\/","og_locale":"ko_KR","og_type":"article","og_title":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubbf8\ub85c \ud0d0\uc0c9\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"1. \ubb38\uc81c \uc815\uc758 Given a maze represented as a 2D grid, we need to find the shortest path from the start point (S) to the end point (E). The maze consists of open paths (represented by 0) and walls (represented by 1). This is a classic problem that can be solved using graph traversal techniques &hellip; \ub354 \ubcf4\uae30 \"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubbf8\ub85c \ud0d0\uc0c9\ud558\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/27050\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T13:43:15+00:00","article_modified_time":"2024-11-26T07:23:36+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\/27050\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/27050\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubbf8\ub85c \ud0d0\uc0c9\ud558\uae30","datePublished":"2024-10-27T13:43:15+00:00","dateModified":"2024-11-26T07:23:36+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/27050\/"},"wordCount":81,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/27050\/","url":"https:\/\/atmokpo.com\/w\/27050\/","name":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubbf8\ub85c \ud0d0\uc0c9\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T13:43:15+00:00","dateModified":"2024-11-26T07:23:36+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/27050\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/27050\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/27050\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubbf8\ub85c \ud0d0\uc0c9\ud558\uae30"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27050","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=27050"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27050\/revisions"}],"predecessor-version":[{"id":27051,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27050\/revisions\/27051"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=27050"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=27050"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=27050"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}