LeetCode-Swift Straightforward solutions Key Features All solutions have been accepted by LeetCode. Written in Swift 4.2 Difficulty Legends Difficulty Easy Medium Hard Icon 📗 📙 📕 Problems and Solutions 1 to 100 # Difficulty Problem Title Solution 0001 📗 Two Sum Solution 0002 📙 Add Two Numbers Solution 0003 📙 Longest Substring Without Repeating Characters Solution 0004 📕 Median of Two Sorted Arrays Solution 0005 📙 Longest Palindromic Substring Solution 0006 📙 ZigZag Conversion Solution 0007 📗 Reverse Integer Solution 0009 📗 Palindrome Number Solution 0011 📙 Container With Most Water Solution 0012 📙 Integer to Roman Solution 0013 📗 Roman to Integer Solution 0014 📗 Longest Common Prefix Solution 0015 📙 3Sum Solution 0016 📙 3Sum Closest Solution 0017 📙 Letter Combinations of a Phone Number Solution 0018 📙 4Sum Solution 0019 📙 Remove Nth Node From End of List Solution 0020 📗 Valid Parentheses Solution 0021 📗 Merge Two Sorted Lists Solution 0023 📕 Merge k Sorted Lists Solution 0024 📙 Swap Nodes in Pairs Solution 0025 📕 Swap Nodes in Pairs Solution 0026 📗 Remove Duplicate from Sorted Array Solution 0027 📗 Remove Element Solution 0028 📗 Implement strStr() Solution 0029 📙 Divide Two Integers Solution 0033 📙 Search in Rotated Sorted Array Solution 0034 📙 Find First and Last Position of Element in Sorted Array Solution 0035 📗 Search Insert Position Solution 0039 📙 Combination Sum Solution 0040 📙 Combination Sum II Solution 0041 📕 First Missing Positive Solution 0043 📙 Multiply Strings Solution 0044 📕 Wildcard Matching Solution 0046 📙 Permutations Solution 0047 📙 Permutations II Solution 0048 📙 Rotate Image Solution 0049 📙 Group Anagrams Solution 0050 📙 Pow(x, n) Solution 0053 📗 Maximum Subarray Solution 0054 📙 Spiral Matrix Solution 0056 📙 Merge Intervals Solution 0057 📕 Insert Interval Solution 0060 📙 Minimum Path Sum Solution 0061 📙 Rotate List Solution 0062 📙 Unique Paths Solution 0063 📙 Unique Paths II Solution 0064 📙 Minimum Path Sum Solution 0066 📗 Plus One Solution 0067 📗 Add Binary Solution 0070 📗 Climbing Stairs Solution 0073 📙 Set Matrix Zeroes Solution 0074 📙 Search a 2D Matrix Solution 0075 📙 Sort Colors Solution 0077 📙 Combinations Solution 0078 📙 Subsets Solution 0079 📙 Word Search Solution 0080 📙 Remove Duplicates from Sorted Array II Solution 0082 📙 Remove Duplicates from Sorted List II Solution 0086 📙 Partition List Solution 0088 📗 Merge Sorted Array Solution 0090 📙 Subsets II Solution 0098 📙 Validate Binary Search Tree Solution