RJ Trujillo d9b9bbd4f5 leetcode: Address readability of a few cases, and fix 283
The for loop utilized in 283 was improperly structured as 'start'
was no declared as the value to index.

Also, make the other cases more readable.

Signed-off-by: RJ Trujillo <certifiedblyndguy@gmail.com>
2019-10-04 17:24:30 -06:00
..

LeetCode

LeetCode Algorithm

# Title Solution Difficulty
1 Two Sum C Easy
3 Longest Substring Without Repeating Characters C Medium
20 Valid Parentheses C Easy
24 Swap Nodes in Pairs C Medium
26 Remove Duplicates from Sorted Array C Easy
27 Remove Element C Easy
35 Search Insert Position C Easy
53 Maximum Subarray C Easy
82 Remove Duplicates from Sorted List II C Medium
83 Remove Duplicates from Sorted List C Easy
94 Binary Tree Inorder Traversal C Medium
101 Symmetric Tree C Easy
104 Maximum Depth of Binary Tree C Easy
108 Convert Sorted Array to Binary Search Tree C Easy
109 Convert Sorted List to Binary Search Tree C Medium
110 Balanced Binary Tree C Easy
112 Path Sum C Easy
125 Valid Palindrome C Easy
136 Single Number C Easy
141 Linked List Cycle C Easy
142 Linked List Cycle II C Medium
153 Find Minimum in Rotated Sorted Array C Medium
160 Intersection of Two Linked Lists C Easy
169 Majority Element C Easy
173 Binary Search Tree Iterator C Medium
190 Reverse Bits C Easy
191 Number of 1 Bits C Easy
203 Remove Linked List Elements C Easy
206 Reverse Linked List C Easy
215 Kth Largest Element in an Array C Medium
217 Contains Duplicate C Easy
226 Invert Binary Tree C Easy
234 Palindrome Linked List C Easy
268 Missing Number C Easy
278 First Bad Version C Easy
283 Move Zeroes C Easy
287 Find the Duplicate Number C Medium
344 Reverse String C Easy
387 First Unique Character in a String C Easy
389 Find the Difference C Easy
404 Sum of Left Leaves C Easy
442 Find All Duplicates in an Array C Medium
509 Fibonacci Number C Easy
520 Detect Capital C Easy
561 Array Partition I C Easy
617 Merge Two Binary Trees C Easy
674 Longest Continuous Increasing Subsequence C Easy
700 Search in a Binary Search Tree C Easy
701 Insert into a Binary Search Tree C Medium
704 Binary Search C Easy
709 To Lower Case C Easy
771 Jewels and Stones C Easy
852 Peak Index in a Mountain Array C Easy
876 Middle of the Linked List C Easy
905 Sort Array By Parity C Easy
917 Reverse Only Letters C Easy
938 Range Sum of BST C Easy
965 Univalued Binary Tree C Easy
977 Squares of a Sorted Array C Easy
1189 Maximum Number of Balloons C Easy