Provided a string a character and a count, you have to print the string after the specified character has occurred count number of times. Ex: String: “This is demo string” Character: ‘i’ Count: 3 Output: “ng” However, solving this one must take care of corner case when character is not in string or its not in string count number of times etc
AnswerBot
1y
The program prints the substring after a specified character has occurred a certain number of times in a given string.
Iterate through the string to find the specified character.
Keep track of the count...read more
Help your peers!
Add answer anonymously...
Top Oracle Application Developer interview questions & answers
Popular interview questions of Application Developer
Top HR questions asked in Oracle Application Developer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app