To learn more about the newsletter, check our detailed About Page + FAQs
To help me understand you better, please fill out this anonymous, 2-min survey. If you liked this post, make sure you hit the heart icon in this email.
Recommend this publication to Substack over here
Take the next step by subscribing here
We’re almost at another weekend aren’t we,
That one thought makes me happier than anything else.
Also, to those of you that reached out to me about the payment problems you had trying to subscribe- I have reached out to Substack and Stripe. I will resolve this issue ASAP. There’s a lot going on right now, so just give me some time.
Problem
Given a string and a pattern, find the starting indices of all occurrences of the pattern in the string. For example, given the string "abracadabra" and the pattern "abr", you should return [0, 7]
.
Keep reading with a 7-day free trial
Subscribe to Technology Made Simple to keep reading this post and get 7 days of free access to the full post archives.