Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@modyqyw/dsa

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@modyqyw/dsa

Data structures and algorithms with TypeScript.

npmnpm
Version
0.0.1
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

数据结构与算法

用 TypeScript 呈现的数据结构与算法。更新中。

支持 cjs,esm 和 iife,安装依赖或使用 CDN 引入后可以体验。

npm i @modyqyw/dsa

数据结构部分

数组 Array 和字符串 String 内置,映射 Map、集合 Set 已包含在 ES6+ 标准中。

  • 线性结构
    • 栈/堆栈
    • 优先队列
    • 双向链表/双链表
  • 非线性结构
    • 无序树/自由树
    • 有序树
    • 二叉树
    • 满二叉树
    • 完全二叉树
    • 二叉搜索树/二叉查找树/二叉排序树
    • 哈夫曼树/最优二叉树
    • 平衡树/平衡二叉树
    • B 树/多路平衡搜索树
    • B+ 树
    • AVL 树/二叉平衡搜索树
    • 红黑树
    • 二叉最大堆
    • 二叉最小堆
    • 无向图
    • 有向图
    • 哈希表/散列表

算法部分

  • 评估 - 时间复杂度,空间复杂度,正确性,可读性,健壮性
  • 思想 - 递推法,递归法,穷举法,贪心算法,分治法,动态规划,迭代法,分支界限法,回溯法
  • 分类 - 基本算法,数据结构算法,数论与代数算法,几何算法,图论算法,动态规划,数值分析,加密算法,排序算法,检索算法,随机化算法,并行算法,启发式算法

FAQs

Package last updated on 24 Feb 2021

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