File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { ListNode as Node } from "../reverse-linked-list/ListNode.ts";
4
4
import { ArrayToCircularLinkedList } from "./ArrayToCircularLinkedList.ts" ;
5
5
import insert from "./index.ts" ;
6
6
7
- Deno . test ( "insert-into-a-sorted-ArrayToCircularLinkedList " , ( ) => {
7
+ Deno . test ( "insert-into-a-sorted-circular-linked-list " , ( ) => {
8
8
const head = new Node ( 1 ) ;
9
9
head . next = head ;
10
10
const node = new Node ( 2 ) ;
@@ -16,7 +16,7 @@ Deno.test("insert-into-a-sorted-ArrayToCircularLinkedList", () => {
16
16
assertEquals ( result ?. next ?. next ?. val , 3 ) ;
17
17
assertEquals ( result ?. next ?. next ?. next ?. val , 1 ) ;
18
18
} ) ;
19
- Deno . test ( "insert-into-a-sorted-ArrayToCircularLinkedList " , ( ) => {
19
+ Deno . test ( "insert-into-a-sorted-circular-linked-list " , ( ) => {
20
20
const inputs : Array < [ number [ ] , number ] > = [
21
21
[ [ 1 , 2 ] , 3 ] ,
22
22
[ [ 3 , 4 , 1 ] , 2 ] ,
@@ -34,6 +34,6 @@ Deno.test("insert-into-a-sorted-ArrayToCircularLinkedList", () => {
34
34
const result = insert ( head , insertVal ) ;
35
35
// console.log(result);
36
36
return result ;
37
- } ) ,
37
+ } )
38
38
) ;
39
39
} ) ;
Original file line number Diff line number Diff line change @@ -766,7 +766,7 @@ https://leetcode.cn/problems/delete-node-in-a-linked-list/
766
766
767
767
https://leetcode.cn/problems/4ueAj6/
768
768
769
- https://leetcode.cn/problems/insert-into-a-sorted-ArrayToCircularLinkedList /
769
+ https://leetcode.cn/problems/insert-into-a-sorted-circular-linked-list /
770
770
771
771
https://leetcode.cn/problems/insert-delete-getrandom-o1/
772
772
You can’t perform that action at this time.
0 commit comments