Samsung Electronics interview question

Questions related to permutation, Combination and DFS