Skip to content

Latest commit

 

History

History
165 lines (116 loc) · 9.63 KB

README_EN.md

File metadata and controls

165 lines (116 loc) · 9.63 KB

LeetCode-GitHub-Doocs

languages LICENSE
stars forks PRs Welcome open-source-organization

Introduction

Complete solutions to LeetCode, LCOF and LCCI problems, updated daily.

中文文档

Sites

Solutions

  1. LeetCode
  2. LCOF: Coding Interviews, 2nd Edition
  3. LCCI: Cracking the Coding Interview, 6th Edition

Basic Algorithms

Sorting

  1. Bubble Sort
  2. Insertion Sort
  3. Selection Sort
  4. Merge Sort
  5. Quick Sort

Searching

  1. Binary Search
  2. Binary Search II

High Frequency Interview Questions

Arrays

  1. Rotate Array
  2. 3Sum
  3. 4Sum
  4. Merge Sorted Array
  5. Find Minimum in Rotated Sorted Array
  6. Find Minimum in Rotated Sorted Array II

Strings

  1. Reverse Vowels of a String

Linked List

  1. Delete Node in a Linked List
  2. Kth Node From End of List
  3. Swap Nodes in Pairs
  4. Merge Two Sorted Lists
  5. Merge k Sorted Lists
  6. Insertion Sort List
  7. Sort List
  8. Reverse Linked List
  9. Reverse Linked List II
  10. Reorder List
  11. Rotate List
  12. Palindrome Linked List
  13. Intersection of Two Linked Lists
  14. Odd Even Linked List
  15. Linked List Cycle
  16. Linked List Cycle II
  17. Design Linked List

Binary Tree

  1. Symmetric Tree
  2. Binary Tree Level Order Traversal
  3. Binary Tree Level Order Traversal II
  4. Maximum Depth of Binary Tree
  5. Minimum Depth of Binary Tree
  6. Path Sum
  7. Construct Binary Tree from Preorder and Inorder Traversal
  8. Construct Binary Tree from Inorder and Postorder Traversal
  9. Lowest Common Ancestor of a Binary Tree
  10. Lowest Common Ancestor of a Binary Search Tree

Math

  1. Set Mismatch
  2. Count Primes

Stack & Queue

  1. Valid Parentheses
  2. Min Stack
  3. Implement Queue using Stacks
  4. Implement Stack using Queues
  5. Evaluate Reverse Polish Notation
  6. Number of Recent Calls
  7. Daily Temperatures

Dynamic Programming

  1. House Robber
  2. House Robber II

Misc

  1. Combine Two Tables
  2. Second Highest Salary
  3. Nth Highest Salary
  4. Rank Scores

Maintainer

Yang Libin: Creator of @Doocs technical community; member of @TheAlgorithms organization.

Contributions

I'm looking for long-term contributors/partners to this repo! Send me PRs if you're interested! See the following:

  1. Fork this repository to your own GitHub account and then clone it to your local machine.
  2. Make some changes to your leetcode repository, then add, commit and push the changes to your remote GitHub repository.
  3. Submit a pull request with your changes!
  4. See CONTRIBUTING or GitHub Help for more details.

how-to-contribute

You can also contribute to doocs/leetcode using Gitpod.io, a free online dev environment with a single click.

Open in Gitpod

Contributors

This project exists thanks to all the people who contribute.

Backers & Sponsors

Thank you to all our backers and sponsors!

"You help the developer community practice for interviews, and there is nothing better we could ask for." -- Alan Yessenbayev

License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

FOSSA Status