How would the implementation of this function be written?

Printable View