SkillAgentSearch skills...

Algorithms

Algorithms notes & LeetCode/Codewars solutions by Node.js, Swift and Haskell

Install / Use

/learn @ecmadao/Algorithms
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->

Table of Contents generated with DocToc

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

Algorithms

在设计算法时,面对的第一个任务是精准地定义问题。

Algorithms notes & code & leetcode solution by Node.js, Swift, Haskell and C#.

预储备

基本数据结构

  • 堆/栈
  • 链表
  • 映射
  • 散列
  • 二叉树

Topic

LeetCode

Run demo

JavaScript:

  • Version >= 7.0.0
  • 如果 Node 版本较低,则可以自行选择使用 Babel 进行转换
  • Leetcode 题解代码直接在浏览器中即可运行(ES5/ES6 语法)
  • 直接运行各个文件夹下的 js 文件即可查看算法运行的结果,例如在项目根目录下 node ./priority-queues/binary-heaps.js

Swift:

  • Version >= 4.0

Haskell:

  • Version >= 8.4.3
  • Using GHCi and load .hs files

Ruby:

  • Version >= 2.4.1
View on GitHub
GitHub Stars102
CategoryDevelopment
Updated1mo ago
Forks30

Languages

JavaScript

Security Score

85/100

Audited on Feb 19, 2026

No findings