mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-10 12:15:58 +08:00
Merge pull request #2685 from SecondaryRainbow/master
更新0977.有序数组的平方文件的排版相关格式
This commit is contained in:
@ -207,6 +207,7 @@ class Solution:
|
|||||||
new_list.append(nums[left] ** 2)
|
new_list.append(nums[left] ** 2)
|
||||||
left += 1
|
left += 1
|
||||||
return new_list[::-1]
|
return new_list[::-1]
|
||||||
|
```
|
||||||
|
|
||||||
### Go:
|
### Go:
|
||||||
|
|
||||||
@ -539,7 +540,7 @@ public class Solution {
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
```
|
||||||
C# LINQ:
|
C# LINQ:
|
||||||
```csharp
|
```csharp
|
||||||
public class Solution {
|
public class Solution {
|
||||||
@ -553,3 +554,4 @@ public class Solution {
|
|||||||
<a href="https://programmercarl.com/other/kstar.html" target="_blank">
|
<a href="https://programmercarl.com/other/kstar.html" target="_blank">
|
||||||
<img src="../pics/网站星球宣传海报.jpg" width="1000"/>
|
<img src="../pics/网站星球宣传海报.jpg" width="1000"/>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user