Skip to content

Commit 2b54c76

Browse files
committed
ts-4: eof
1 parent a03b763 commit 2b54c76

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

typescript/Fast and Slow Pointers/happy_number.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ function getNextNum(x: number): number {
2424
nextNum += digit ** 2;
2525
}
2626
return nextNum;
27-
}
27+
}

typescript/Fast and Slow Pointers/linked_list_loop.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ function linkedListLoop(head: ListNode): boolean {
2020
return true;
2121
}
2222
return false;
23-
}
23+
}

typescript/Fast and Slow Pointers/linked_list_loop_naive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ function linkedListLoopNaive(head: ListNode): boolean {
1919
curr = curr.next;
2020
}
2121
return false;
22-
}
22+
}

typescript/Fast and Slow Pointers/linked_list_midpoint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ function linkedListMidpoint(head: ListNode): ListNode | null {
1919
fast = fast.next.next!;
2020
}
2121
return slow;
22-
}
22+
}

0 commit comments

Comments
 (0)