sliw f9497eb344 Update Js (ES5, ES6) to make them consistent and explicit (#54)
* Update the names to make ES5 and ES6 solutions more consistent

I basically change the names to make the function more explicit and clear:

1. list to sortedList
2. mid to middle

* Revert "Update the names to make ES5 and ES6 solutions more consistent"

This reverts commit 46d7514636420eb3b3c581665eaa3c0aca9df99d.

* [selection sort] update Js (ES5, ES6) to make them more consistent and explicit
2018-02-03 11:59:16 -08:00
2017-03-15 16:05:38 -07:00
2016-05-25 15:59:16 -07:00
2016-10-30 06:23:05 -07:00

Grokking Algorithms

This is the code in my book Grokking Algorithms.

Also check out Python Tutor, a great website that helps you step through Python code line by line.

Errata

Here's the errata page.

Images

This repo also contains every image in Grokking Algorithms, in hi-res. These images are available for free for non-commercial use. If you use an image, please add "copyright Manning Publications, drawn by adit.io". You are welcome to use these images in any non-commercial teaching materials, presentations, etc.

Contributing

  • The examples in this book are in Python, but I'd like to get examples in Ruby, Javascript, C, and other languages too. Please add examples in other languages!
  • I'm pretty responsive to PRs. That is the quickest way to contribute to this repo.
Description
No description provided
Readme 108 MiB
Languages
JavaScript 11.8%
Zig 10.6%
C# 6.3%
Java 6.1%
C++ 5.9%
Other 59.3%