AITeky Learn

AiTeky Original Interactive Learning & Practice Intermediate

Algorithms and data structures for data people

Why some code is fast and some crawls, with dictionaries, sets, sorting, binary search, queues and heaps, on the problems data jobs really meet.

Two scripts give the same answer. One finishes in a second, the other is still running after an hour. The difference is rarely the computer: it is the way the problem was solved. Choosing the right data structure and a sensible algorithm turns "too slow to use" into "instant", and it is also what many data interviews test.

This is not a computer-science degree. You need Python basics and the Python intermediate course. We stay with problems from data jobs: matching customers to orders, counting, finding the top items in a stream, scheduling work, and we count steps instead of timing a laptop, so results are the same everywhere.

  • Learn lessons build one idea at a time, with exercises you can repeat.
  • Industry ready lessons use two realistic jobs and end with the interview questions that go with them.

Locked. Sign up free

Learn

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

  1. 01 20 min Free sample πŸ”’ AiTeky Pass Counting steps: why some code is fast and some crawls Measure code by how many steps it takes as the data grows, learn the meaning of linear and quadratic growth, and see why 100 times more data can mean 10,000 times more work.
  2. 02 25 min πŸ”’ AiTeky Pass Dictionaries and sets: lookups, counting and matching Use a dictionary to look things up and count them, a set to remove repeats and compare groups, and see how Python finds a key in one step.
  3. 03 25 min πŸ”’ AiTeky Pass Sorting and binary search: finding things in 30 steps Sort data by any rule, then use binary search to find a value in a sorted list in about 30 steps even among a billion, and use the bisect module for ranges.
  4. 04 25 min πŸ”’ AiTeky Pass Queues, stacks and heaps: doing work in the right order Use a queue for first-come first-served, a stack for undo and nesting, and a heap to always pull out the most urgent item, with a support-ticket example.

Industry ready

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

  1. 05 40 min πŸ”’ AiTeky Pass On the job: match 12,000 orders to 3,000 customers Join two lists by a key, find orphan orders, duplicate orders and customers with no orders, first the slow way and then with dictionaries and sets, counting steps to show the difference.
  2. 06 40 min πŸ”’ AiTeky Pass On the job: top products, spikes and running medians from a stream Process a stream of events in chunks without holding it all in memory, find the top 10 products, spot delivery-time spikes with a sliding window, keep a running median with two heaps, and answer the matching interview questions.

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