String Manipulation| once time count each each word in string using C# console example with asp.net


Many companies asked during interview :
Write a function that returns count each with number of occurance in given string
Input      HAAHLHLLL
Output.     H occurance 3 times
                   A occurance 2 times
                  L occurance 4 times

Social Media