Agoda interview question

How to optimise the price filter algorithm?