deno.land / x / masx200_leetcode_test@10.6.5 / copy-list-with-random-pointer / Node.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
// Definition for Node.export class Node { val: number; next: Node | null; random: Node | null; constructor(val?: number, next?: Node, random?: Node) { this.val = val === undefined ? 0 : val; this.next = next === undefined ? null : next; this.random = random === undefined ? null : random; }}
masx200_leetcode_test

Version Info

Tagged at
a year ago