Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mustafah15/leetcode.go


https://github.com/mustafah15/leetcode.go

Last synced: 5 days ago
JSON representation

Awesome Lists containing this project

README

        

# leetcode Go Solutions
| problem on leet code |solution | tags | |
|---|---|---|---|
|[125. Valid Palindrome](https://leetcode.com/problems/valid-palindrome/description/) | [solution](./two_pointers/valid_palindrome/isPlaindrome.go) | easy, string, two-pointers |
|[167. Two Sum II - Input Array Is Sorted](https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/) | [solution](two_pointers/two_sum/two_sum.go) | medium, binary-search, two-pointers |
|[11. Container With Most Water](https://leetcode.com/problems/container-with-most-water/) | [solution](two_pointers/container_with_most_water/max_area.go) | medium, greedy, two-pointers |
|[15. 3Sum](https://leetcode.com/problems/3sum/) | [solution](two_pointers/three_sum/three_sum.go) | medium, sorting, two-pointers |
|[20. Valid Parentheses](https://leetcode.com/problems/valid-parentheses/) | [solution](stacks/valid_parantheses/valid_parentheses.go) | easy, string, stack |
|[155. Min Stack](https://leetcode.com/problems/min-stack/) | [solution](stacks/min_stack/min_stack.go) | medium, design, stack |
|[22. Generate Parentheses](https://leetcode.com/problems/generate-parentheses/) | [solution](backtracking/generate_parenthesis/generate_parenthesis.go) | medium, design, backtracking |
|[144. Binary Tree Preorder Traversal](https://leetcode.com/problems/generate-parentheses/) | [solution](backtracking/btree_preorder_traversal/preorder_traversal.go) | easy, stack, backtracking |
|[94. Binary Tree Inorder Traversal](https://leetcode.com/problems/binary-tree-inorder-traversal/) | [solution](backtracking/btree_inorder_traversal/inorder_traversal.go) | easy, stack, backtracking |
|[145. Binary Tree Postorder Traversal](https://leetcode.com/problems/binary-tree-postorder-traversal) | [solution](backtracking/btree_postorder_traversal/postorder_traversal.go) | easy, stack, backtracking |
|[226. Invert Binary Tree](https://leetcode.com/problems/invert-binary-tree/) | [solution](backtracking/invert_btree/invert_btree.go) | easy, dfs, backtracking |
|[704. Binary Search](https://leetcode.com/problems/binary-search) | [solution](binary_search/search.go) | easy, binarysearch |
|[206. Reverse Linked List](https://leetcode.com/problems/reverse-linked-list) | [solution](linkedlist/reverse_list.go) | easy, linkedlist |
|[39. Combination Sum](https://leetcode.com/problems/combination-sum) | [solution](backtracking/combination-sum/combination-sum.go) | medium, backtracking, array |
|[739. Daily Temperatures](https://leetcode.com/problems/daily-temperatures/) | [solution](stacks/daily_tempratures.go) | medium, stack, array |
|[853. Car Fleet](https://leetcode.com/problems/car-fleet) | [solution](stacks/car_fleet/car_fleet.go) | medium, stack, array |
|[84. Largest Rectangle in Histogram](https://leetcode.com/problems/largest-rectangle-in-histogram/) | [solution](stacks/largest_rectangle/largest_rectangle.go) | hard, stack, array |
|[3. Longest Substring Without Repeating Characters](https://leetcode.com/problems/longest-substring-without-repeating-characters/) | [solution](sliding_window/length_of_longest_substr.go) | medium, string, sliding-window |
|[567. Permutation in String](https://leetcode.com/problems/permutation-in-string/description/) | [solution](sliding_window/permutation_in_string.go) | medium, string, sliding-window |
|[121. Best Time to Buy and Sell Stock](https://leetcode.com/problems/best-time-to-buy-and-sell-stock) | [solution](sliding_window/best_time_to_buy_stock.go) | easy, array, sliding-window |
|[21. Merge Two Sorted Lists](https://leetcode.com/problems/merge-two-sorted-lists) | [solution](linkedlist/mergeTwoLists.go) | easy, linkedlist |
|[19. Remove Nth Node From End of List](https://leetcode.com/problems/remove-nth-node-from-end-of-list//) | [solution](linkedlist/remove_nth_from_end.go) | medium, two-pointers, linkedlist |
|[876. Middle of the Linked List](https://leetcode.com/problems/middle-of-the-linked-list) | [solution](linkedlist/middle_node.go) | easy, linkedlist, two-pointers |
|[141. Linked List Cycle](https://leetcode.com/problems/linked-list-cycle//) | [solution](linkedlist/linked_list_cycle.go) | easy, linkedlist, two-pointers |