Skip to main content

leetcode precompiled package

Project description

LeetCode Python Precompiled Library

中文文档

Installation

You can install the library using the following commands:

Using pip

pip install precompiled

Using pdm

pdm add precompiled

Usage Instructions

Once installed, you can use the following import statements in your Python code to access all data structures from LeetCode:

python

from precompiled.listnode import ListNode 
from precompiled.nestedinteger import NestedInteger 
from precompiled.treenode import TreeNode`

Common Data Structures and Methods

  • ListNode: Linked list node
    • Default implementation of theeqmethod
    • array_to_list_node: Converts an array into a linked list, returning the head node
    • arrays_to_list_node: Converts multiple arrays into multiple linked lists, returning a tuple of linked lists
  • NestedInteger: Nested integer
  • TreeNode: Tree node

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

precompiled-0.1.2.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

precompiled-0.1.2-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file precompiled-0.1.2.tar.gz.

File metadata

  • Download URL: precompiled-0.1.2.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.18.1 CPython/3.12.5 Linux/5.15.153.1-microsoft-standard-WSL2

File hashes

Hashes for precompiled-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d78d6aa3af963149a1c51f0da570c79293c01a05d23dc154e645a935390cc620
MD5 47440e73a9324a054dc6b1e388bd2359
BLAKE2b-256 d2e5cbea932b923fef7294a322a987fd3ec5d937a2cce0536420825277dd688f

See more details on using hashes here.

File details

Details for the file precompiled-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: precompiled-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.18.1 CPython/3.12.5 Linux/5.15.153.1-microsoft-standard-WSL2

File hashes

Hashes for precompiled-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4213b77604d235d717b571bad12c41993d9e0d7193eec09e3ece0b64ac450f70
MD5 d0a610f42b6ee84d5594e3de7df83505
BLAKE2b-256 e9762cc46af3cccbe364909922f701787b2ee87a1ec950dce6056c6828ddb14c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page