Skip to content

Instantly share code, notes, and snippets.

View PeteJobi's full-sized avatar

Peter Egunjobi PeteJobi

View GitHub Profile
@PeteJobi
PeteJobi / linkedlist.ts
Last active June 3, 2020 19:45 — forked from jeff-ofobrukweta/linkedlist.ts
LinkedList Implementation with generics (typescript) Data structures
class Noding<T> {
next: Noding<T> | any
data: T
constructor(data ?: T) {
this.data = data;
this.next = null;
}
}