project44 interview question

Filter an array of objects, consider all edge cases.