Cyclokitty / js_ds_algos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AlgoCasts

Companion repo to a course on Udemy.com

Part of my '#30DaysOfAlgosAndDataStructures' on Twitter

Keeping track of my progress and resources I use learning data structures and practicing algos.

Recursion Tips:

  1. Figure out the bare minimum pieces of information to represent your problem.
  2. Give reasonable defaults to the bare minimum pieces of info.
  3. Check the base case. Is there any work left to do? If not, return.
  4. Do some work. Call your function again, making sure the arguments have changed in some fashion.

Runtime Complexity

  1. See notebook for notes and charts from the video lectures
  2. How to determine runtime complexity
  3. Some examples using reverse string algo and steps algo
  4. Big 'O' Notation
  5. Identifying runtime complexity
  6. Bonus: considering space complexity (amount of memory needed)

About

License:GNU General Public License v3.0


Languages

Language:JavaScript 87.1%Language:HTML 12.9%