Try these small examples:
aliasing |
intro |
factorial |
fibonacci |
memoized fib |
square root |
insertion sort
filter |
tokenize |
OOP |
gcd |
sumList |
towers of hanoi |
exceptions
Examples from the MIT
6.01 course:
list map |
summation |
OOP 1 |
OOP 2 |
inheritance
Then try some programming questions:
Solve:
Two-sum |
Reverse list |
Remove duplicate chars
Debug:
In-place reverse |
Binary search |
Mergesort
Optimize:
Greatest sum |
Find duplicates |
List search
Use left and right arrow keys to step through this code:
Step ? of ?
|