
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
The listslinked Python Module provides implementations for various types of linked lists in Python. Linked lists are fundamental data structures commonly used in computer science and programming.
This module includes implementations for the following types of linked lists:
Each type of linked list offers different capabilities and can be used for various applications.
You can install the module using pip:
pip install listslinked
To use the linked lists in your Python code, import the desired type of linked list from the module. For example, to use the Singly Linked List:
from listslinked import SinglyLinkedList
# Create a new singly linked list
linked_list = SinglyLinkedList()
# Insert elements
linked_list.insert_at_beginning(5)
linked_list.insert_at_end(10)
# Print the linked list
current = linked_list.get_head()
while current:
print(current.data)
current = current.next
Similarly, you can use the other types of linked lists provided by the module.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on GitHub.
This project is licensed under the MIT License - LICENSE file for details.
FAQs
A simple package for linked lists
We found that listslinked demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.