Skip to content

Opening book details…

About this document

Count Substring Occurrences in String by Arefin Wisea Ablag is a document available to read on EtoBox.

The document describes a problem to count the number of occurrences of a substring k in a string x by taking x and k as input from the console. The sample input given is a string "QAQRRAQAQTDQAQ" and substring "QAQ", and the expected output is the count of 3 occurrences of the substring in the main string.

Author
Arefin Wisea Ablag
Language
EN