Easy data structure and algorithm practice puzzle.
Removing names from a dataset does not make it anonymous. Most people can be picked out from a few ordinary facts such as age and zip code. Privacy law asks how small the smallest crowd is: a dataset is k-anonymous when every combination of those facts is shared by at least k people. Each record is a list of numbers, such as an age band and a zip prefix. Return the size of the smallest group of identical records, or 0 if there are no records.
Solve it three ways: snap the jigsaw pieces together, fill in the blanks, or type it from scratch against the tests. This one is free to play, with no account.
Every line of the solution comes with a note explaining why it is there, and a step by step replay shows the code running. At level 3, where you type it yourself, you can ask for an AI mock interview on this problem that ends with a hiring manager's scorecard.
Then grow it into a real project with the Software Engineer button: this puzzle becomes the Hot Trip Monitor, a pipeline you can run and download. See every Software Engineer project.