Publicis Sapient Interview Question

Coding questions were very easy. There was one permutation combination problem which was a bit tough.