Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/datastructure/linkedList/singly/helper.d.ts>LinkedListApi

Implement different Data Structures using TypeScript. Deno Third-party Module.
Latest
interface LinkedListApi
import { type LinkedListApi } from "https://deno.land/x/datastructure@1.2.1/linkedList/singly/helper.d.ts";

Properties

size: number

Methods

prepend(data: DataType<any>): boolean
append(data: DataType<any>): boolean
add(data: DataType<any>, position: number): boolean
getFromHead(): object | false
getFromTail(): object | false
log(): void
remove(key: string | number): boolean
update(key: string | number, newValue: any): object | boolean
search(key: string | number): object | boolean
iterator(): Generator