Confluent interview question

Basic background questions from the recruiter Two simple algorithm questions explained out loud (no code submission)