I want to make simple sorting algorithm.
given the input \"abcde\", I would like the output below. could you tell me the algorithm for that?
arr[0] =
An algorithm for "generating Power Set" from an array is what you are looking for. You can try Google or some other search engine to find the algorithm that best fits your needs.