| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/blob/*name(/*path) |
| route-controller | blob |
| route-action | show |
| fetch-nonce | v2:5976fd6a-6892-b91e-93ca-2e3ce951b541 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | BCF0:33F70:148EAD6:1AD6730:6B0968BF |
| html-safe-nonce | 5d49727a6ec6ef281a1e2fd9b2ae991e7c37ad17b61b0703bfc3d2990c0c2553 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0YwOjMzRjcwOjE0OEVBRDY6MUFENjczMDo2QjA5NjhCRiIsInZpc2l0b3JfaWQiOiI2NzQ2OTc2MDI0MTQxNTg4NjcxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 480045263d373f87501c10bdcf75abdd5e4378bf9194716385854fc513ba4e28 |
| hovercard-subject-tag | repository:467213119 |
| github-keyboard-shortcuts | repository,source-code,file-tree,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///blob/show |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md |
| twitter:image | https://opengraph.githubassets.com/7cf0020110174e6146716fcbd6d46d777b2c80aa1f08c3aeaaef99e200fd5077/devanshmesson/Coding_Notes |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7cf0020110174e6146716fcbd6d46d777b2c80aa1f08c3aeaaef99e200fd5077/devanshmesson/Coding_Notes |
| og:image:alt | Contribute to devanshmesson/Coding_Notes development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1abd06cb3c210450b978a7a3f55ea5a26a623b5801c41b861d3ceede8be119ab |
| turbo-cache-control | no-cache |
| go-import | github.com/devanshmesson/Coding_Notes git https://github.com/devanshmesson/Coding_Notes.git |
| octolytics-dimension-user_id | 46960431 |
| octolytics-dimension-user_login | devanshmesson |
| octolytics-dimension-repository_id | 467213119 |
| octolytics-dimension-repository_nwo | devanshmesson/Coding_Notes |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 298858700 |
| octolytics-dimension-repository_parent_nwo | ankitpriyarup/Coding_Notes |
| octolytics-dimension-repository_network_root_id | 298858700 |
| octolytics-dimension-repository_network_root_nwo | ankitpriyarup/Coding_Notes |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 51f4abf2c880c252dee5687790d9eeb877b6a6a9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdevanshmesson%2FCoding_Notes%2Fblob%2Fmaster%2Fstring-algorithms.md |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdevanshmesson%2FCoding_Notes%2Fblob%2Fmaster%2Fstring-algorithms.md |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fblob%2Fshow&source=header-repo&source_repo=devanshmesson%2FCoding_Notes |
| Reload | https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md |
| Reload | https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md |
| Reload | https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md |
| devanshmesson | https://github.com/devanshmesson |
| Coding_Notes | https://github.com/devanshmesson/Coding_Notes |
| Code | https://github.com/devanshmesson/Coding_Notes |
| Pull requests | https://github.com/devanshmesson/Coding_Notes/pulls |
| Actions | https://github.com/devanshmesson/Coding_Notes/actions |
| Projects | https://github.com/devanshmesson/Coding_Notes/projects |
| Security and quality | https://github.com/devanshmesson/Coding_Notes/security |
| Insights | https://github.com/devanshmesson/Coding_Notes/pulse |
| https://github.com/devanshmesson/Coding_Notes |
| Coding_Notes | https://github.com/devanshmesson/Coding_Notes/tree/master |
| History | https://github.com/devanshmesson/Coding_Notes/commits/master/string-algorithms.md |
| https://github.com/devanshmesson/Coding_Notes/commits/master/string-algorithms.md |
| Coding_Notes | https://github.com/devanshmesson/Coding_Notes/tree/master |
| Raw | https://github.com/devanshmesson/Coding_Notes/raw/refs/heads/master/string-algorithms.md |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#string-algorithms |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#string-stream |
| Validate IP Address | https://leetcode.com/problems/validate-ip-address/ |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#validate-ip-address |
| Remove Comments | https://leetcode.com/problems/remove-comments/ |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#remove-comments |
| Substring with Concatenation of All Words | https://leetcode.com/problems/substring-with-concatenation-of-all-words/ |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#substring-with-concatenation-of-all-words |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#minimum-window-problem |
| https://leetcode.com/problems/minimum-window-substring/ | https://leetcode.com/problems/minimum-window-substring/ |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#rope |
| https://github.com/devanshmesson/Coding_Notes/blob/master/.gitbook/assets/image%20%28103%29%20%281%29.png |
| https://github.com/devanshmesson/Coding_Notes/blob/master/.gitbook/assets/image%20%2838%29.png |
| https://github.com/devanshmesson/Coding_Notes/blob/master/.gitbook/assets/image%20%2883%29%20%281%29.png |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#string-hashing |
| https://github.com/devanshmesson/Coding_Notes/blob/master/.gitbook/assets/image%20%2829%29.png |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#search-for-duplicate-strings-in-an-array-of-strings |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#fast-hash-calculation-of-substring-of-given-string |
| https://github.com/devanshmesson/Coding_Notes/blob/master/.gitbook/assets/image%20%2863%29%20%281%29.png |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#number-of-different-substrings-in-a-string-n2-log-n |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#rolling-hashes-and-bloom-filters |
| https://github.com/devanshmesson/Coding_Notes/blob/master/.gitbook/assets/image%20%28135%29.png |
| https://github.com/devanshmesson/Coding_Notes/blob/master/.gitbook/assets/image%20%2868%29.png |
| https://github.com/devanshmesson/Coding_Notes/blob/master/.gitbook/assets/image%20%28125%29.png |
| https://github.com/devanshmesson/Coding_Notes/blob/master/.gitbook/assets/image%20%2845%29.png |
| https://github.com/devanshmesson/Coding_Notes/blob/master/.gitbook/assets/image%20%28183%29.png |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#estimating-collision |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#tsukuba-regional-problem---anagram |
| http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1370 | http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1370 |
| https://www.acmicpc.net/problem/14214 | https://www.acmicpc.net/problem/14214 |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#suffix-array |
| Effectively constructing suffix array | https://codeforces.com/edu/course/2/lesson/2 |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#effectively-constructing-suffix-array |
| https://github.com/devanshmesson/Coding_Notes/blob/master/.gitbook/assets/suffixarray.png |
| https://github.com/devanshmesson/Coding_Notes/blob/master/.gitbook/assets/suffixarray2.png |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#substring-search |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#count-substrings |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#lcp-longest-common-prefix-of-two-strings |
| https://github.com/devanshmesson/Coding_Notes/blob/master/.gitbook/assets/lcp.png |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#count-number-of-different-substrings |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#longest-common-substring |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#suffix-tree--trie |
| Longest Common Prefix using Tries | https://leetcode.com/problems/longest-common-prefix |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#longest-common-prefix-using-tries |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#pattern-matching |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#rabin-karp-implementation-using-rolling-hash |
| https://github.com/devanshmesson/Coding_Notes/blob/master/.gitbook/assets/image%20%2811%29.png |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#aho-corasick-algorithm-for-pattern-matching |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#z-algorithm |
| https://codeforces.com/contest/126/problem/B | https://codeforces.com/contest/126/problem/B |
| https://youtu.be/CpZh4eF8QBw | https://youtu.be/CpZh4eF8QBw |
| https://leetcode.com/problems/repeated-string-match/ | https://leetcode.com/problems/repeated-string-match/ |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#repeated-string-matchhttpsleetcodecomproblemsrepeated-string-match |
| https://www.codechef.com/problems/CHSTR | https://www.codechef.com/problems/CHSTR |
| http://www.spoj.com/problems/SUFEQPRE/ | http://www.spoj.com/problems/SUFEQPRE/ |
| https://codeforces.com/contest/119/problem/D | https://codeforces.com/contest/119/problem/D |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#suffix-automata |
| https://github.com/devanshmesson/Coding_Notes/blob/master/.gitbook/assets/image%20%2852%29.png |
| https://github.com/devanshmesson/Coding_Notes/blob/master/.gitbook/assets/image%20%28158%29.png |
| https://github.com/devanshmesson/Coding_Notes/blob/master/.gitbook/assets/image%20%28163%29.png |
| https://github.com/devanshmesson/Coding_Notes/blob/master/string-algorithms.md#palindromic-tree |
| https://github.com/devanshmesson/Coding_Notes/blob/master/.gitbook/assets/image%20%28152%29.png |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |