Skip to content

Commit 39d37d2

Browse files
committed
feat: commit solution
1 parent 92ac75c commit 39d37d2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

solution/1-99/0021.merge-two-sorted-lists/solution.go

+5
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ package leetcode
1111
* Definition for singly-linked list.
1212
*/
1313

14+
type ListNode struct {
15+
Val int
16+
Next *ListNode
17+
}
18+
1419
func mergeTwoLists1(l1 *ListNode, l2 *ListNode) *ListNode {
1520
if l1 == nil {
1621
return l2

solution/1-99/0021.merge-two-sorted-lists/solution_test.go

-5
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ import (
55
"testing"
66
)
77

8-
type ListNode struct {
9-
Val int
10-
Next *ListNode
11-
}
12-
138
func TestMergeTwoLists(t *testing.T) {
149

1510
t.Run("Test-1-1", func(t *testing.T) {

0 commit comments

Comments
 (0)