
What Is a Stack in Computer Science and How Does Undo Use It?
Follow three edits through an undo history to see what push, pop, and peek do and why a stack reverses the newest edit first.
ICSC Blog
Articles on computer science, exam preparation, and studies, from the team of the International Computer Science Competition.

Follow three edits through an undo history to see what push, pop, and peek do and why a stack reverses the newest edit first.

A spam filter can make two very different mistakes. Read the axis labels to see which count means spam got through and which means a real message was flagged.

Use one week to find out why you miss problems, fix the mistakes that repeat, and test your changes on a fresh timed set.

Six black pixels in a row can share one count. But when black and white alternate, storing a count for every pixel can make the encoded row bigger.

Follow a student's path through ICSC, from submitting written solutions to qualifying for two exams. See what changes at each stage and how scores determine advancement.

Turn a code-only draft into a solution a grader can follow. A fictional sorting problem shows what to explain, what to prove, and what to put in code comments.

Dijkstra settles a node at distance 2. A route through a node it has not processed yet costs just 1. Three edges show exactly where the algorithm's guarantee breaks.

You do not need to reach the Final Round to receive an ICSC certificate. Find out what a participation certificate records and how it differs from finalist honors.

Follow a bike-share dataset from a raw file to a daily trip table. Then use public data and SQL to build a small pipeline and practice recovering from a failed import.

Follow a short nested loop on paper. Learn when to start a new row, which values to carry forward, and how to keep skipped branches out of your output.

Follow two library book IDs into the same slot of a tiny hash table. Then look up each ID by checking the entries in that slot.

A birthday or a move to a new grade can affect your ICSC group. The key is knowing which day counts and when to use the gap-year rule.