Skip to content

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

Notifications You must be signed in to change notification settings

ecmadao/algorithms

Repository files navigation

Table of Contents generated with DocToc

Algorithms

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

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

预储备

基本数据结构

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

Topic

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published