New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

linked-list-ksinghj

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

linked-list-ksinghj

Linked list in Typescript from the Rob Edwards video lectures - to be used for other data structures like hashes.

  • 1.0.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

linked-list

This repo was created as practice from Rob Edward's video lectures Data Structures.

I made it available as an npm module to be used in further practice repos for the other data structures.

https://www.npmjs.com/package/linked-list-ksinghj

Installation

Yarn

yarn add linked-list-ksinghj

npm

npm i linked-list-ksinghj

Usage

import { LinkedList, ListNode } from 'linked-list-ksinghj'
const myNode = new ListNode('some value')
const anotherNode = new ListNode('another value')

const myList = new LinkedList()

myList.addFirst(myNode)
myList.addLast(anotherNode)
myList.contains(myNode) // true

// all the other linked list methods available on the `LinkedList` class
// the `LinkedList` class is of course extendable so yyou can customise for your needs.

FAQs

Package last updated on 15 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc