Capgemini Interview Question: write string permutation java code | Glassdoor