Infosys interview question

puzzles based on permuataion and combination.