Hello World
Computer Science
String[] group = {"Arkadii", "Alexander", "Bea", "Rita"};
for(int i=0; i<10; i++) {
system.log
}
$x^2+y^2=r^2$
$E=mc^2$
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.
A sequence of codes that help accomplish a task efficiently
Merge sort? Binary search?
[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