Tikal Knowledge interview question

what is a pure function and how to implement one.