![example workflow](https://github.com/weitieda/swift-algorithms/actions/workflows/main.yml/badge.svg?raw=true)
![banner](https://raw.githubusercontent.com/weitieda/swift-algorithms/main/asset/banner.jpeg)
Solve LeetCode and HackerRank algorithm problems in Swift
- Swifty in mind
- Covered by
Unit Test
with timeout validation
π§π»βπ» Work in progress...
run make readme
to update
SmallestDifference
MonotonicArray
ValidateSubsequence
FirstDuplicateValue
FindDuplicateNumber
ThreeSum
KadaneAlgorithmsMaximumSubarray
ProductOfArrayExceptSelf
MergeIntervals
TwoSum
LongestMountainInArray
ThreeSumDistinct
MoveElementToEnd
SpiralMatrix
SpiralMatrixReversed
BinaryTreeSum
DepthFirstTraversal
BranchSum
FindClosestValueInBST
BreadthFirstTraversal
CourseSchedule
ReconstructItinerary
RemoveDuplicatesFromSortedOrderLinkedList
Subsets
ProductSum
ReverseStringRecursively
GridTravelerUniquePaths
Permutation
Combinations
NthFibonacci
RecursiveSum
CombinationSum
BinarySearch
InsertionSort
BubbleSort
QuickSort
ReverseWordsInString
CaesarCipherEncryptor
ValidPalindrome
RunLengthEncoding
GroupAnagrams
LongestPalindromicSubstring
Tieda Wei
Algorithms is available under the MIT license. See the LICENSE file for more information.