Skip to content

Instantly share code, notes, and snippets.

@b0uma
b0uma / snippet.rb
Last active December 4, 2015 18:15 — forked from bootcoder/snippet.rb
advisor_selection_result
{
:Hunter => [
[ 0] "Michael Whelpley",
[ 1] "Mike Cerrone",
[ 2] "Shawn Watson",
[ 3] "Christopher Mark",
[ 4] "Kai Huang",
[ 5] "Daniel Woznicki",
[ 6] "Abraham Clark",
[ 7] "Nathan Park",
@b0uma
b0uma / examples.js
Last active June 6, 2016 17:49
Javascript functions and objects
// follow along in the interpreter: node or browser developer console
// variable whose value is anonymous function
var square = function(num) {
return num * num;
}
// named function
function cube(num) {
return square(num) * num

Week 1: Tuesday prep for Wednesday morning

  • Please go through the preread content carefully before Wednesday's class at 9 AM. Watch, read, and practice with cohort-mates!
  • Content marked (optional) is for review or extra learning.
  • Read about the flipped classroom philosophy here (optional): https://en.wikipedia.org/wiki/Flipped_classroom
  • There's a lot of material here, so budget time appropriately today. Think of this as another challenge.

Learning Goals

  1. Review iteration conceptually
  2. Apply iteration to linear search