ZS Associates Interview Question

Some technical questions and logical reasoning