Skip to content Navigation Menu Toggle navigation Sign in Appearance settings PlatformAI CODE CREATIONGitHub CopilotWrite better code with AIGitHub Copilot appDirect agents from issue to mergeMCP RegistryNewIntegrate external toolsDEVELOPER WORKFLOWSActionsAutomate any workflowCodespacesInstant dev environmentsIssuesPlan and track workCode ReviewManage code changesAPPLICATION SECURITYGitHub Advanced SecurityFind and fix vulnerabilitiesCode securitySecure your code as you buildSecret protectionStop leaks before they startEXPLOREWhy GitHubDocumentationBlogChangelogMarketplaceView all featuresSolutionsBY COMPANY SIZEEnterprisesSmall and medium teamsStartupsNonprofitsBY USE CASEApp ModernizationDevSecOpsDevOpsCI/CDView all use casesBY INDUSTRYHealthcareFinancial servicesManufacturingGovernmentView all industriesView all solutionsResourcesEXPLORE BY TOPICAISoftware DevelopmentDevOpsSecurityView all topicsEXPLORE BY TYPECustomer storiesEvents & webinarsEbooks & reportsBusiness insightsGitHub SkillsSUPPORT & SERVICESDocumentationCustomer supportCommunity forumTrust centerPartnersView all resourcesOpen SourceCOMMUNITYGitHub SponsorsFund open source developersPROGRAMSSecurity LabMaintainer CommunityAcceleratorGitHub StarsArchive ProgramREPOSITORIESTopicsTrendingCollectionsEnterpriseENTERPRISE SOLUTIONSEnterprise platformAI-powered developer platformAVAILABLE ADD-ONSGitHub Advanced SecurityEnterprise-grade security featuresCopilot for BusinessEnterprise-grade AI featuresPremium SupportEnterprise-grade 24/7 supportPricing Search or jump to... Search code, repositories, users, issues, pull requests... Search Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Saved searches Use saved searches to filter your results more quickly Name Query To see all available qualifiers, see our documentation. Sign in Sign up Appearance settings Resetting focus 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 }} fiteen / LeetCode_Swift Public Notifications You must be signed in to change notification settings Fork 0 Star 1 Code Issues 0 Pull requests 0 Actions Projects Security and quality 0 Insights Additional navigation options Code Issues Pull requests Actions Projects Security and quality Insights fiteen/LeetCode_Swift masterBranchesTagsGo to fileCodeOpen more actions menuFolders and filesNameNameLast commit messageLast commit dateLatest commit History50 Commits50 CommitsEasyEasy HardHard MediumMedium README-zh_CN.mdREADME-zh_CN.md README.mdREADME.md View all filesRepository files navigationREADMELeetCode_Swift English | 简体中文 # Question Difficulty 1 Two Sum Easy 2 Add Two Numbers Medium 3 Longest Substring Without Repeating Characters Medium 4 Median of Two Sorted Arrays Hard 5 Longest Palindromic Substring Medium 6 ZigZag Conversion Medium 7 Reverse Integer Easy 8 String to Integer (atoi) Medium 9 Palindrome Number Easy 10 Regular Expression Matching Hard 11 Container With Most Water Medium 12 Integer to Roman Medium 13 Roman to Integer Easy 14 Longest Common Prefix Easy 15 3Sum Medium 16 3Sum Closest Medium 17 Letter Combinations of a Phone Number Medium 18 4Sum Medium 19 Remove Nth Node From End of List Medium 20 Valid Parentheses Easy 21 Merge Two Sorted Lists Easy 22 Generate Parentheses Medium 23 Merge k Sorted Lists Hard 24 Swap Nodes in Pairs Medium 25 Reverse Nodes in k-Group Hard 26 Remove Duplicates from Sorted Array Easy 27 Remove Element Easy 28 Implement strStr() Easy 29 Divide Two Integers Medium 30 Substring with Concatenation of All Words Hard 31 Next Permutation Medium 32 Longest Valid Parentheses Hard 33 Search in Rotated Sorted Array Medium 34 Find First and Last Position of Element in Sorted Array Medium 35 Search Insert Position Easy 50 Pow(x, n) Medium 134 Gas Station Medium About ⌨️ Solutions to LeetCode by Swift.(LeetCode 刷题记录) blog.fiteen.top/leetcode Topics swift leetcode leetcode-solutions leetcode-swift Resources Readme Uh oh! There was an error while loading. Please reload this page. Activity Stars 1 star Watchers 0 watching Forks 0 forks Report repository Releases No releases published Packages 0 Uh oh! There was an error while loading. Please reload this page. Contributors Uh oh! There was an error while loading. Please reload this page. You can’t perform that action at this time.
LeetCode_Swift English | 简体中文 # Question Difficulty 1 Two Sum Easy 2 Add Two Numbers Medium 3 Longest Substring Without Repeating Characters Medium 4 Median of Two Sorted Arrays Hard 5 Longest Palindromic Substring Medium 6 ZigZag Conversion Medium 7 Reverse Integer Easy 8 String to Integer (atoi) Medium 9 Palindrome Number Easy 10 Regular Expression Matching Hard 11 Container With Most Water Medium 12 Integer to Roman Medium 13 Roman to Integer Easy 14 Longest Common Prefix Easy 15 3Sum Medium 16 3Sum Closest Medium 17 Letter Combinations of a Phone Number Medium 18 4Sum Medium 19 Remove Nth Node From End of List Medium 20 Valid Parentheses Easy 21 Merge Two Sorted Lists Easy 22 Generate Parentheses Medium 23 Merge k Sorted Lists Hard 24 Swap Nodes in Pairs Medium 25 Reverse Nodes in k-Group Hard 26 Remove Duplicates from Sorted Array Easy 27 Remove Element Easy 28 Implement strStr() Easy 29 Divide Two Integers Medium 30 Substring with Concatenation of All Words Hard 31 Next Permutation Medium 32 Longest Valid Parentheses Hard 33 Search in Rotated Sorted Array Medium 34 Find First and Last Position of Element in Sorted Array Medium 35 Search Insert Position Easy 50 Pow(x, n) Medium 134 Gas Station Medium