Argusoft Interview Question

Some puzzles