Merge pull request #1308 from wzqwtt/patch02

添加(0059.螺旋矩阵II、链表理论基础、0203.移除链表元素)Scala版本
This commit is contained in:
程序员Carl
2022-05-28 14:02:58 +08:00
committed by GitHub
3 changed files with 89 additions and 1 deletions

View File

@@ -210,6 +210,13 @@ type ListNode struct {
}
```
Scala:
```scala
class ListNode(_x: Int = 0, _next: ListNode = null) {
var next: ListNode = _next
var x: Int = _x
}
```
-----------------------