Q1: Write java program to give all permutation of given string. For example "bot", bto", "obt", "otb", "tbo" and "tob".
Q2: Two dimensional matrices addition.
Analytical Questions:
1) One cake , you can cut it 4 times, tell the max possible pieces.
2) 12 coins and one faulty coin. Find it out in 3 scales.
3) An employee works for an employer for 7 days. The employer has a gold rod of 7 units. How does the employer pays to the employee so that the employee gets 1 unit at the end of everyday. The employer can make at most 2 cuts in rod.