/leetcode

Primary LanguageSwift

Leetcode

# Title Solution Runtime
1 Two Sum Swift 32 ms
2 Add Two Numbers Swift 44 ms
3 Longest Substring Without Repeating Characters Swift 32 ms
15 3Sum Swift 1040 ms
19 Remove Nth Node From End of List Swift 8 ms
33 Search in Rotated Sorted Array Swift 12 ms
35 Search Insert Position Swift 28 ms
53 Maximum Subarray Swift 36 ms
54 Spiral Matrix Swift 0 ms
56 Merge Intervals Swift 84 ms
84 Largest Rectangle in Histogram Swift 1132 ms
102 Binary Tree Level Order Traversal Swift 8 ms
104 Maximum Depth of Binary Tree Swift 28 ms
110 Balanced Binary Tree Swift 48 ms
121 Best Time to Buy and Sell Stock Swift 960 ms
133 Clone Graph Swift 20 ms
151 Reverse Words in a String Swift 24 ms
162 Find Peak Element Swift 24 ms
199 Binary Tree Right Side View Swift 4 ms
206 Reverse Linked List Swift 12 ms
207 Course Schedule Swift 100 ms
226 Invert Binary Tree Swift 4 ms
238 Product of Array Except Self Swift 216 ms
240 Search a 2D Matrix II Swift 304 ms
283 Move Zeroes Swift 40 ms
380 Insert Delete GetRandom O(1) Swift 132 ms
509 Fibonacci Number Swift 0 ms
704 Binary Search Swift 304 ms
743 Network Delay Time Swift 3692 ms
997 Find the Town Judge Swift 816 ms