LeetCode Problem 28: Find the Index of the First Occurrence in a String

preview_player
Показать описание
This was a fun one, figured I'd try the simplest solution and see how slow it was, and I was pleasantly surprised to learn it was only kind of slow! I'm okay with that!
Рекомендации по теме