Loading Now

You are given two arguments mainString and findString.Your task it to find the number of occurrences of the findString in the mainString (Case sensitivity) Example: For mainString=""banana"" and findString="a" the output should be FindString(mainString,findString) = 3. Input/Output: [execution time…

Contact