Tiger Analytics Interview Question

Q: Write a code for implementing Max-pooling function.