Wipro Interview Question

RELATED TO ASCAI and theory