Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find the index of the first occurrence in a string. (String Problem) #3323

Open
1 of 4 tasks
kanikarajpal opened this issue Oct 12, 2022 · 3 comments
Open
1 of 4 tasks

Comments

@kanikarajpal
Copy link

This is a(n):

  • New algorithm
  • Update to an existing algorithm
  • Error
  • Proposal to the Repository

Details:
I would like to add a solution to a problem- Find the index of the first occurrence in a string. (Leetcode Problem) (Python).

Description -
Given two strings needle and haystack, return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.

Link -
https://leetcode.com/problems/find-the-index-of-the-first-occurrence-in-a-string/

@arorasukhmani
Copy link

Hy, please assign me this issue

@animagus12
Copy link
Contributor

Hey, can you assign this to me?

@ZoranPandovski
Copy link
Owner

We don't assign issues, feel free to make a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants