Wise Interview Question

Implement a series of efficient algorithms