Skip to content

The algorithm of Leetcode with Python3.x and C++. SQL and Shell.

Notifications You must be signed in to change notification settings

daidai21/Leetcode

Repository files navigation

Leetcode-Algorithm

Instructions: This repository is still being updated!

I write this code about algorithm of leetcode with Python3.x and C++(c11).(There are some minor problems with the C++ code style here. This size of Tab should be 2) You can Ctrl + F on browser or clone this repository, then read this code about the leetcode problem. The best solution is the solution and discussion provided by leetcode. Welcome to Fork or Star, if you think this can help you. You can Pull Request or Email to me, if you have any question, please. Finally, recommend some links: Leetcode Company, azl397985856/leetcode and LeetCode全部题目.

Tags

Just list the classic questions.

  • Data Structure
    • Bit Manipulation
    • Number
    • Array
    • String
    • Linked List
    • Stack
    • Queue
    • Hashing
    • Heap
    • Tree
    • Graph
    • SkipList
  • Algorithm
    • Sort
    • Search
      • Binary Search
      • Depth First Search
      • Breadth First Search
    • Dynamic Programming
    • Backtracking
    • Greedy
    • Recursion
    • Trie
    • Divide and Conquer
  • Math
  • Magic
    • Two Pointer / Sliding Window
    • Slow And Fast Pointer
  • Other
    • Design

Script

Finish problem count: find Algorithms/ -type f -exec basename {} \; | awk -F '-' '{print $1"\t"$2}' | awk '{print $1}' | sort | uniq | grep -E "[0-9]" | wc -l

CopyRight

  • For learning only, Refuse to reprint, please. Github@daidai21