BairesDev Interview Question

Several logical and mathematics questions.