Group Activities for today:
Ice breaker: do you eat leftover pizza hot or cold? Ans: Hot
Create a Notion page at the bottom of this page for your group (if you haven’t already), and spend a few minutes playing around with Notion features.
Each student in the group should:
text
def hello():
print("Hello")
public static void main(String[] args) {
System.out.println("Hello World!");
}
$$ a = 2 $$
$F = ma$
$$ a_n = 2n + 5 $$
$$ x = y $$
Text Here
@Youssef Aithmad
@Yuki Kawahara
Complete the following activities. You can copy the questions into your own page, but if you do, try to have your answers in a different color.
[ ] What's an algorithm?
A specific process to be followed to solve a problem
[ ] What algorithms do you know? Write at least 3 that you know of individually, then share and compare with the others in your group (think about your other classes - 127, 128, discrete, etc)
dp, greedy
A*
Alpha-beta pruning
[24 | 21 | 55 | 8 | 76 | 6 | 2 | 66 | 50 | 82]
Algorithm InsertionSort(dataList)
// dataList is a zero-indexed list/array of sortable data
// n is the length of dataList
// algorithm modifies the dataList; returns the modified list
for i = 1 to n-1 do
let j = i
while j > 0 and dataList[j] < dataList[j-1] do
swap dataList[j] and dataList[j-1]
let j = j - 1
return dataList
Pizza: Hot or Cold?