mrxacx/data-structures 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mrxacx/data-structures

Composer 安装命令:

composer create-project mrxacx/data-structures

包简介

data abstract structures

README 文档

README

Essential data structures for computer science, now in PHP.

Tests Dependency vulnerability

🚀 Summary

🧾 Lists

LinearList 🔗

Values are stored in an array of unique items. Fetch, add, and remove operations have O(n) time complexity.

SortedList 🔗

Values are stored in a sorted array of unique items. While add and remove operations have O(n) time complexity, the search operation has O(n log n) time complexity.

LinkedList 🔗

Each value is stored once using object references. Fetch, add, and remove operations have O(n) time complexity.

🏗️ Stacks

Stack 🔗

Last-in-first-out (LIFO) data structure. Items are stored in an array.

LinkedStack 🔗

Last-in-first-out (LIFO) data structure. Items are stored using object references.

🚶️️ Queues

Queue 🔗

First-in-first-out (FIFO) data structure. Items are stored in an array.

LinkedQueue 🔗

First-in-first-out (FIFO) data structure. Items are stored using object references.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-11-17