LeetCode
Question
·
Sep 2022
Uber | OA | Count occurrence of one string in another string
242 views
1 reply
Question Details
Given two strings s and t. Count the number of occurence of \'t\' in \'s\' as follows: Length of t is 3, Increment count when t == s[i]s[i+2]s[i+4] Example: s =...
Full Details
🔒
Unlock all Uber questions
Full insider details, leaked discussions, and candidate experiences.
or every company, $100/year →About This Question
This is a reported interview question from a uber interview for a swe role during the oa round reported in 2022.
It covers the following topics: Strings .