One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| // O(n^2) - time complexity | |
| // O(1) - space complexity | |
| // insertion sort | |
| function insertionSort(arr){ | |
| // start loop from the second element in the Array | |
| for (var i=1; i<arr.length; i++){ | |
| // store current elem | |
| var temp = arr[i]; | |
| // start comparing current elem to the previous |
| // Node.js CheatSheet. | |
| // Download the Node.js source code or a pre-built installer for your platform, and start developing today. | |
| // Download: http://nodejs.org/download/ | |
| // More: http://nodejs.org/api/all.html | |
| // 0. Synopsis. | |
| // http://nodejs.org/api/synopsis.html |