Algorithms & problem solving: free course
Think like a programmer: pseudocode, flowcharts, searching, sorting, recursion, Big O and data structures, with runnable Python examples.
Start lesson 1 Open the interactive course Printable course notes
Lessons
- 1 Pseudocode and flowcharts: algorithms explained, sequence, selection, iteration, trace tables and turning plans into code
- 2 How to solve programming problems step by step
- 3 Searching algorithms: linear search, binary search, step counts, edge cases and searching real data
- 4 Sorting algorithms: bubble, selection, insertion, merge and quick sort, stability, complexity and sorting real data
- 5 Big O: measuring how fast code grows, common complexities, analysing loops, space complexity and practical optimisation
- 6 Data structures: arrays/lists, tuples, sets, dictionaries, stacks, queues, linked lists, trees, heaps and graphs, and when to use each
- 7 Stacks and queues
- 8 Hash tables: fast look-ups with dictionaries
- 9 Recursion: base cases, the call stack, classic examples, recursion vs loops, tree recursion and avoiding stack overflow
- 10 Graphs, BFS and DFS: routes and connections
- 11 Dynamic programming and memoisation