Migros One interview question

Binary tree and kafka partitioning example