1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-14 03:41:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

add leetcode problem-cn part6

This commit is contained in:
2022-03-27 20:56:26 +08:00
parent c11d601602
commit 08d1f2a596
1096 changed files with 88216 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
<p>给定一个文件 <code>file.txt</code>,转置它的内容。</p>
<p>你可以假设每行列数相同,并且每个字段由 <code>' '</code> 分隔。</p>
<p> </p>
<p><strong>示例:</strong></p>
<p>假设 <code>file.txt</code> 文件内容如下:</p>
<pre>
name age
alice 21
ryan 30
</pre>
<p>应当输出:</p>
<pre>
name alice ryan
age 21 30
</pre>