BT Group interview question

solid principle functional programming