Custom Machine Interview Question

Mainly on my knowledge