🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

dstructslib

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dstructslib

Data Structures Collections: BST and Linked Lists.

pipPyPI
Version
1.0.1
Maintainers
1

DS Collections

Overview

DS Collections is a Python package that provides efficient and easy-to-use implementations of fundamental data structures. It currently includes:

  • Singly Linked List: A simple linked list where each node points to the next.
  • Doubly Linked List: A more advanced linked list with both forward and backward traversal.
  • Binary Search Tree (BST): A binary tree for efficient searching, insertion, and deletion operations.

This package is designed for developers, students, and anyone learning about data structures or needing these implementations in their projects.

Features

  • Singly Linked List

    • Add, delete, and traverse nodes.
    • Efficient memory usage for linear data.
  • Doubly Linked List

    • Supports bidirectional traversal.
    • Add or delete nodes at any position.
  • Binary Search Tree

    • Allows duplicate or unique keys.
    • Includes functions for insertion, deletion, and traversal.

Installation

You can install the package locally or through PyPI (if uploaded):

pip install dstructlib


FAQs

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