This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# First lets visualize how the algorithm steps through a set of data: | |
set_of_nums = [27, 15, 26, 65, 21, 34, 5, 40, 54, 45, 100, 32, 49, 74, 5] | |
# first interval will be 5, here is what the subset will look like | |
subset_1 = [27, 34, 100] | |
subset_2 = [15, 5, 32] | |
subset_3 = [26, 40, 49] | |
subset_4 = [65, 54, 74] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Student Survey Design: | |
create table "guide_survey" | |
t.integer "guide_id" | |
t.integer "event_attendance_id" | |
t.boolean "effective_teacher" | |
t.boolean "professional" | |
t.integer "overall_experience" | |
t.text "ask_feedback" | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body{ | |
background-color: #E6E6FA; | |
} | |
h1 { | |
text-align: center; | |
font-size:3em; | |
font-family: 'Fascinate Inline', cursive; | |
background-color: #DA70D6; | |
border: 2px solid; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BoggleBoard | |
def initialize(dice_grid) | |
@boggle_board = dice_grid | |
end | |
def create_word(*coords) | |
coords.map { |coord| @boggle_board[coord.first][coord.last]}.join("") | |
end |