Skip to content

Commit 7c9d51b

Browse files
committed
Update
1 parent c1b635e commit 7c9d51b

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

conferences/2025/00-hello-world/lecture-00.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,18 @@
2727
3. Output shortest height.
2828

2929
- **Correctness**
30-
- Discuss how to prove that the algorithm correctly identifies the shortest person:
31-
- Use examples to demonstrate that for any input list, the algorithm will return the correct result.
30+
- Discuss how to prove that the algorithm correctly identifies the shortest person.
31+
- Use examples to demonstrate that for any input list, the algorithm will return the correct result.
32+
- Draft a semi-formal proof with an inductive argument in the size of the list.
3233

3334
- **Efficiency**
3435
- Introduce the concept of efficiency in algorithms, focusing on time complexity.
35-
- Explain that this algorithm runs in $$O(N)$$ time, where $$N$$ is the number of people in the list.
36+
- Explain that this algorithm runs in $O(N)$ time, where $N$ is the number of people in the list.
3637

3738
- **Adversary Technique**
38-
- Briefly explain the adversary technique for proving lower bounds:
39-
- Discuss how any algorithm that finds the shortest person must examine each height at least once, thus requiring at least $$N$$ comparisons.
40-
- Emphasize that this establishes a lower bound on time complexity for this problem.
39+
- Briefly explain the adversary technique for proving lower bounds.
40+
- Discuss how any algorithm that finds the shortest person must examine each height at least once, thus requiring at least $N$ comparisons.
41+
- Emphasize that this establishes a lower bound on time complexity for this problem.
4142

4243
### 3. Setting Up the Environment (15 minutes)
4344
- **Using the Terminal**

0 commit comments

Comments
 (0)