ChartHop interview question

Given a data set, output records matching some parameters