mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-07 15:45:40 +08:00
977题相关格式
修改了977题Go语言代码附近的格式,以及C#代码附近的格式,使其能够正常显示。(原本Go与python代码合到一起了)
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