在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:humanwhocodes/computer-science-in-javascript开源软件地址:https://github.com/humanwhocodes/computer-science-in-javascript开源编程语言:JavaScript 97.2%开源软件介绍:Computer Science in JavaScriptIf you find this useful, please consider supporting my work with a donation. DescriptionCollection of classic computer science paradigms, algorithms, and approaches written in JavaScript. This is the source code for the series of blog posts on my website. Folder StructureThe most recent packages are found in these directories:
These directories contain old implementations that will be replaced eventually, they are just here to avoid confusing people who find this repo through the old blog posts:
As I update these, implementations will move from these folders into Branches
InstallingYou must be using Node.js v8 or later. First, clone the repo:
Then install the dependencies:
You can then run tests like this:
Updated Blog Posts (2019)These are the most recent blog posts covering the most recent version of the code. Data StructuresOriginal Blog PostsAt some point I will update these blog posts for the new implementations. For now, they still refer only to the 2009 version of this code. Data Structures
Sorting AlgorithmsOther AlgorithmsNote on Code StyleYou may find the code style of this module to be overly verbose with a lot of comments. That is intentional, as the primary use of this module is intended to be for educational purposes. There are frequently more concise ways of implementing the details of this class, but the more concise ways are difficult for newcomers who are unfamiliar with linked lists as a concept or JavaScript as a whole. Issues and Pull RequestsAs this is part of series of tutorials I'm writing, only bug fixes will be accepted. No new functionality will be added to this module. LicenseMIT |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论