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

Leetcode Solutions

NotificationsYou must be signed in to change notification settings

yvrakesh/Leetcode

Repository files navigation

Leetcode Questions Practice

Click on difficulty buttons (Easy, Medium, Hard) or Tags or company to filter that category problems only.

#TitleSolCompaniesDifficultyTimeSpaceTags
1Two Sum EasyO(nlogn)O(1)Array,Hash Table
2Add Two Numbers MediumO(max(m,n))O(1)Linked List,Math,Recursion
5Longest Palindromic Substring MediumO(n²)O(n²)String,DP
20Valid Parentheses EasyO(n)O(n)String,Stack
21Merge Two Sorted Lists EasyO(n)O(n)Linked List,Recursion
23Merge K Sorted Lists HardO(nlogk)O(n)Linked List,Divide And Conquer,Priority Queue,Merge Sort
42Trapping Rain Water HardO(n)O(1)Array,Two Pointers,DP,Stack
127Word Ladder HardO(nm²)O(nm)BFS,Hash Table,String
138Copy List With Random Pointers MediumO(n)O(1)Hash Table,Linked List
146LRU Cache MediumO(1)O(1)Hash Table,Linked List,Design,Doubly Linked List
200Number Of Islands MediumO(mn)O(min(m,n))Array,BFS,DFS,Matrix,Union Find
295Find Median From Data Stream HardO(logn)O(n)Two Pointers,Design,Sorting,Priority Queue,Data Stream
297Serialize And Deserialize Binary Tree HardO(n)O(n)String,Tree,Dfs,Bfs,Design,Binary Tree
692Top K Frequent Words MediumO(nlogn)O(n)Hash Table,String,Trie,Sorting,Priority Queue,Bucket Sort,Counting
763Partition Labels MediumO(n)O(n)Hash Table,Two Pointers,String,Greedy
819Most Common Word EasyO(n+m)O(n+m)Hash Table,String
937Reorder Data In Log Files EasyO(nlogn)O(n)Array,String,Sorting
973K Closest Points To Origin MediumO(nlogn)O(n)Array,Math,Divide And Conquer,Geometry,Sorting,Priority Queue,Quick Select
994Rotting Oranges MediumO(mn)O(mn)Array,BFS,Matrix
1192Critical Connections In A Network HardO(E+V)O(E+V)DFS,Graph,Biconnected Components

[8]ページ先頭

©2009-2025 Movatter.jp