---
title: "Discussion on \"[LeetCode] Top Interview 150 Problems Solving # 28 Find the Index of the First Occurrence in a String\" | Hashnode"
description: "Discussion on \"[LeetCode] Top Interview 150 Problems Solving # 28 Find the Index of the First Occurrence in a String\". Learn how to find the index of the first occurrence of a substring in a string using simple Python methods"
url: "https://hashnode.com/posts/leetcode-top-interview-150-problems-solving-28-find-the-index-of-the-first-occurrence-in-a-string/67d450312dfc7c9eff25d11a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [\[LeetCode\] Top Interview 150 Problems Solving # 28 Find the Index of the First Occurrence in a String](https://ramieeee.me/leetcode-top-interview-150-problems-solving-28-find-the-index-of-the-first-occurrence-in-a-string?utm_source=hashnode&utm_medium=feed)

Learn how to find the index of the first occurrence of a substring in a string using simple Python methods

Mar 14, 2025 · 1 min read · ramieeee.me  
Read the article

-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#string](https://hashnode.com/tag/string)
-   [#python](https://hashnode.com/tag/python)

## Written by

[Ramhee Yeon](https://hashnode.com/@ramieeee)

@ramieeee · Seoul, South Korea

  
[View profile](https://hashnode.com/@ramieeee)

AI researcher and developer

South Korean, master's degree of AI. A research focused AI specialist, and a rogrammer for LLM. I am seeking opportunities worldwide. I used to live in Frankfurt, Moscow, Pretoria, Baguio. Where to next?

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
