AITeky Learn

AiTeky Original Interactive Learning & Practice Intermediate

Computer science in practice: growth of work, caches and the report that slowed with the data

Learn why a program that is fast on a small test can crawl on real data, how a cache's hit rate sets the average speed of a system, and how to find the loop that grows with the square of the data.

Computer science students learn algorithms in class and then meet production data. Three ideas bridge the gap: how the work grows with the amount of data, how a cache turns a slow memory into a fast one most of the time, and testing at realistic sizes so that growth shows up before the customers see it.

This course models those ideas with small Python programs you can run in your browser. They count operations instead of measuring seconds, so the results are the same on every computer. All numbers are made up.

  • Learn lessons explain one idea at a time and let you run it.
  • Industry ready lessons decide and justify, and end with interview questions.

Basic Python helps.

Locked. Sign up free

Learn

Understand each idea with everyday examples. No coding background needed.

  1. 01 30 min Free sample 🔒 AiTeky Pass How the work grows Count the comparisons made by a search that checks every item, a search that halves the range, and a duplicate check that compares every pair, for growing data sizes, and see which ones stay manageable.
  2. 02 30 min 🔒 AiTeky Pass The cache and the hit rate Simulate a small cache in front of a slow store with a least-recently-used rule, measure the hit rate for different cache sizes and access patterns, and compute the average access time.

Industry ready

Real problems from real jobs, and the questions interviewers ask about them.

  1. 03 35 min 🔒 AiTeky Pass On the job: the report that slowed with the data A month-end report ran in 3 seconds at launch and now takes about five minutes. Model a report that matches each order to its customer by scanning a list, compare four fixes (a bigger server, run it at night, build a lookup once, rewrite in another language), choose, and write the incident note.

We use essential cookies to run the site. With your permission we also set one anonymous ID to count unique visitors, and analytics cookies to see which pages help learners. Cookie notice

Join AiTeky Learn. It's free.

Create a free account to track your progress, save items for later and get study suggestions.

Sign up free Log in