Ensure that you are logged in and have the required permissions to access the test.
A server error has occurred. Please refresh the page or try after some time.
An error has occurred. Please refresh the page or try after some time.
5
Given 2 Strings C,S. Find the number of occurrences of C in S. Length of S is N, length of C is M.
Input:
Given 2 Strings C,S.
Output:
Print the number of occurrences of C in S.
Constraints:
1≤M≤N≤105.
abc abcabdabc
2
A password reset link will be sent to the following email id
?