x/datastructure/linkedList/singly/singlyNode.ts
123456789101112import { NodeType, DataType } from "./helper.d.ts";export class SinglyNode { public data: DataType<any> public next: NodeType|null constructor(data: DataType<any>) { this.data = data; this.next = null; }}