Bounteous x Accolite Interview Question

Write a Java program to find permutation of a string.