Agoda Interview Question

- recursion problem - sql optimization - design pattern