MAQ Software Interview Question

Not that difficult. But one need to be strong in basics and programming