export interface ISinglyLinkedListNode {
val: number;
next: ISinglyLinkedListNode | null;
}
export const reverseSinglyLinkedList: (head: ISinglyLinkedListNode) =>
ISinglyLinkedListNode | null;
export const getSinglyLinkedListMiddleNode: (head: ISinglyLinkedListNode | null) =>
ISinglyLinkedListNode | null;
export const singlyLinkedListHasCycle: (head: ISinglyLinkedListNode | null) => boolean;
-
Notifications
You must be signed in to change notification settings - Fork 0
mzusin/mz-linked-list
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
mzLinkedList - a collection of TypeScript-based linked list helpers.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published