can anybody help me to wap to sort alphabets of any string. ip- dddzzzaaabbbb op-aaabbbbdddzzz should work for string of any length and pattern? (using linked list)
Do you mean you are given the input string as the linked list and now you need to sort it? Or input is given as a normal string and you need to make a sorted linked list where each node contains one character of the input string?