使用JavaScript实现数据结构与算法:原理、范围及目标读者.pdfVIP

  • 0
  • 0
  • 约1.11万字
  • 约 8页
  • 2026-02-05 发布于北京
  • 举报

使用JavaScript实现数据结构与算法:原理、范围及目标读者.pdf

标题

使用JavaScript的应用数据结构和算法

理由、范围和受众

近年来,由于Node.js和SpiderMonkey等平台的出现,JavaScript越来越被用作服务器端编

程语言。随着JavaScript编程从浏览器中走出来,程序员将需要使用许多传统语言(如C++和

Java)的工具。这些工具包括链表、栈、队列和图等经典数据结构,以及用于排序和搜索数

据的经典算法。本书讨论了如何在服务器端JavaScript编程中实现这些数据结构和算法。每章至

少包含一个所讨论的数据结构或数据结构在实际中的应用,并附有进一步探索各种数据结构和算

法实际应用的练习。

JavaScript程序员会发现这本书很有用,因为它讨论了如何在JavaScript对程序员施加的约束

下实现数据结构和算法,例如实际上为对象的数组、过于全局的变量和基于原型的对象系统。

JavaScript有着“糟糕”的编程语言的声誉,但本书展示了如何利用JavaScript的“良

好部分”开发高效有效的数据结构和算法。

正如书名所示,本书是一本关于实现数据结构和算法的实用指南。因此,书中对所讨论的数据结

构和算法背后的理论提及不多,但读者会被到几本和其他参考资料,以获取关于

所涵盖的理论基础信息。此外,本书还向读者推荐了几本OReilly的JavaScript书籍,包

括Crockford和Flanagan的著作。

其他书籍

当前的JavaScript书籍市场涵盖了从古老的“如何在浏览器中使用JavaScript”文本,到更复杂的书籍,

如Crockford的关于如何地用JavaScript编程的短篇著作,当然还有Flanagan的JavaScript书籍,

及近的学习JavaScript的书籍(如《优雅的JavaScript》),和更高级的书籍如Resig的书。

以新

Title

AppliedDataStructuresandAlgorithmsUsingJavaScript

Rationale,Scope,andAudience

Overthepastfewyears,JavaScriptisbeingusedmoreandmoreasaserver-sidecomputer

programminglanguageduetotformssuchasNode.jsandSpiderMonkey.Nowthat

JavaScriptprogrammingismovingoutofthebrowser,programmerswillfindaneedtouse

manyofthetoolsthatmoreconventionallanguagessuchasC++andJavaprovide.Among

thesetoolsareclassicdatastructuressuchaslinkedlists,stacks,queues,andgraphs,aswell

asclassicalgorithmsforsortingandsearchingdata.Thisbookdiscusseshowtoimplement

thesedatastructuresandalgorithmsforserver-sideJavaScriptprogramming.Eachchapterwill

includeatleastonereal-worldapplicationofthedatastructureordatastructuresdiscussedin

thechapter,alongwithexercisesthatfurtherexplorethepracticalapplicationofthevariousdata

structuresandalgorithms.

JavaScriptprogrammerswillfindthisbookusefulbecauseitdiscusseshowtoimplementdata

structuresandalgorithmswithinthe

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档