did the filtering problem hackerrank is incorrect