mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 15:31:43 +08:00
存量题库数据更新
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<p>Return <em>the simplified <strong>canonical path</strong></em>.</p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> path = "/home/"
|
||||
@@ -22,7 +22,7 @@
|
||||
<strong>Explanation:</strong> Note that there is no trailing slash after the last directory name.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> path = "/../"
|
||||
@@ -30,7 +30,7 @@
|
||||
<strong>Explanation:</strong> Going one level up from the root directory is a no-op, as the root level is the highest level you can go.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 3:</strong></p>
|
||||
<p><strong class="example">Example 3:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> path = "/home//foo/"
|
||||
|
Reference in New Issue
Block a user