Add missing Dart codes and fix some errors (#689)

* Add missing Dart codes and fix some errors

* Update array_binary_tree.dart

---------

Co-authored-by: Yudong Jin <krahets@163.com>
This commit is contained in:
liuyuxin
2023-08-17 05:04:38 +08:00
committed by GitHub
parent 5d7e0a59b1
commit 0858ab91c0
14 changed files with 504 additions and 204 deletions
+1 -8
View File
@@ -4,19 +4,12 @@
* Author: Jefferson (JeffersonHuang77@gmail.com)
*/
/**
* Definition for a singly-linked list node
*/
/* Definition for a singly-linked list node */
class ListNode {
int val;
ListNode? next;
ListNode(this.val, [this.next]);
@override
String toString() {
return 'ListNode{val: $val, next: $next}';
}
}
/* Generate a linked list with a vector */