BairesDev interview question

Problem solving questions, Logic based and equation based