Index

Module 03 · DSAWorked, and deeper

The clock that wraps around

Thinking in Bits
Thinking in Bits · Open board

Shows a number as a fixed row of switches. This lesson is what happens when the row runs out, and the arithmetic that turns running out into a tool.

Before you start. Bit Manipulation (thinking in bits) showed that a computer stores a whole number as a row of 1s and 0s, and that the row has a fixed length, often 32 switches. Keeping only the last three digits after every multiply still lands on the right last three digits. Complexity & Big-O called a cost that grows by one step per doubling of the input O(log n).

Continue reading with a plan

The first three lessons of every track are free. This lesson is included with a plan, which unlocks every lesson, board, video, lab and paper for one price.

View plans →Already a member? Sign in

Review DSA →

Saved in this browser, and to your account when you sign in.