| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6c2e3676-1bbd-1f05-178d-87a017e7e621 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BCA4:107C0:127F99D:17E6191:697479CA |
| html-safe-nonce | b3245a5d739ae0a1c4f38414ac0632ed76a1ab6a9647babfed023577731d89e7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0E0OjEwN0MwOjEyN0Y5OUQ6MTdFNjE5MTo2OTc0NzlDQSIsInZpc2l0b3JfaWQiOiI3MzU1NTM5MTg3MzQ5ODc5MjQyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d10c0f67425391a1408ec9fbf3090efbf1349126cd13fd16b71bb0eb990848f4 |
| hovercard-subject-tag | pull_request:148305222 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/TheAlgorithms/Java/pull/260/files |
| twitter:image | https://avatars.githubusercontent.com/u/3200471?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3200471?s=400&v=4 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | e0b95d743b7672c9ac0e1032d5f117950182dc164a83434a7db86510e8f0b37c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/TheAlgorithms/Java git https://github.com/TheAlgorithms/Java.git |
| octolytics-dimension-user_id | 20487725 |
| octolytics-dimension-user_login | TheAlgorithms |
| octolytics-dimension-repository_id | 63477660 |
| octolytics-dimension-repository_nwo | TheAlgorithms/Java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 63477660 |
| octolytics-dimension-repository_network_root_nwo | TheAlgorithms/Java |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 56fe7e2e8de6e57740bca50402351ea656f7a4bf |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files#start-of-content |
|
| https://patch-diff.githubusercontent.com/ |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FJava%2Fpull%2F260%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FJava%2Fpull%2F260%2Ffiles |
|
Sign up
| https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=TheAlgorithms%2FJava |
| Reload | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files |
| Reload | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files |
| Reload | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files |
|
TheAlgorithms
| https://patch-diff.githubusercontent.com/TheAlgorithms |
| Java | https://patch-diff.githubusercontent.com/TheAlgorithms/Java |
|
Notifications
| https://patch-diff.githubusercontent.com/login?return_to=%2FTheAlgorithms%2FJava |
|
Fork
20.9k
| https://patch-diff.githubusercontent.com/login?return_to=%2FTheAlgorithms%2FJava |
|
Star
64.8k
| https://patch-diff.githubusercontent.com/login?return_to=%2FTheAlgorithms%2FJava |
|
Code
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java |
|
Issues
33
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java/issues |
|
Pull requests
13
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java/actions |
|
Security
0
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java/security |
|
Insights
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pulse |
|
Code
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java |
|
Issues
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java/issues |
|
Pull requests
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java/actions |
|
Security
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java/security |
|
Insights
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pulse |
| Sign up for GitHub
| https://patch-diff.githubusercontent.com/signup?return_to=%2FTheAlgorithms%2FJava%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://patch-diff.githubusercontent.com/login?return_to=%2FTheAlgorithms%2FJava%2Fissues%2Fnew%2Fchoose |
| amit-dat | https://patch-diff.githubusercontent.com/amit-dat |
| TheAlgorithms:master | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/tree/master |
| amit-dat:master | https://patch-diff.githubusercontent.com/amit-dat/Java/tree/master |
|
Conversation
11
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260 |
|
Commits
4
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/commits |
|
Checks
0
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/checks |
|
Files changed
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files |
| Please reload this page | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files |
|
program to check if input string is valid anagram
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files#top |
|
Show all changes
4 commits
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files |
|
7f075e3
program to check if input string is valid anagram
amit-dat Oct 24, 2017
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/commits/7f075e3af2d36956944a8e50fbcb3035c26d0bb4 |
|
0bc1b91
Finds the longest palindrome
amit-dat Oct 24, 2017
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/commits/0bc1b912239dc6cfd10155c961389219888c736b |
|
9d849a9
finds the longest palindrome
amit-dat Oct 24, 2017
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/commits/9d849a97f6d5b2ff202dc818e466563c0f514a67 |
|
03012ad
removing old longest palindrome code
amit-dat Oct 24, 2017
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/commits/03012adfe83cba7024bacf34d1f7b860e6c99a6d |
|
Clear filters
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files |
| Please reload this page | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files |
| Please reload this page | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files |
|
longest_Palindrome.java
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files#diff-41b8ee72f3089e4c13e1786b9e957df04d748fb83b9da2cd51a9e83c1c71c61d |
|
validAnagram.java
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files#diff-1aad4cc77bc0c5951016b8419f68f572d404a46870aa8d6d99b00a14fcaeb0a1 |
|
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java/blob/master/.github/CODEOWNERS#L1 |
| Others/longest_Palindrome.java | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files#diff-41b8ee72f3089e4c13e1786b9e957df04d748fb83b9da2cd51a9e83c1c71c61d |
|
View file
| https://patch-diff.githubusercontent.com/amit-dat/Java/blob/03012adfe83cba7024bacf34d1f7b860e6c99a6d/Others/longest_Palindrome.java |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/{{ revealButtonHref }} |
|
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java/blob/master/.github/CODEOWNERS#L1 |
| Others/validAnagram.java | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files#diff-1aad4cc77bc0c5951016b8419f68f572d404a46870aa8d6d99b00a14fcaeb0a1 |
|
View file
| https://patch-diff.githubusercontent.com/amit-dat/Java/blob/03012adfe83cba7024bacf34d1f7b860e6c99a6d/Others/validAnagram.java |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/{{ revealButtonHref }} |
| christianbender | https://patch-diff.githubusercontent.com/christianbender |
| Apr 3, 2018 | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files#r178887108 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files |
| christianbender | https://patch-diff.githubusercontent.com/christianbender |
| Apr 3, 2018 | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files#r178891010 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files |
| christianbender | https://patch-diff.githubusercontent.com/christianbender |
| Apr 3, 2018 | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files#r178891081 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files |
| christianbender | https://patch-diff.githubusercontent.com/christianbender |
| Apr 3, 2018 | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files#r178888868 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files |
| christianbender | https://patch-diff.githubusercontent.com/christianbender |
| Apr 3, 2018 | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files#r178888936 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files |
| christianbender | https://patch-diff.githubusercontent.com/christianbender |
| Apr 3, 2018 | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files#r178888530 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files |
| christianbender | https://patch-diff.githubusercontent.com/christianbender |
| Apr 3, 2018 | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files#r178888615 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files |
| christianbender | https://patch-diff.githubusercontent.com/christianbender |
| Apr 3, 2018 | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files#r178888402 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files |
| christianbender | https://patch-diff.githubusercontent.com/christianbender |
| Apr 3, 2018 | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files#r178890244 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files |
| christianbender | https://patch-diff.githubusercontent.com/christianbender |
| Apr 3, 2018 | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files#r178890711 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://patch-diff.githubusercontent.com/TheAlgorithms/Java/pull/260/files |
|
| 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 |