Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
pathakcodes
leetcode-patterns
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
solutions
Breadcrumbs
leetcode-patterns
/
Strings
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
solutions
Breadcrumbs
leetcode-patterns
/
Strings
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
1047_Remove_All_Adjacent_Duplicates_In_String.java
1047_Remove_All_Adjacent_Duplicates_In_String.java
1209_Remove_All_Adjacent_Duplicates_in_String_II.java
1209_Remove_All_Adjacent_Duplicates_in_String_II.java
1249_Minimum_Remove_to_Make_Valid_Parentheses.java
1249_Minimum_Remove_to_Make_Valid_Parentheses.java
125_Valid_Palindrome.java
125_Valid_Palindrome.java
13_Roman_To_Integer.java
13_Roman_To_Integer.java
14_Longest_Common_Prefix.java
14_Longest_Common_Prefix.java
163_Missing_Ranges.java
163_Missing_Ranges.java
166_Fraction_to_Recurring_Decimal.java
166_Fraction_to_Recurring_Decimal.java
179_Largest_Number.java
179_Largest_Number.java
20_Valid_Parentheses.java
20_Valid_Parentheses.java
227_Basic_Calculator_II.java
227_Basic_Calculator_II.java
28_Implement_strStr.java
28_Implement_strStr.java
301_Remove_Invalid_Parentheses.java
301_Remove_Invalid_Parentheses.java
344_Reverse_String.java
344_Reverse_String.java
345_Reverse_Vowels_of_a_String.java
345_Reverse_Vowels_of_a_String.java
387_First_Unique_Character_In_String.java
387_First_Unique_Character_In_String.java
38_Count_and_Say.java
38_Count_and_Say.java
394_Decode_String.java
394_Decode_String.java
415_Add_Strings.java
415_Add_Strings.java
422_Valid_Word_Square.java
422_Valid_Word_Square.java
49_Group_Anagrams.java
49_Group_Anagrams.java
557_Reverse_Words_in_a_String_III.java
557_Reverse_Words_in_a_String_III.java
647_Palindromic_Substrings.java
647_Palindromic_Substrings.java
67_Add_Binary.java
67_Add_Binary.java
680_Valid_Palindrome_II.java
680_Valid_Palindrome_II.java
8_String_to_Integer_(atoi).java
8_String_to_Integer_(atoi).java
921_Minimum_Add_to_Make_Parentheses_Valid.java
921_Minimum_Add_to_Make_Parentheses_Valid.java
View all files
You can’t perform that action at this time.