Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

License

NotificationsYou must be signed in to change notification settings

patrickpeng0928/Leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The number of LeetCode questions is increasing every week. I'll keep updating for full summary and better solutions. Stay tuned for updates.(Notes: "📖" means you need to subscribe toLeetCode premium membership for the access to premium questions.)

Algorithms

Database

  • [SQL]

Shell

  • [Shell Script]
#TitleSolutionTimeSpaceDifficultyTagNote
136Single NumberPython
Scala
O(n)O(1)Easy
190Reverse BitsPythonO(1)O(1)Easy
191Number of 1 BitsPythonO(1)O(1)Easy
231Power of TwoPythonO(1)O(1)Easy
342Power of FourPythonO(1)O(1)Easy
371Sum of Two IntegersPythonO(1)O(1)Easy
389Find the DifferencePythonO(1)O(1)Easy

| 137 |Single Number II |Python | O(n) | O(1) | Medium | | || 201 |Bitwise AND of Numbers Range |Python | O(1) | O(1) | Medium | | || 260 |Single Number III |Python | O(1) | O(1) | Medium | | |

#TitleSolutionTimeSpaceDifficultyTagNote
136Single NumberPythonO(n^2)O(n)Easy
389Find the DifferencePythonO(1)O(1)Easy

String

#TitleSolutionTimeSpaceDifficultyTagNote
190Reverse BitsPythonO(1)O(1)Easy
231Power of TwoPythonO(1)O(1)Easy
342Power of FourPythonO(1)O(1)Easy
003Longest Substring Without Repeating CharactersPythonO(n)O(n)MediumSliding window
159Longest Substring with At Most Two Distinct CharactersPythonO(n)O(n)HardSliding window
340Longest Substring with At Most K Distinct CharactersPythonO(n)O(1)HardSliding window
395Longest Substring with At Least K Repeating CharactersPythonO(n)O(1)HardDivide and Conquer
424Longest Repeating Character ReplacementPythonO(n)O(1)Medium

Linked List

#TitleSolutionTimeSpaceDifficultyTagNote

Stack

#TitleSolutionTimeSpaceDifficultyTagNote

Queue

#TitleSolutionTimeSpaceDifficultyTagNote

Heap

#TitleSolutionTimeSpaceDifficultyTagNote

Tree

#TitleSolutionTimeSpaceDifficultyTagNote

Hash Table

#TitleSolutionTimeSpaceDifficultyTagNote
136Single NumberPythonO(n)O(n)Easy
159Longest Substring with At Most Two Distinct CharactersPythonO(n)O(1)HardSliding window
340Longest Substring with At Most K Distinct CharactersPythonO(n)O(1)HardSliding window

Math

#TitleSolutionTimeSpaceDifficultyTagNote
136Single NumberPythonO(n)O(n)Easy
137Single Number IIPythonO(n)O(n)Easy
231Power of TwoPythonO(1)O(1)Easy
342Power of FourPythonO(1)O(1)Easy
389Find the DifferencePythonO(1)O(1)Easy

Sort

#TitleSolutionTimeSpaceDifficultyTagNote

Two Pointers

#TitleSolutionTimeSpaceDifficultyTagNote

Recursion

#TitleSolutionTimeSpaceDifficultyTagNote
395Longest Substring with At Least K Repeating CharactersPythonO(n)O(1)MediumDivide and Conquer

Binary Search

#TitleSolutionTimeSpaceDifficultyTagNote

Binary Search Tree

#TitleSolutionTimeSpaceDifficultyTagNote

Breadth-First Search

#TitleSolutionTimeSpaceDifficultyTagNote

Depth-First Search

#TitleSolutionTimeSpaceDifficultyTagNote

Backtracking

#TitleSolutionTimeSpaceDifficultyTagNote

Dynamic Programming

#TitleSolutionTimeSpaceDifficultyTagNote

Greedy

#TitleSolutionTimeSpaceDifficultyTagNote

Design

#TitleSolutionTimeSpaceDifficultyTagNote

SQL

#TitleSolutionTimeSpaceDifficultyTagNote

Shell Script

#TitleSolutionTimeSpaceDifficultyTagNote

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp