Microsoft Interview Question

Typical logical questions