HARMAN Interview Question

filter the stream