Occurrence of letters in String

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nivedita prasad
    New Member
    • Dec 2009
    • 7

    Occurrence of letters in String

    hi
    Occurrence of letters in String. Get string from KB of any length & print letters coming maximum time first than second largest….. i.e in descending order.
    program should be implemented using link list n dymamic memory allocation.
    Output look like if u enter string aababbbcba
    b 5 times
    a 4 times
    c 1 times just like that


    Regards
    Nivedita Prasad
  • Markus
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #2
    Do you have a question?

    Comment

    • whodgson
      Contributor
      • Jan 2007
      • 542

      #3
      Double linked or single linked?

      Comment

      • Dheeraj Joshi
        Recognized Expert Top Contributor
        • Jul 2009
        • 1129

        #4
        Have you written any code for this till now.?
        If you post that code and explain the problem, we must be able to help you.

        Regards
        Dheeraj Joshi

        Comment

        • nivedita prasad
          New Member
          • Dec 2009
          • 7

          #5
          the code should be implemented using doubly link list..

          Comment

          Working...