About permutation ad combination

please help me to how to well versed the permutations and combinations for array manipulation and string manipulation