Today you will work with a group to learn and discuss four main topics found in Computer Science and Javascript. Those topics are: Hoisting, Recursion, Big O Notation, and Sorting Algorithms. The resources below are meant to give you an introductory overview of these concepts, not to gain a full mastery of them. With your group, go through the resources below and then discuss the questions attached to each section.
-
https://www.w3schools.com/js/js_hoisting.asp - Summary of hoisting from W3Schools
-
https://medium.com/javascript-in-plain-english/https-medium-com-javascript-in-plain-english-what-is-hoisting-in-javascript-a63c1b2267a1 - Great article describing hoisting
-
https://developer.mozilla.org/en-US/docs/Glossary/Hoisting - MDN's documentation on hoisting
-
https://www.youtube.com/watch?v=C1PZh_ea-7I - freeCodeCamp video on hoisting
What is hoisting?
What is hoisted to the top of your code?
What are some advantages of hoisting?
- https://codeburst.io/learn-and-understand-recursion-in-javascript-b588218e87ea - Article on recursion
- https://medium.com/@zfrisch/understanding-recursion-in-javascript-992e96449e03 - Article on recursion
- https://dev.to/ryanfarney3/intro-to-recursion-in-js-32g - Article on recursion
- https://www.youtube.com/watch?v=vPEJSJMg4jY - freeCodeCamp video on recursion
What is recursion?
Is recursion exclusive to JavaScript?
What are some advantages of using recursion?
- https://medium.com/cesars-tech-insights/big-o-notation-javascript-25c79f50b19b - Article on Big O Notation
- https://hackernoon.com/big-o-for-beginners-622a64760e2 - Article on Big O Notation
- https://dev.to/mattdmccarley/what-is-big-o-notation-and-why-is-it-useful-2b7l - Article on Big O Notation
- https://www.youtube.com/watch?v=v4cd1O4zkGw - HackerRank video on Big O Notation
What is Big O Notation?
Is Big O Notation exclusive to JavaScript?
Why is it important to use Big O Notation?
- https://dev.to/wangonya/sorting-algorithms-with-javascript-part-1-4aca - Article on sorting algorithms in JavaScript
- https://blog.bitsrc.io/a-guide-to-sorting-algorithms-in-javascript-5b32da4eae1e - Article on sorting algorithms in JavaScript
- https://www.toptal.com/developers/sorting-algorithms - Sandbox for helping visualize sorting algorithms
- https://www.youtube.com/watch?v=ywWBy6J5gz8 - Video on quick-sort, folk dance style(seriously)
- https://www.youtube.com/watch?v=XaqR3G_NVoo - Video on merge-sort, folk dance style(seriously)
- https://www.youtube.com/watch?v=lyZQPjUT5B4 - Video on bubble-sort, folk dance style(seriously)
What are sorting algorithms?
Are sorting algorithms exclusive to JavaScript?
What are three common sorting algorithms?