Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/siaminator/linked-list

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/siaminator/linked-list

  • v0.0.0-20201004143055-7c49a02b3780
  • Source
  • Go
  • Socket score

Version published
Created
Source

linked-list with trim

It is the same Implementation as containers/list with the addition of 2 trim functions It allows to trim the linked list both from left and right side up to/from an element of it. The implementation could be super performant O(1) if it was not needed to update the length of the resulting List. But to achieve the correct length after the trim, we need to iterate over the trimmed elements to know how many elements have been removed(taking advantage of the iteration to remove the links as well to help the GC)

FAQs

Package last updated on 04 Oct 2020

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