Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 341 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 341 Bytes

Description

Contain some possibilities of implementations of linked lists

Installation

    npm i linked-list-lib

Use

import { SinglyLinkedList } from 'linked-list-lib';

interface IData<T> {
    name: T;
}

const linkedList = new SinglyLinkedList<IData<string>>();

linkedList.insertInBegin({ name: 'A'});