Cirata interview question

How to implement certain Java patterns?