0136 | Single Number | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Bit_Manipulation, Big_O_Time_O(N)_Space_O(1) | 1 | 99.97 |
0169 | Majority Element | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Sorting, Counting, Divide_and_Conquer, Big_O_Time_O(n)_Space_O(1) | 1 | 100.00 |
0015 | 3Sum | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Two_Pointers, Big_O_Time_O(n*log(n))_Space_O(n^2) | 29 | 82.24 |
0075 | Sort Colors | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 0 | 100.00 |
0056 | Merge Intervals | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Big_O_Time_O(n_log_n)_Space_O(n) | 8 | 96.27 |
0048 | Rotate Image | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Math, Matrix, Big_O_Time_O(n^2)_Space_O(1) | 0 | 100.00 |
0240 | Search a 2D Matrix II | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Binary_Search, Matrix, Divide_and_Conquer, Big_O_Time_O(n+m)_Space_O(1) | 7 | 86.73 |
0238 | Product of Array Except Self | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Prefix_Sum, Big_O_Time_O(n^2)_Space_O(n) | 1 | 100.00 |
0560 | Subarray Sum Equals K | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Hash_Table, Prefix_Sum, Big_O_Time_O(n)_Space_O(n) | 21 | 98.97 |
| | | | | | | |-|-|-|-|-|-|-
0763 | Partition Labels | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | String, Hash_Table, Greedy, Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 1 | 100.00 |
0049 | Group Anagrams | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, String, Hash_Table, Sorting, Big_O_Time_O(n*k_log_k)_Space_O(n) | 6 | 92.28 |
0005 | Longest Palindromic Substring | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Big_O_Time_O(n)_Space_O(n) | 7 | 96.96 |
0002 | Add Two Numbers | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Math, Linked_List, Recursion, Big_O_Time_O(max(N,M))_Space_O(max(N,M)), AI_can_be_used_to_solve_the_task | 1 | 100.00 |
0142 | Linked List Cycle II | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Hash_Table, Two_Pointers, Linked_List, Big_O_Time_O(N)_Space_O(1) | 0 | 100.00 |
0160 | Intersection of Two Linked Lists | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Two_Pointers, Linked_List, Big_O_Time_O(M+N)_Space_O(1) | 1 | 99.68 |
0024 | Swap Nodes in Pairs | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Linked_List, Recursion, Big_O_Time_O(n)_Space_O(1) | 0 | 100.00 |
0025 | Reverse Nodes in k-Group | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Hard | Top_100_Liked_Questions, Linked_List, Recursion, Big_O_Time_O(n)_Space_O(k) | 0 | 100.00 |
0155 | Min Stack | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Stack, Design, Big_O_Time_O(1)_Space_O(N) | 3 | 100.00 |
0105 | Construct Binary Tree from Preorder and Inorder Traversal | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Tree, Binary_Tree, Divide_and_Conquer, Big_O_Time_O(N)_Space_O(N) | 3 | 86.35 |
| | | | | | | |-|-|-|-|-|-|-
0230 | Kth Smallest Element in a BST | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Big_O_Time_O(n)_Space_O(n) | 1 | 78.91 |
0236 | Lowest Common Ancestor of a Binary Tree | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n) | 10 | 56.51 |
| | | | | | | |-|-|-|-|-|-|-
0215 | Kth Largest Element in an Array | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Heap_Priority_Queue, Divide_and_Conquer, Quickselect, Big_O_Time_O(n*log(n))_Space_O(log(n)) | 5 | 70.82 |
0347 | Top K Frequent Elements | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Hash_Table, Sorting, Heap_Priority_Queue, Counting, Divide_and_Conquer, Quickselect, Bucket_Sort, Big_O_Time_O(n*log(n))_Space_O(k) | 9 | 97.93 |
| | | | | | | |-|-|-|-|-|-|-
0035 | Search Insert Position | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Array, Binary_Search, Big_O_Time_O(log_n)_Space_O(1) | 0 | 100.00 |
0189 | Rotate Array | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Math, Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 0 | 100.00 |
0283 | Move Zeroes | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Array, Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 2 | 79.54 |
| | | | | | | |-|-|-|-|-|-|-
0019 | Remove Nth Node From End of List | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Two_Pointers, Linked_List, Big_O_Time_O(L)_Space_O(L) | 0 | 100.00 |
0003 | Longest Substring Without Repeating Characters | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n)_Space_O(1) | 2 | 99.52 |
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
0021 | Merge Two Sorted Lists | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(m+n)_Space_O(m+n) | 0 | 100.00 |
0206 | Reverse Linked List | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(N)_Space_O(1) | 0 | 100.00 |
0046 | Permutations | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Backtracking, Big_O_Time_O(n*n!)_Space_O(n+n!) | 1 | 95.07 |
0070 | Climbing Stairs | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Math, Memoization, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 |
0198 | House Robber | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 |
| | | | | | | |-|-|-|-|-|-|-
0136 | Single Number | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Bit_Manipulation, Big_O_Time_O(N)_Space_O(1) | 1 | 99.97 |
0034 | Find First and Last Position of Element in Sorted Array | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Binary_Search, Big_O_Time_O(log_n)_Space_O(1) | 0 | 100.00 |
0033 | Search in Rotated Sorted Array | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Binary_Search, Big_O_Time_O(log_n)_Space_O(1) | 0 | 100.00 |
0074 | Search a 2D Matrix | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Binary_Search, Matrix, Big_O_Time_O(endRow+endCol)_Space_O(1) | 0 | 100.00 |
0153 | Find Minimum in Rotated Sorted Array | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Binary_Search, Big_O_Time_O(log_N)_Space_O(log_N) | 0 | 100.00 |
0015 | 3Sum | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Two_Pointers, Big_O_Time_O(n*log(n))_Space_O(n^2) | 29 | 82.24 |
0011 | Container With Most Water | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Greedy, Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 3 | 95.71 |
0438 | Find All Anagrams in a String | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n+m)_Space_O(1) | 6 | 99.03 |
0200 | Number of Islands | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find, Big_O_Time_O(M*N)_Space_O(M*N) | 3 | 97.76 |
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
0078 | Subsets | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Bit_Manipulation, Backtracking, Big_O_Time_O(2^n)_Space_O(n*2^n) | 1 | 70.60 |
0039 | Combination Sum | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Backtracking, Big_O_Time_O(2^n)_Space_O(n+2^n) | 1 | 100.00 |
0017 | Letter Combinations of a Phone Number | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Backtracking, Big_O_Time_O(4^n)_Space_O(n) | 0 | 100.00 |
0022 | Generate Parentheses | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Backtracking, Big_O_Time_O(2^n)_Space_O(n) | 0 | 100.00 |
0079 | Word Search | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Matrix, Backtracking, Big_O_Time_O(4^(m*n))_Space_O(m*n) | 157 | 78.97 |
0055 | Jump Game | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Greedy, Big_O_Time_O(n)_Space_O(1) | 2 | 79.47 |
0045 | Jump Game II | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Greedy, Big_O_Time_O(n)_Space_O(1) | 2 | 49.02 |
0062 | Unique Paths | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Math, Combinatorics, Big_O_Time_O(m*n)_Space_O(m*n) | 0 | 100.00 |
0005 | Longest Palindromic Substring | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Big_O_Time_O(n)_Space_O(n) | 7 | 96.96 |
0139 | Word Break | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Dynamic_Programming, Trie, Memoization, Big_O_Time_O(M+max*N)_Space_O(M+N+max) | 2 | 97.08 |
0300 | Longest Increasing Subsequence | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Binary_Search, Big_O_Time_O(n*log_n)_Space_O(n) | 3 | 98.63 |
1143 | Longest Common Subsequence | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, String, Dynamic_Programming, Big_O_Time_O(n*m)_Space_O(n*m) | 33 | 46.23 |
0072 | Edit Distance | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, String, Dynamic_Programming, Big_O_Time_O(n^2)_Space_O(n2) | 4 | 90.13 |
0322 | Coin Change | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Breadth_First_Search, Big_O_Time_O(m*n)_Space_O(amount) | 17 | 91.77 |
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
0035 | Search Insert Position | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Array, Binary_Search, Big_O_Time_O(log_n)_Space_O(1) | 0 | 100.00 |
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
0034 | Find First and Last Position of Element in Sorted Array | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Binary_Search, Big_O_Time_O(log_n)_Space_O(1) | 0 | 100.00 |
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
0074 | Search a 2D Matrix | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Binary_Search, Matrix, Big_O_Time_O(endRow+endCol)_Space_O(1) | 0 | 100.00 |
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
0033 | Search in Rotated Sorted Array | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Binary_Search, Big_O_Time_O(log_n)_Space_O(1) | 0 | 100.00 |
0153 | Find Minimum in Rotated Sorted Array | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Binary_Search, Big_O_Time_O(log_N)_Space_O(log_N) | 0 | 100.00 |
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
0300 | Longest Increasing Subsequence | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Binary_Search, Big_O_Time_O(n*log_n)_Space_O(n) | 3 | 98.63 |
| | | | | | | |-|-|-|-|-|-|-
0287 | Find the Duplicate Number | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Binary_Search, Two_Pointers, Bit_Manipulation, Big_O_Time_O(n)_Space_O(n) | 2 | 99.82 |
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
0240 | Search a 2D Matrix II | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Binary_Search, Matrix, Divide_and_Conquer, Big_O_Time_O(n+m)_Space_O(1) | 7 | 86.73 |
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
0070 | Climbing Stairs | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Math, Memoization, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 |
0198 | House Robber | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 |
0055 | Jump Game | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Greedy, Big_O_Time_O(n)_Space_O(1) | 2 | 79.47 |
0045 | Jump Game II | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Greedy, Big_O_Time_O(n)_Space_O(1) | 2 | 49.02 |
0053 | Maximum Subarray | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Divide_and_Conquer, Big_O_Time_O(n)_Space_O(1) | 1 | 100.00 |
0152 | Maximum Product Subarray | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(N)_Space_O(1) | 1 | 92.31 |
0121 | Best Time to Buy and Sell Stock | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(N)_Space_O(1) | 1 | 100.00 |
| | | | | | | |-|-|-|-|-|-|-
0139 | Word Break | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Dynamic_Programming, Trie, Memoization, Big_O_Time_O(M+max*N)_Space_O(M+N+max) | 2 | 97.08 |
0042 | Trapping Rain Water | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Hard | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Two_Pointers, Stack, Monotonic_Stack, Big_O_Time_O(n)_Space_O(1) | 0 | 100.00 |
| | | | | | | |-|-|-|-|-|-|-
0096 | Unique Binary Search Trees | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Dynamic_Programming, Math, Tree, Binary_Tree, Binary_Search_Tree, Big_O_Time_O(n)_Space_O(1) | 0 | 100.00 |
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
0062 | Unique Paths | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Math, Combinatorics, Big_O_Time_O(m*n)_Space_O(m*n) | 0 | 100.00 |
0064 | Minimum Path Sum | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Matrix, Big_O_Time_O(m*n)_Space_O(m*n) | 0 | 100.00 |
0221 | Maximal Square | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Array, Dynamic_Programming, Matrix, Big_O_Time_O(m*n)_Space_O(m*n) | 7 | 72.35 |
0005 | Longest Palindromic Substring | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Big_O_Time_O(n)_Space_O(n) | 7 | 96.96 |
0300 | Longest Increasing Subsequence | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Binary_Search, Big_O_Time_O(n*log_n)_Space_O(n) | 3 | 98.63 |
1143 | Longest Common Subsequence | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, String, Dynamic_Programming, Big_O_Time_O(n*m)_Space_O(n*m) | 33 | 46.23 |
0072 | Edit Distance | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, String, Dynamic_Programming, Big_O_Time_O(n^2)_Space_O(n2) | 4 | 90.13 |
0322 | Coin Change | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Breadth_First_Search, Big_O_Time_O(m*n)_Space_O(amount) | 17 | 91.77 |
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
0283 | Move Zeroes | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Array, Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 2 | 79.54 |
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
0104 | Maximum Depth of Binary Tree | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_Space_O(H) | 0 | 100.00 |
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
0739 | Daily Temperatures | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Stack, Monotonic_Stack, Big_O_Time_O(n)_Space_O(n) | 10 | 94.99 |
0048 | Rotate Image | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Math, Matrix, Big_O_Time_O(n^2)_Space_O(1) | 0 | 100.00 |
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
0049 | Group Anagrams | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, String, Hash_Table, Sorting, Big_O_Time_O(n*k_log_k)_Space_O(n) | 6 | 92.28 |
0438 | Find All Anagrams in a String | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n+m)_Space_O(1) | 6 | 99.03 |
| | | | | | | |-|-|-|-|-|-|-
0138 | Copy List with Random Pointer | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Linked_List, Big_O_Time_O(N)_Space_O(N) | 0 | 100.00 |
0002 | Add Two Numbers | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Math, Linked_List, Recursion, Big_O_Time_O(max(N,M))_Space_O(max(N,M)), AI_can_be_used_to_solve_the_task | 1 | 100.00 |
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
0155 | Min Stack | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Stack, Design, Big_O_Time_O(1)_Space_O(N) | 3 | 100.00 |
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
0200 | Number of Islands | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find, Big_O_Time_O(M*N)_Space_O(M*N) | 3 | 97.76 |
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
0021 | Merge Two Sorted Lists | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(m+n)_Space_O(m+n) | 0 | 100.00 |
0206 | Reverse Linked List | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(N)_Space_O(1) | 0 | 100.00 |
0142 | Linked List Cycle II | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Hash_Table, Two_Pointers, Linked_List, Big_O_Time_O(N)_Space_O(1) | 0 | 100.00 |
0121 | Best Time to Buy and Sell Stock | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(N)_Space_O(1) | 1 | 100.00 |
0102 | Binary Tree Level Order Traversal | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_Space_O(N) | 1 | 91.09 |
| | | | | | | |-|-|-|-|-|-|-
0098 | Validate Binary Search Tree | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Big_O_Time_O(N)_Space_O(log(N)) | 0 | 100.00 |
0200 | Number of Islands | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find, Big_O_Time_O(M*N)_Space_O(M*N) | 3 | 97.76 |
0070 | Climbing Stairs | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Math, Memoization, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 |
0062 | Unique Paths | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Math, Combinatorics, Big_O_Time_O(m*n)_Space_O(m*n) | 0 | 100.00 |
0438 | Find All Anagrams in a String | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n+m)_Space_O(1) | 6 | 99.03 |
0001 | Two Sum | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Big_O_Time_O(n)_Space_O(n), AI_can_be_used_to_solve_the_task | 2 | 85.97 |
0394 | Decode String | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, String, Stack, Recursion, Big_O_Time_O(n)_Space_O(n) | 1 | 87.68 |
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
0019 | Remove Nth Node From End of List | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Two_Pointers, Linked_List, Big_O_Time_O(L)_Space_O(L) | 0 | 100.00 |
0234 | Palindrome Linked List | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Two_Pointers, Stack, Linked_List, Recursion, Big_O_Time_O(n)_Space_O(1) | 6 | 76.07 |
0148 | Sort List | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Sorting, Two_Pointers, Linked_List, Divide_and_Conquer, Merge_Sort, Big_O_Time_O(log(N))_Space_O(log(N)) | 12 | 85.82 |
| | | | | | | |-|-|-|-|-|-|-
0226 | Invert Binary Tree | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 |
0543 | Diameter of Binary Tree | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n) | 1 | 65.86 |
0437 | Path Sum III | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n) | 18 | 45.66 |
0074 | Search a 2D Matrix | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Binary_Search, Matrix, Big_O_Time_O(endRow+endCol)_Space_O(1) | 0 | 100.00 |
0033 | Search in Rotated Sorted Array | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Binary_Search, Big_O_Time_O(log_n)_Space_O(1) | 0 | 100.00 |
0230 | Kth Smallest Element in a BST | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Big_O_Time_O(n)_Space_O(n) | 1 | 78.91 |
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
0198 | House Robber | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 |
0322 | Coin Change | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Breadth_First_Search, Big_O_Time_O(m*n)_Space_O(amount) | 17 | 91.77 |
0416 | Partition Equal Subset Sum | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Big_O_Time_O(n*sums)_Space_O(n*sums) | 27 | 94.53 |
0152 | Maximum Product Subarray | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(N)_Space_O(1) | 1 | 92.31 |
0003 | Longest Substring Without Repeating Characters | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n)_Space_O(1) | 2 | 99.52 |
0076 | Minimum Window Substring | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Hard | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(s.length())_Space_O(1) | 2 | 99.94 |
0101 | Symmetric Tree | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_Space_O(log(N)) | 0 | 100.00 |
0155 | Min Stack | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Stack, Design, Big_O_Time_O(1)_Space_O(N) | 3 | 100.00 |
0208 | Implement Trie (Prefix Tree) | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Design, Trie, Big_O_Time_O(word.length())_or_O(prefix.length())_Space_O(N) | 34 | 99.90 |
0056 | Merge Intervals | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Big_O_Time_O(n_log_n)_Space_O(n) | 8 | 96.27 |
| | | | | | | |-|-|-|-|-|-|-
| | | | | | | |-|-|-|-|-|-|-
0039 | Combination Sum | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Backtracking, Big_O_Time_O(2^n)_Space_O(n+2^n) | 1 | 100.00 |
0046 | Permutations | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Backtracking, Big_O_Time_O(n*n!)_Space_O(n+n!) | 1 | 95.07 |
0136 | Single Number | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Bit_Manipulation, Big_O_Time_O(N)_Space_O(1) | 1 | 99.97 |
0007 | Reverse Integer | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_Interview_Questions, Math | 1 | 96.61 |
0009 | Palindrome Number | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Math | 5 | 77.91 |
0003 | Longest Substring Without Repeating Characters | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n)_Space_O(1) | 2 | 99.52 |
0020 | Valid Parentheses | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, String, Stack, Big_O_Time_O(n)_Space_O(n) | 1 | 98.78 |
0005 | Longest Palindromic Substring | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Big_O_Time_O(n)_Space_O(n) | 7 | 96.96 |
0394 | Decode String | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, String, Stack, Recursion, Big_O_Time_O(n)_Space_O(n) | 1 | 87.68 |
0049 | Group Anagrams | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, String, Hash_Table, Sorting, Big_O_Time_O(n*k_log_k)_Space_O(n) | 6 | 92.28 |
0033 | Search in Rotated Sorted Array | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Binary_Search, Big_O_Time_O(log_n)_Space_O(1) | 0 | 100.00 |
0153 | Find Minimum in Rotated Sorted Array | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Binary_Search, Big_O_Time_O(log_N)_Space_O(log_N) | 0 | 100.00 |
0121 | Best Time to Buy and Sell Stock | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(N)_Space_O(1) | 1 | 100.00 |
0283 | Move Zeroes | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Array, Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 2 | 79.54 |
0001 | Two Sum | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Big_O_Time_O(n)_Space_O(n), AI_can_be_used_to_solve_the_task | 2 | 85.97 |
0189 | Rotate Array | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Math, Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 0 | 100.00 |
0055 | Jump Game | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Greedy, Big_O_Time_O(n)_Space_O(1) | 2 | 79.47 |
0075 | Sort Colors | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 0 | 100.00 |
0238 | Product of Array Except Self | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Prefix_Sum, Big_O_Time_O(n^2)_Space_O(n) | 1 | 100.00 |
0041 | First Missing Positive | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Hard | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Big_O_Time_O(n)_Space_O(n) | 2 | 57.59 |
0239 | Sliding Window Maximum | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Hard | Top_100_Liked_Questions, Array, Heap_Priority_Queue, Sliding_Window, Queue, Monotonic_Queue, Big_O_Time_O(n*k)_Space_O(n+k) | 58 | 52.28 |
0042 | Trapping Rain Water | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Hard | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Two_Pointers, Stack, Monotonic_Stack, Big_O_Time_O(n)_Space_O(1) | 0 | 100.00 |
0015 | 3Sum | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Two_Pointers, Big_O_Time_O(n*log(n))_Space_O(n^2) | 29 | 82.24 |
0053 | Maximum Subarray | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Divide_and_Conquer, Big_O_Time_O(n)_Space_O(1) | 1 | 100.00 |
0169 | Majority Element | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Sorting, Counting, Divide_and_Conquer, Big_O_Time_O(n)_Space_O(1) | 1 | 100.00 |
| | | | | | | |-|-|-|-|-|-|-
0074 | Search a 2D Matrix | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Binary_Search, Matrix, Big_O_Time_O(endRow+endCol)_Space_O(1) | 0 | 100.00 |
0048 | Rotate Image | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Math, Matrix, Big_O_Time_O(n^2)_Space_O(1) | 0 | 100.00 |
0073 | Set Matrix Zeroes | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Matrix, Big_O_Time_O(m*n)_Space_O(1) | 1 | 79.07 |
0056 | Merge Intervals | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Big_O_Time_O(n_log_n)_Space_O(n) | 8 | 96.27 |
0114 | Flatten Binary Tree to Linked List | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Stack, Linked_List, Big_O_Time_O(N)_Space_O(N) | 1 | 75.27 |
0024 | Swap Nodes in Pairs | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Linked_List, Recursion, Big_O_Time_O(n)_Space_O(1) | 0 | 100.00 |
0142 | Linked List Cycle II | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Hash_Table, Two_Pointers, Linked_List, Big_O_Time_O(N)_Space_O(1) | 0 | 100.00 |
0141 | Linked List Cycle | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Two_Pointers, Linked_List, Big_O_Time_O(N)_Space_O(1) | 0 | 100.00 |
0206 | Reverse Linked List | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(N)_Space_O(1) | 0 | 100.00 |
0021 | Merge Two Sorted Lists | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(m+n)_Space_O(m+n) | 0 | 100.00 |
0160 | Intersection of Two Linked Lists | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Two_Pointers, Linked_List, Big_O_Time_O(M+N)_Space_O(1) | 1 | 99.68 |
0234 | Palindrome Linked List | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Two_Pointers, Stack, Linked_List, Recursion, Big_O_Time_O(n)_Space_O(1) | 6 | 76.07 |
0138 | Copy List with Random Pointer | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Linked_List, Big_O_Time_O(N)_Space_O(N) | 0 | 100.00 |
0025 | Reverse Nodes in k-Group | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Hard | Top_100_Liked_Questions, Linked_List, Recursion, Big_O_Time_O(n)_Space_O(k) | 0 | 100.00 |
0146 | LRU Cache | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Design, Linked_List, Doubly_Linked_List, Big_O_Time_O(1)_Space_O(capacity) | 87 | 50.80 |
0094 | Binary Tree Inorder Traversal | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Stack, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 |
0102 | Binary Tree Level Order Traversal | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_Space_O(N) | 1 | 91.09 |
0543 | Diameter of Binary Tree | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n) | 1 | 65.86 |
0226 | Invert Binary Tree | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 |
0104 | Maximum Depth of Binary Tree | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_Space_O(H) | 0 | 100.00 |
0124 | Binary Tree Maximum Path Sum | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Hard | Top_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_Space_O(N) | 1 | 99.46 |
0098 | Validate Binary Search Tree | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Big_O_Time_O(N)_Space_O(log(N)) | 0 | 100.00 |
0236 | Lowest Common Ancestor of a Binary Tree | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n) | 10 | 56.51 |
0208 | Implement Trie (Prefix Tree) | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Design, Trie, Big_O_Time_O(word.length())_or_O(prefix.length())_Space_O(N) | 34 | 99.90 |
0200 | Number of Islands | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find, Big_O_Time_O(M*N)_Space_O(M*N) | 3 | 97.76 |
0139 | Word Break | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Dynamic_Programming, Trie, Memoization, Big_O_Time_O(M+max*N)_Space_O(M+N+max) | 2 | 97.08 |
0152 | Maximum Product Subarray | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(N)_Space_O(1) | 1 | 92.31 |
0198 | House Robber | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 |
0070 | Climbing Stairs | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Math, Memoization, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 |
0064 | Minimum Path Sum | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Matrix, Big_O_Time_O(m*n)_Space_O(m*n) | 0 | 100.00 |
0300 | Longest Increasing Subsequence | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Binary_Search, Big_O_Time_O(n*log_n)_Space_O(n) | 3 | 98.63 |
1143 | Longest Common Subsequence | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, String, Dynamic_Programming, Big_O_Time_O(n*m)_Space_O(n*m) | 33 | 46.23 |
0072 | Edit Distance | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, String, Dynamic_Programming, Big_O_Time_O(n^2)_Space_O(n2) | 4 | 90.13 |
0010 | Regular Expression Matching | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Hard | Top_Interview_Questions, String, Dynamic_Programming, Recursion, Big_O_Time_O(m*n)_Space_O(m*n) | 1 | 100.00 |
0022 | Generate Parentheses | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Backtracking, Big_O_Time_O(2^n)_Space_O(n) | 0 | 100.00 |
0039 | Combination Sum | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Backtracking, Big_O_Time_O(2^n)_Space_O(n+2^n) | 1 | 100.00 |
0078 | Subsets | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Bit_Manipulation, Backtracking, Big_O_Time_O(2^n)_Space_O(n*2^n) | 1 | 70.60 |
0017 | Letter Combinations of a Phone Number | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Backtracking, Big_O_Time_O(4^n)_Space_O(n) | 0 | 100.00 |
0046 | Permutations | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Backtracking, Big_O_Time_O(n*n!)_Space_O(n+n!) | 1 | 95.07 |
0338 | Counting Bits | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Dynamic_Programming, Bit_Manipulation, Big_O_Time_O(num)_Space_O(num) | 2 | 86.73 |
0155 | Min Stack | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Stack, Design, Big_O_Time_O(1)_Space_O(N) | 3 | 100.00 |
0053 | Maximum Subarray | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Divide_and_Conquer, Big_O_Time_O(n)_Space_O(1) | 1 | 100.00 |
0001 | Two Sum | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Big_O_Time_O(n)_Space_O(n), AI_can_be_used_to_solve_the_task | 2 | 85.97 |
0121 | Best Time to Buy and Sell Stock | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(N)_Space_O(1) | 1 | 100.00 |
| | | | | | | |-|-|-|-|-|-|-
0074 | Search a 2D Matrix | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Binary_Search, Matrix, Big_O_Time_O(endRow+endCol)_Space_O(1) | 0 | 100.00 |
| | | | | | | |-|-|-|-|-|-|-
0141 | Linked List Cycle | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Two_Pointers, Linked_List, Big_O_Time_O(N)_Space_O(1) | 0 | 100.00 |
0021 | Merge Two Sorted Lists | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(m+n)_Space_O(m+n) | 0 | 100.00 |
0206 | Reverse Linked List | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(N)_Space_O(1) | 0 | 100.00 |
0020 | Valid Parentheses | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, String, Stack, Big_O_Time_O(n)_Space_O(n) | 1 | 98.78 |
0094 | Binary Tree Inorder Traversal | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Stack, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 |
0102 | Binary Tree Level Order Traversal | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_Space_O(N) | 1 | 91.09 |
0104 | Maximum Depth of Binary Tree | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_Space_O(H) | 0 | 100.00 |
0101 | Symmetric Tree | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_Space_O(log(N)) | 0 | 100.00 |
0226 | Invert Binary Tree | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 |
| | | | | | | |-|-|-|-|-|-|-
0098 | Validate Binary Search Tree | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Big_O_Time_O(N)_Space_O(log(N)) | 0 | 100.00 |
# | Title | Difficulty | Tag | Time, ms | Time, % | |
---|---|---|---|---|---|---|
1143 | Longest Common Subsequence | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, String, Dynamic_Programming, Algorithm_II_Day_17_Dynamic_Programming, Dynamic_Programming_I_Day_19, Udemy_Dynamic_Programming, Big_O_Time_O(n*m)_Space_O(n*m) | 33 | 46.23 |
0763 | Partition Labels | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | String, Hash_Table, Greedy, Two_Pointers, Data_Structure_II_Day_7_String, Big_O_Time_O(n)_Space_O(1) | 1 | 100.00 |
0739 | Daily Temperatures | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Stack, Monotonic_Stack, Programming_Skills_II_Day_6, Big_O_Time_O(n)_Space_O(n) | 10 | 94.99 |
0647 | Palindromic Substrings | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | String, Dynamic_Programming, Big_O_Time_O(n^2)_Space_O(n) | 2 | 98.77 |
0560 | Subarray Sum Equals K | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Hash_Table, Prefix_Sum, Data_Structure_II_Day_5_Array, Big_O_Time_O(n)_Space_O(n) | 21 | 98.97 |
0543 | Diameter of Binary Tree | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Level_2_Day_7_Tree, Udemy_Tree_Stack_Queue, Big_O_Time_O(n)_Space_O(n) | 1 | 65.86 |
0494 | Target Sum | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Array, Dynamic_Programming, Backtracking, Big_O_Time_O(n*(sum+s))_Space_O(n*(sum+s)) | 9 | 79.99 |
0438 | Find All Anagrams in a String | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, String, Hash_Table, Sliding_Window, Algorithm_II_Day_5_Sliding_Window, Programming_Skills_II_Day_12, Level_1_Day_12_Sliding_Window/Two_Pointer, Big_O_Time_O(n+m)_Space_O(1) | 6 | 99.03 |
0437 | Path Sum III | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Depth_First_Search, Tree, Binary_Tree, Level_2_Day_7_Tree, Big_O_Time_O(n)_Space_O(n) | 18 | 45.66 |
0416 | Partition Equal Subset Sum | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Level_2_Day_13_Dynamic_Programming, Big_O_Time_O(n*sums)_Space_O(n*sums) | 27 | 94.53 |
0394 | Decode String | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, String, Stack, Recursion, Level_1_Day_14_Stack, Udemy_Strings, Big_O_Time_O(n)_Space_O(n) | 1 | 87.68 |
0347 | Top K Frequent Elements | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Hash_Table, Sorting, Heap_Priority_Queue, Counting, Divide_and_Conquer, Quickselect, Bucket_Sort, Data_Structure_II_Day_20_Heap_Priority_Queue, Big_O_Time_O(n*log(n))_Space_O(k) | 9 | 97.93 |
0338 | Counting Bits | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Dynamic_Programming, Bit_Manipulation, Udemy_Bit_Manipulation, Big_O_Time_O(num)_Space_O(num) | 2 | 86.73 |
0322 | Coin Change | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Breadth_First_Search, Algorithm_II_Day_18_Dynamic_Programming, Dynamic_Programming_I_Day_20, Level_2_Day_12_Dynamic_Programming, Big_O_Time_O(m*n)_Space_O(amount) | 17 | 91.77 |
0300 | Longest Increasing Subsequence | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Binary_Search, Algorithm_II_Day_16_Dynamic_Programming, Binary_Search_II_Day_3, Dynamic_Programming_I_Day_18, Udemy_Dynamic_Programming, Big_O_Time_O(n*log_n)_Space_O(n) | 3 | 98.63 |
0295 | Find Median from Data Stream | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Hard | Top_100_Liked_Questions, Sorting, Two_Pointers, Design, Heap_Priority_Queue, Data_Stream, Big_O_Time_O(n*log_n)_Space_O(n) | 151 | 80.24 |
0287 | Find the Duplicate Number | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Binary_Search, Two_Pointers, Bit_Manipulation, Binary_Search_II_Day_5, Big_O_Time_O(n)_Space_O(n) | 2 | 99.82 |
0283 | Move Zeroes | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Array, Two_Pointers, Algorithm_I_Day_3_Two_Pointers, Programming_Skills_I_Day_6_Array, Udemy_Arrays, Big_O_Time_O(n)_Space_O(1) | 2 | 79.54 |
0240 | Search a 2D Matrix II | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Binary_Search, Matrix, Divide_and_Conquer, Data_Structure_II_Day_4_Array, Binary_Search_II_Day_8, Big_O_Time_O(n+m)_Space_O(1) | 7 | 86.73 |
0239 | Sliding Window Maximum | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Hard | Top_100_Liked_Questions, Array, Heap_Priority_Queue, Sliding_Window, Queue, Monotonic_Queue, Udemy_Arrays, Big_O_Time_O(n*k)_Space_O(n+k) | 58 | 52.28 |
0238 | Product of Array Except Self | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Prefix_Sum, Data_Structure_II_Day_5_Array, Udemy_Arrays, Big_O_Time_O(n^2)_Space_O(n) | 1 | 100.00 |
0236 | Lowest Common Ancestor of a Binary Tree | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Data_Structure_II_Day_18_Tree, Udemy_Tree_Stack_Queue, Big_O_Time_O(n)_Space_O(n) | 10 | 56.51 |
0234 | Palindrome Linked List | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Two_Pointers, Stack, Linked_List, Recursion, Level_2_Day_3_Linked_List, Udemy_Linked_List, Big_O_Time_O(n)_Space_O(1) | 6 | 76.07 |
0230 | Kth Smallest Element in a BST | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Data_Structure_II_Day_17_Tree, Level_2_Day_9_Binary_Search_Tree, Big_O_Time_O(n)_Space_O(n) | 1 | 78.91 |
0226 | Invert Binary Tree | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Data_Structure_I_Day_12_Tree, Level_2_Day_6_Tree, Udemy_Tree_Stack_Queue, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 |
0221 | Maximal Square | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Array, Dynamic_Programming, Matrix, Dynamic_Programming_I_Day_16, Big_O_Time_O(m*n)_Space_O(m*n) | 7 | 72.35 |
0215 | Kth Largest Element in an Array | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Heap_Priority_Queue, Divide_and_Conquer, Quickselect, Data_Structure_II_Day_20_Heap_Priority_Queue, Big_O_Time_O(n*log(n))_Space_O(log(n)) | 5 | 70.82 |
0208 | Implement Trie (Prefix Tree) | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Design, Trie, Level_2_Day_16_Design, Udemy_Trie_and_Heap, Big_O_Time_O(word.length())_or_O(prefix.length())_Space_O(N) | 34 | 99.90 |
0207 | Course Schedule | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Graph, Topological_Sort, Big_O_Time_O(N)_Space_O(N) | 3 | 97.58 |
0206 | Reverse Linked List | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Data_Structure_I_Day_8_Linked_List, Algorithm_I_Day_10_Recursion_Backtracking, Level_1_Day_3_Linked_List, Udemy_Linked_List, Big_O_Time_O(N)_Space_O(1) | 0 | 100.00 |
0200 | Number of Islands | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find, Algorithm_II_Day_6_Breadth_First_Search_Depth_First_Search, Graph_Theory_I_Day_1_Matrix_Related_Problems, Level_1_Day_9_Graph/BFS/DFS, Udemy_Graph, Big_O_Time_O(M*N)_Space_O(M*N) | 3 | 97.76 |
0198 | House Robber | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Algorithm_I_Day_12_Dynamic_Programming, Dynamic_Programming_I_Day_3, Level_2_Day_12_Dynamic_Programming, Udemy_Dynamic_Programming, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 |
0189 | Rotate Array | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Math, Two_Pointers, Algorithm_I_Day_2_Two_Pointers, Udemy_Arrays, Big_O_Time_O(n)_Space_O(1) | 0 | 100.00 |
0169 | Majority Element | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Sorting, Counting, Divide_and_Conquer, Data_Structure_II_Day_1_Array, Udemy_Famous_Algorithm, Big_O_Time_O(n)_Space_O(1) | 1 | 100.00 |
0160 | Intersection of Two Linked Lists | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Two_Pointers, Linked_List, Data_Structure_II_Day_11_Linked_List, Udemy_Linked_List, Big_O_Time_O(M+N)_Space_O(1) | 1 | 99.68 |
0155 | Min Stack | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Stack, Design, Data_Structure_II_Day_14_Stack_Queue, Programming_Skills_II_Day_18, Level_2_Day_16_Design, Udemy_Design, Big_O_Time_O(1)_Space_O(N) | 3 | 100.00 |
0153 | Find Minimum in Rotated Sorted Array | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Binary_Search, Algorithm_II_Day_2_Binary_Search, Binary_Search_I_Day_12, Udemy_Binary_Search, Big_O_Time_O(log_N)_Space_O(log_N) | 0 | 100.00 |
0152 | Maximum Product Subarray | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Dynamic_Programming_I_Day_6, Level_2_Day_13_Dynamic_Programming, Udemy_Dynamic_Programming, Big_O_Time_O(N)_Space_O(1) | 1 | 92.31 |
0148 | Sort List | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Sorting, Two_Pointers, Linked_List, Divide_and_Conquer, Merge_Sort, Level_2_Day_4_Linked_List, Big_O_Time_O(log(N))_Space_O(log(N)) | 12 | 85.82 |
0146 | LRU Cache | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Design, Linked_List, Doubly_Linked_List, Udemy_Linked_List, Big_O_Time_O(1)_Space_O(capacity) | 87 | 50.80 |
0142 | Linked List Cycle II | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Hash_Table, Two_Pointers, Linked_List, Data_Structure_II_Day_10_Linked_List, Level_1_Day_4_Linked_List, Udemy_Linked_List, Big_O_Time_O(N)_Space_O(1) | 0 | 100.00 |
0141 | Linked List Cycle | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Two_Pointers, Linked_List, Data_Structure_I_Day_7_Linked_List, Udemy_Linked_List, Big_O_Time_O(N)_Space_O(1) | 0 | 100.00 |
0139 | Word Break | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Dynamic_Programming, Trie, Memoization, Algorithm_II_Day_15_Dynamic_Programming, Dynamic_Programming_I_Day_9, Udemy_Dynamic_Programming, Big_O_Time_O(M+max*N)_Space_O(M+N+max) | 2 | 97.08 |
0138 | Copy List with Random Pointer | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Linked_List, Programming_Skills_II_Day_14, Udemy_Linked_List, Big_O_Time_O(N)_Space_O(N) | 0 | 100.00 |
0136 | Single Number | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Bit_Manipulation, Data_Structure_II_Day_1_Array, Algorithm_I_Day_14_Bit_Manipulation, Udemy_Integers, Big_O_Time_O(N)_Space_O(1) | 1 | 99.97 |
0131 | Palindrome Partitioning | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Backtracking, Big_O_Time_O(N*2^N)_Space_O(2^N*N) | 16 | 65.63 |
0128 | Longest Consecutive Sequence | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Union_Find, Big_O_Time_O(N_log_N)_Space_O(1) | 18 | 91.05 |
0124 | Binary Tree Maximum Path Sum | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Hard | Top_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Depth_First_Search, Tree, Binary_Tree, Udemy_Tree_Stack_Queue, Big_O_Time_O(N)_Space_O(N) | 1 | 99.46 |
0121 | Best Time to Buy and Sell Stock | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Data_Structure_I_Day_3_Array, Dynamic_Programming_I_Day_7, Level_1_Day_5_Greedy, Udemy_Arrays, Big_O_Time_O(N)_Space_O(1) | 1 | 100.00 |
0114 | Flatten Binary Tree to Linked List | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Stack, Linked_List, Udemy_Linked_List, Big_O_Time_O(N)_Space_O(N) | 1 | 75.27 |
0105 | Construct Binary Tree from Preorder and Inorder Traversal | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Tree, Binary_Tree, Divide_and_Conquer, Data_Structure_II_Day_15_Tree, Big_O_Time_O(N)_Space_O(N) | 3 | 86.35 |
0104 | Maximum Depth of Binary Tree | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Data_Structure_I_Day_11_Tree, Programming_Skills_I_Day_10_Linked_List_and_Tree, Udemy_Tree_Stack_Queue, Big_O_Time_O(N)_Space_O(H) | 0 | 100.00 |
0102 | Binary Tree Level Order Traversal | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Breadth_First_Search, Tree, Binary_Tree, Data_Structure_I_Day_11_Tree, Level_1_Day_6_Tree, Udemy_Tree_Stack_Queue, Big_O_Time_O(N)_Space_O(N) | 1 | 91.09 |
0101 | Symmetric Tree | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Data_Structure_I_Day_11_Tree, Level_2_Day_15_Tree, Big_O_Time_O(N)_Space_O(log(N)) | 0 | 100.00 |
0098 | Validate Binary Search Tree | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Data_Structure_I_Day_14_Tree, Level_1_Day_8_Binary_Search_Tree, Udemy_Tree_Stack_Queue, Big_O_Time_O(N)_Space_O(log(N)) | 0 | 100.00 |
0096 | Unique Binary Search Trees | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Dynamic_Programming, Math, Tree, Binary_Tree, Binary_Search_Tree, Dynamic_Programming_I_Day_11, Big_O_Time_O(n)_Space_O(1) | 0 | 100.00 |
0094 | Binary Tree Inorder Traversal | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Stack, Data_Structure_I_Day_10_Tree, Udemy_Tree_Stack_Queue, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 |
0084 | Largest Rectangle in Histogram | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Hard | Top_100_Liked_Questions, Top_Interview_Questions, Array, Stack, Monotonic_Stack, Big_O_Time_O(n_log_n)_Space_O(log_n) | 11 | 98.34 |
0079 | Word Search | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Matrix, Backtracking, Algorithm_II_Day_11_Recursion_Backtracking, Big_O_Time_O(4^(m*n))_Space_O(m*n) | 157 | 78.97 |
0078 | Subsets | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Bit_Manipulation, Backtracking, Algorithm_II_Day_9_Recursion_Backtracking, Udemy_Backtracking/Recursion, Big_O_Time_O(2^n)_Space_O(n*2^n) | 1 | 70.60 |
0076 | Minimum Window Substring | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Hard | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Sliding_Window, Level_2_Day_14_Sliding_Window/Two_Pointer, Big_O_Time_O(s.length())_Space_O(1) | 2 | 99.94 |
0075 | Sort Colors | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Two_Pointers, Data_Structure_II_Day_2_Array, Udemy_Arrays, Big_O_Time_O(n)_Space_O(1) | 0 | 100.00 |
0074 | Search a 2D Matrix | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Binary_Search, Matrix, Data_Structure_I_Day_5_Array, Algorithm_II_Day_1_Binary_Search, Binary_Search_I_Day_8, Level_2_Day_8_Binary_Search, Udemy_2D_Arrays/Matrix, Big_O_Time_O(endRow+endCol)_Space_O(1) | 0 | 100.00 |
0073 | Set Matrix Zeroes | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Matrix, Udemy_2D_Arrays/Matrix, Big_O_Time_O(m*n)_Space_O(1) | 1 | 79.07 |
0072 | Edit Distance | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, String, Dynamic_Programming, Algorithm_II_Day_18_Dynamic_Programming, Dynamic_Programming_I_Day_19, Udemy_Dynamic_Programming, Big_O_Time_O(n^2)_Space_O(n2) | 4 | 90.13 |
0070 | Climbing Stairs | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Math, Memoization, Algorithm_I_Day_12_Dynamic_Programming, Dynamic_Programming_I_Day_2, Level_1_Day_10_Dynamic_Programming, Udemy_Dynamic_Programming, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 |
0064 | Minimum Path Sum | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Matrix, Dynamic_Programming_I_Day_16, Udemy_Dynamic_Programming, Big_O_Time_O(m*n)_Space_O(m*n) | 0 | 100.00 |
0062 | Unique Paths | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Math, Combinatorics, Algorithm_II_Day_13_Dynamic_Programming, Dynamic_Programming_I_Day_15, Level_1_Day_11_Dynamic_Programming, Big_O_Time_O(m*n)_Space_O(m*n) | 0 | 100.00 |
0056 | Merge Intervals | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Data_Structure_II_Day_2_Array, Level_2_Day_17_Interval, Udemy_2D_Arrays/Matrix, Big_O_Time_O(n_log_n)_Space_O(n) | 8 | 96.27 |
0055 | Jump Game | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Greedy, Algorithm_II_Day_12_Dynamic_Programming, Dynamic_Programming_I_Day_4, Udemy_Arrays, Big_O_Time_O(n)_Space_O(1) | 2 | 79.47 |
0053 | Maximum Subarray | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Divide_and_Conquer, Data_Structure_I_Day_1_Array, Dynamic_Programming_I_Day_5, Udemy_Famous_Algorithm, Big_O_Time_O(n)_Space_O(1) | 1 | 100.00 |
0051 | N-Queens | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Hard | Top_100_Liked_Questions, Array, Backtracking, Big_O_Time_O(N!)_Space_O(N) | 1 | 100.00 |
0049 | Group Anagrams | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, String, Hash_Table, Sorting, Data_Structure_II_Day_8_String, Programming_Skills_II_Day_11, Udemy_Strings, Big_O_Time_O(n*k_log_k)_Space_O(n) | 6 | 92.28 |
0048 | Rotate Image | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Math, Matrix, Data_Structure_II_Day_3_Array, Programming_Skills_II_Day_7, Udemy_2D_Arrays/Matrix, Big_O_Time_O(n^2)_Space_O(1) | 0 | 100.00 |
0046 | Permutations | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Backtracking, Algorithm_I_Day_11_Recursion_Backtracking, Level_2_Day_20_Brute_Force/Backtracking, Udemy_Backtracking/Recursion, Big_O_Time_O(n*n!)_Space_O(n+n!) | 1 | 95.07 |
0045 | Jump Game II | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Greedy, Algorithm_II_Day_13_Dynamic_Programming, Dynamic_Programming_I_Day_4, Big_O_Time_O(n)_Space_O(1) | 2 | 49.02 |
0042 | Trapping Rain Water | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Hard | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Two_Pointers, Stack, Monotonic_Stack, Dynamic_Programming_I_Day_9, Udemy_Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 0 | 100.00 |
0041 | First Missing Positive | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Hard | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Udemy_Arrays, Big_O_Time_O(n)_Space_O(n) | 2 | 57.59 |
0039 | Combination Sum | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Backtracking, Algorithm_II_Day_10_Recursion_Backtracking, Level_2_Day_20_Brute_Force/Backtracking, Udemy_Backtracking/Recursion, Big_O_Time_O(2^n)_Space_O(n+2^n) | 1 | 100.00 |
0035 | Search Insert Position | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Array, Binary_Search, Algorithm_I_Day_1_Binary_Search, Binary_Search_I_Day_2, Big_O_Time_O(log_n)_Space_O(1) | 0 | 100.00 |
0034 | Find First and Last Position of Element in Sorted Array | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Binary_Search, Algorithm_II_Day_1_Binary_Search, Binary_Search_I_Day_5, Big_O_Time_O(log_n)_Space_O(1) | 0 | 100.00 |
0033 | Search in Rotated Sorted Array | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Binary_Search, Algorithm_II_Day_1_Binary_Search, Binary_Search_I_Day_11, Level_2_Day_8_Binary_Search, Udemy_Binary_Search, Big_O_Time_O(log_n)_Space_O(1) | 0 | 100.00 |
0032 | Longest Valid Parentheses | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Hard | Top_100_Liked_Questions, String, Dynamic_Programming, Stack, Big_O_Time_O(n)_Space_O(1) | 1 | 100.00 |
0031 | Next Permutation | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Array, Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 0 | 100.00 |
0025 | Reverse Nodes in k-Group | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Hard | Top_100_Liked_Questions, Linked_List, Recursion, Data_Structure_II_Day_13_Linked_List, Udemy_Linked_List, Big_O_Time_O(n)_Space_O(k) | 0 | 100.00 |
0024 | Swap Nodes in Pairs | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Linked_List, Recursion, Data_Structure_II_Day_12_Linked_List, Udemy_Linked_List, Big_O_Time_O(n)_Space_O(1) | 0 | 100.00 |
0023 | Merge k Sorted Lists | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Hard | Top_100_Liked_Questions, Top_Interview_Questions, Heap_Priority_Queue, Linked_List, Divide_and_Conquer, Merge_Sort, Big_O_Time_O(k*n*log(k))_Space_O(log(k)) | 1 | 100.00 |
0022 | Generate Parentheses | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Backtracking, Algorithm_II_Day_11_Recursion_Backtracking, Udemy_Backtracking/Recursion, Big_O_Time_O(2^n)_Space_O(n) | 0 | 100.00 |
0021 | Merge Two Sorted Lists | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Data_Structure_I_Day_7_Linked_List, Algorithm_I_Day_10_Recursion_Backtracking, Level_1_Day_3_Linked_List, Udemy_Linked_List, Big_O_Time_O(m+n)_Space_O(m+n) | 0 | 100.00 |
0020 | Valid Parentheses | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, String, Stack, Data_Structure_I_Day_9_Stack_Queue, Udemy_Strings, Big_O_Time_O(n)_Space_O(n) | 1 | 98.78 |
0019 | Remove Nth Node From End of List | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Two_Pointers, Linked_List, Algorithm_I_Day_5_Two_Pointers, Level_2_Day_3_Linked_List, Big_O_Time_O(L)_Space_O(L) | 0 | 100.00 |
0017 | Letter Combinations of a Phone Number | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Backtracking, Algorithm_II_Day_11_Recursion_Backtracking, Udemy_Backtracking/Recursion, Big_O_Time_O(4^n)_Space_O(n) | 0 | 100.00 |
0015 | 3Sum | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Two_Pointers, Data_Structure_II_Day_1_Array, Algorithm_II_Day_3_Two_Pointers, Udemy_Two_Pointers, Big_O_Time_O(n*log(n))_Space_O(n^2) | 29 | 82.24 |
0011 | Container With Most Water | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Greedy, Two_Pointers, Algorithm_II_Day_4_Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 3 | 95.71 |
0010 | Regular Expression Matching | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Hard | Top_Interview_Questions, String, Dynamic_Programming, Recursion, Udemy_Dynamic_Programming, Big_O_Time_O(m*n)_Space_O(m*n) | 1 | 100.00 |
0009 | Palindrome Number | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Math, Udemy_Integers | 5 | 77.91 |
0008 | String to Integer (atoi) | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_Interview_Questions, String | 1 | 100.00 |
0007 | Reverse Integer | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_Interview_Questions, Math, Udemy_Integers | 1 | 96.61 |
0006 | Zigzag Conversion | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | String | 2 | 99.60 |
0005 | Longest Palindromic Substring | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Data_Structure_II_Day_9_String, Algorithm_II_Day_14_Dynamic_Programming, Dynamic_Programming_I_Day_17, Udemy_Strings, Big_O_Time_O(n)_Space_O(n) | 7 | 96.96 |
0004 | Median of Two Sorted Arrays | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Hard | Top_100_Liked_Questions, Top_Interview_Questions, Array, Binary_Search, Divide_and_Conquer, Big_O_Time_O(log(min(N,M)))_Space_O(1) | 1 | 100.00 |
0003 | Longest Substring Without Repeating Characters | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Sliding_Window, Algorithm_I_Day_6_Sliding_Window, Level_2_Day_14_Sliding_Window/Two_Pointer, Udemy_Strings, Big_O_Time_O(n)_Space_O(1) | 2 | 99.52 |
0002 | Add Two Numbers | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Math, Linked_List, Recursion, Data_Structure_II_Day_10_Linked_List, Programming_Skills_II_Day_15, Big_O_Time_O(max(N,M))_Space_O(max(N,M)), AI_can_be_used_to_solve_the_task | 1 | 100.00 |
0001 | Two Sum | Java Kotlin TypeScript Scala Ruby PHP C# Go Cpp Python Swift Elixir Rust Dart C | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Data_Structure_I_Day_2_Array, Level_1_Day_13_Hashmap, Udemy_Arrays, Big_O_Time_O(n)_Space_O(n), AI_can_be_used_to_solve_the_task | 2 | 85.97 |