Confluent interview question

They asked a leetcode medium in the first round