| 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:10f45bee-02df-71a9-d9a9-09dbe3e3586c |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | D1C6:371030:145B400:1AA4FF9:6B096838 |
| html-safe-nonce | 7546612e08c8ba8819fd05213237171549db09635c93b805cd220692733a38d2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMUM2OjM3MTAzMDoxNDVCNDAwOjFBQTRGRjk6NkIwOTY4MzgiLCJ2aXNpdG9yX2lkIjoiNjc3OTQ0MDY3MjYxNDczNzk3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 239d8d7581ef0e54a8735249b3595d8d40c6b49e8a782a4173f150e89c4b1833 |
| hovercard-subject-tag | repository:480341505 |
| 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/Coder-12/Coding_Notes/blob/master/string-algorithms.md |
| twitter:image | https://opengraph.githubassets.com/8a07a7b722fc315f0b73b717760b05a414754343594fb930f9c5cb4e84e7e988/Coder-12/Coding_Notes |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8a07a7b722fc315f0b73b717760b05a414754343594fb930f9c5cb4e84e7e988/Coder-12/Coding_Notes |
| og:image:alt | Contribute to Coder-12/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/Coder-12/Coding_Notes git https://github.com/Coder-12/Coding_Notes.git |
| octolytics-dimension-user_id | 31615917 |
| octolytics-dimension-user_login | Coder-12 |
| octolytics-dimension-repository_id | 480341505 |
| octolytics-dimension-repository_nwo | Coder-12/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/Coder-12/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%2FCoder-12%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%2FCoder-12%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=Coder-12%2FCoding_Notes |
| Reload | https://github.com/Coder-12/Coding_Notes/blob/master/string-algorithms.md |
| Reload | https://github.com/Coder-12/Coding_Notes/blob/master/string-algorithms.md |
| Reload | https://github.com/Coder-12/Coding_Notes/blob/master/string-algorithms.md |
| Coder-12 | https://github.com/Coder-12 |
| Coding_Notes | https://github.com/Coder-12/Coding_Notes |
| Code | https://github.com/Coder-12/Coding_Notes |
| Pull requests | https://github.com/Coder-12/Coding_Notes/pulls |
| Actions | https://github.com/Coder-12/Coding_Notes/actions |
| Projects | https://github.com/Coder-12/Coding_Notes/projects |
| Security and quality | https://github.com/Coder-12/Coding_Notes/security |
| Insights | https://github.com/Coder-12/Coding_Notes/pulse |
| https://github.com/Coder-12/Coding_Notes |
| Coding_Notes | https://github.com/Coder-12/Coding_Notes/tree/master |
| History | https://github.com/Coder-12/Coding_Notes/commits/master/string-algorithms.md |
| https://github.com/Coder-12/Coding_Notes/commits/master/string-algorithms.md |
| Coding_Notes | https://github.com/Coder-12/Coding_Notes/tree/master |
| Raw | https://github.com/Coder-12/Coding_Notes/raw/refs/heads/master/string-algorithms.md |
| https://github.com/Coder-12/Coding_Notes/blob/master/string-algorithms.md#string-algorithms |
| https://github.com/Coder-12/Coding_Notes/blob/master/string-algorithms.md#string-stream |
| Validate IP Address | https://leetcode.com/problems/validate-ip-address/ |
| https://github.com/Coder-12/Coding_Notes/blob/master/string-algorithms.md#validate-ip-address |
| Remove Comments | https://leetcode.com/problems/remove-comments/ |
| https://github.com/Coder-12/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/Coder-12/Coding_Notes/blob/master/string-algorithms.md#substring-with-concatenation-of-all-words |
| https://github.com/Coder-12/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/Coder-12/Coding_Notes/blob/master/string-algorithms.md#rope |
| https://github.com/Coder-12/Coding_Notes/blob/master/.gitbook/assets/image%20%28103%29%20%281%29.png |
| https://github.com/Coder-12/Coding_Notes/blob/master/.gitbook/assets/image%20%2838%29.png |
| https://github.com/Coder-12/Coding_Notes/blob/master/.gitbook/assets/image%20%2883%29%20%281%29.png |
| https://github.com/Coder-12/Coding_Notes/blob/master/string-algorithms.md#string-hashing |
| https://github.com/Coder-12/Coding_Notes/blob/master/.gitbook/assets/image%20%2829%29.png |
| https://github.com/Coder-12/Coding_Notes/blob/master/string-algorithms.md#search-for-duplicate-strings-in-an-array-of-strings |
| https://github.com/Coder-12/Coding_Notes/blob/master/string-algorithms.md#fast-hash-calculation-of-substring-of-given-string |
| https://github.com/Coder-12/Coding_Notes/blob/master/.gitbook/assets/image%20%2863%29%20%281%29.png |
| https://github.com/Coder-12/Coding_Notes/blob/master/string-algorithms.md#number-of-different-substrings-in-a-string-n2-log-n |
| https://github.com/Coder-12/Coding_Notes/blob/master/string-algorithms.md#rolling-hashes-and-bloom-filters |
| https://github.com/Coder-12/Coding_Notes/blob/master/.gitbook/assets/image%20%28135%29.png |
| https://github.com/Coder-12/Coding_Notes/blob/master/.gitbook/assets/image%20%2868%29.png |
| https://github.com/Coder-12/Coding_Notes/blob/master/.gitbook/assets/image%20%28125%29.png |
| https://github.com/Coder-12/Coding_Notes/blob/master/.gitbook/assets/image%20%2845%29.png |
| https://github.com/Coder-12/Coding_Notes/blob/master/.gitbook/assets/image%20%28183%29.png |
| https://github.com/Coder-12/Coding_Notes/blob/master/string-algorithms.md#estimating-collision |
| https://github.com/Coder-12/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/Coder-12/Coding_Notes/blob/master/string-algorithms.md#suffix-array |
| Effectively constructing suffix array | https://codeforces.com/edu/course/2/lesson/2 |
| https://github.com/Coder-12/Coding_Notes/blob/master/string-algorithms.md#effectively-constructing-suffix-array |
| https://github.com/Coder-12/Coding_Notes/blob/master/.gitbook/assets/suffixarray.png |
| https://github.com/Coder-12/Coding_Notes/blob/master/.gitbook/assets/suffixarray2.png |
| https://github.com/Coder-12/Coding_Notes/blob/master/string-algorithms.md#substring-search |
| https://github.com/Coder-12/Coding_Notes/blob/master/string-algorithms.md#count-substrings |
| https://github.com/Coder-12/Coding_Notes/blob/master/string-algorithms.md#lcp-longest-common-prefix-of-two-strings |
| https://github.com/Coder-12/Coding_Notes/blob/master/.gitbook/assets/lcp.png |
| https://github.com/Coder-12/Coding_Notes/blob/master/string-algorithms.md#count-number-of-different-substrings |
| https://github.com/Coder-12/Coding_Notes/blob/master/string-algorithms.md#longest-common-substring |
| https://github.com/Coder-12/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/Coder-12/Coding_Notes/blob/master/string-algorithms.md#longest-common-prefix-using-tries |
| https://github.com/Coder-12/Coding_Notes/blob/master/string-algorithms.md#pattern-matching |
| https://github.com/Coder-12/Coding_Notes/blob/master/string-algorithms.md#rabin-karp-implementation-using-rolling-hash |
| https://github.com/Coder-12/Coding_Notes/blob/master/.gitbook/assets/image%20%2811%29.png |
| https://github.com/Coder-12/Coding_Notes/blob/master/string-algorithms.md#aho-corasick-algorithm-for-pattern-matching |
| https://github.com/Coder-12/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/Coder-12/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/Coder-12/Coding_Notes/blob/master/string-algorithms.md#suffix-automata |
| https://github.com/Coder-12/Coding_Notes/blob/master/.gitbook/assets/image%20%2852%29.png |
| https://github.com/Coder-12/Coding_Notes/blob/master/.gitbook/assets/image%20%28158%29.png |
| https://github.com/Coder-12/Coding_Notes/blob/master/.gitbook/assets/image%20%28163%29.png |
| https://github.com/Coder-12/Coding_Notes/blob/master/string-algorithms.md#palindromic-tree |
| https://github.com/Coder-12/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 |