Cla64.ai

Exercise catalog

Sign in to see your remaining sessions and start a practice run.

Building Sensor Hub

free tier

A commercial building has environmental sensors scattered across its floors, each sensing one specific thing where it's mounted - and more sensor types may be added later. Every sensor reports its reading as a single number:

hard90m
Sign in to start

Bus Control Center

free tier

A fleet of buses streams position reports back to a control center. Each bus follows a fixed plan: an ordered list of stations it must visit, in order. The control center needs to answer, at any moment: where is each bus right now, and what's the next station it's heading to (or has it finished its whole route)?

medium75m
Sign in to start

File Permission Scanner

free tier

An internal system stores a tree of files and directories. Every node can have an explicit permission level, or it can be left unset - in that case it inherits the permission of its nearest ancestor that does have one. The root always has an explicit permission.

medium90m
Sign in to start

Fix the Load Balancer

free tier

Our API gateway uses a small in-house load balancer (src/) to spread traffic across a pool of backend servers. It supports three routing strategies (RoundRobin, WeightedRoundRobin, LeastConnections), retries failed requests on another backend, and runs health checks.

hard75m
Sign in to start

Grade Book

free tier

A teacher tracks each student's scores across several assignments during a term. At any point they want to know a student's average and letter grade, and pull class-wide reports like the honor roll or who's failing.

medium90m
Sign in to start

Parking Garage Billing

free tier

A parking garage charges vehicles for how long they stay. Different vehicle types are billed completely differently.

easy75m
Sign in to start

Person Health Check

free tier

Implement the two Person methods (src/person.py) and the two report functions (src/report.py):

easy45m
Sign in to start

Push Notification Router

free tier

Users can receive notifications through several channels - email, SMS, an Android push notification, and more may be added later. Each user picks exactly one preferred channel.

hard90m
Sign in to start

Rate Limiter - Bug Fixing

free tier

src/ratelimiter.py implements a sliding-window rate limiter: each user is allowed maxrequests within any trailing window_seconds window.

medium75m
Sign in to start

Shopping Cart Pricing System

free tier

A supermarket checkout scans products one at a time. Each product has a base price, but some products are on promotion. You need to build a system that tracks scanned products and returns the current cart price at any point.

hard75m
Sign in to start