Skip to content

Commit

Permalink
chore: folder strcut change
Browse files Browse the repository at this point in the history
  • Loading branch information
thutasann committed Sep 8, 2024
1 parent f6c3d97 commit b03227c
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion node-concepts/src/leetcodes/src/reverse-linked-list/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
/**
* Singly Linked List
*/
class ListNode {
val: number;
next: ListNode | null;

constructor(val?: number, next?: ListNode | null) {
this.val = val || 0;
this.next = next || null;
}
}

/** Reverse Linked List */
export abstract class ReverseLinkedList {
/** Reverse Linked List */
public static solutionOne() {}
public static solutionOne(head: ListNode | null) {}
}

0 comments on commit b03227c

Please sign in to comment.