Home
Courses
Tutorials
C Programming Tutorials
Java Programming Tutorials
Rust Programming Tutorials
Python Tutorials
Data Structure and Algorithm Tutorials
HTML Tutorials
CSS Tutorials
JavaScript Tutorials
PHP Tutorials
Laravel PHP Framework Tutorials
React Js Tutorials
Typescript Tutorials
Artificial Intelligence (AI) Tutorials
Coding Examples
All Coding Examples
C Programming Examples
C++ Programming Examples
PHP Programming Examples
Java Programming Examples
Python Programming Examples
Javascript Programming Examples
Data Structure and Algorithm Examples
C# Programming Examples
Go Lang Programming Examples
Tailwind CSS Examples
Bootstrap CSS Examples
MySQL Examples
SQL Examples
Rust Programming Examples
Tailwind CSS Design
Bootstrap CSS Design
Online Judge
Online Judge Solution Examples
Beecrowd Online Judge Examples
UVA Online Judge Examples
Hacker Rank Online Judge Examples
CodeChef Online Judge Examples
Leetcode Online Judge Examples
Codeforces Online Judge Examples
TopCoder Online Judge Examples
Sphere Online Judge Examples
Run Code
Run C Online
Run C++ Online
Run Java Online
Run Python Online
Run C# Online
Run PHP Online
Run JavaScript Online
Run GoLang Online
Run Ruby Online
Run Rust Online
Run Python2 Online
Run MySQL Online
Run Any Code
Sign In
Leetcode Online Judge Examples
All (1005)
Beginner (275)
Intermediate (531)
Advanced (199)
Ex: #1
#1 Leetcode - Two sum problem solution in JavaScript, C , Java, Python, C# and C++ programming leetcode
Beginner
Ex: #2
#02 Leetcode Add two numbers solution in JavaScript, C, PHP, C++, Java, C#, Python Programming, PHP, Python
Intermediate
Ex: #3
#03 Leetcode Longest Substring Without Repeating Characters Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #4
#04 Leetcode Median of Two Sorted Arrays Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #5
#05 Leetcode Longest Substring Without Repeating Characters Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #6
#06 Leetcode Zigzag Conversion Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #7
#07 Leetcode - Reverse Integer Solution in Javascript, C, C++, C#, Java and Python leetcode
Beginner
Ex: #8
#08 Leetcode String to Integer (atoi) Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #9
#09 Leetcode - Palindrome Number Problem solution in Javascript, C, C++, C#, Java, Python Leetcode
Beginner
Ex: #10
#10 Leetcode Regular Expression Matching Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #11
#382 Leetcode Linked List Random Node Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #12
#11 Leetcode Container With Most Water Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #13
#12 Leetcode Integer to Roman Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #14
#13 Leetcode Roman to Integer Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #15
#14 Leetcode Longest Common Prefix Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #16
#15 Leetcode 3Sum Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #17
#16 Leetcode 3Sum Closest Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #18
#17 Leetcode Letter Combinations of a Phone Number Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #19
#18 Leetcode 4Sum Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #20
#19 Leetcode Remove Nth Node From End of List Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #21
#20 Leetcode - 20. Valid Parentheses solution in Javascript, C, C++, C#, Java, PYthon
Beginner
Ex: #22
#21 Leetcode Merge Two Sorted Lists Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #23
#22 Leetcode Generate Parentheses Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #24
#23 Leetcode Merge k Sorted Lists Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #25
#24 Leetcode Swap Nodes in Pairs Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #26
#25 Leetcode Reverse Nodes in k-Group Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #27
#26 Leetcode - Remove duplicates from sorted array Solution in JavaScript, C< C++, C#, Java, Python Leetcode
Beginner
Ex: #28
#27 Leetcode - Remove Element Problem solution in Javascript, C, C++, C#, Java, Python
Beginner
Ex: #29
#28 Leetcode Find the Index of the First Occurrence in a String Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #30
#29 Leetcode Divide Two Integers Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #31
#30 Leetcode Substring with Concatenation of All Words Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #32
[Solved] #1 Day 1: Arithmetic Operators in Javascript HackerRank - HackerRank Javascript in 10 days
Beginner
Ex: #33
#31 Leetcode Next Permutation Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #34
#32 Leetcode Longest Valid Parentheses Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #35
#33 Leetcode Search in Rotated Sorted Array Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #36
#34 Leetcode Find First and Last Position of Element in Sorted Array Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #37
#35 Leetcode - Search Insert Position Problem Solution in Javascript, C, C++, C#, Java, Python Leetcode
Beginner
Ex: #38
#36 Leetcode Valid Sudoku Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #39
#37 Leetcode Sudoku Solver Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #40
#38 Leetcode Count and Say Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #41
#39 Leetcode Combination Sum Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #42
#40 Leetcode Combination Sum II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #43
#41 Leetcode First Missing Positive Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #44
#42 Leetcode Trapping Rain Water Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #45
#43 Leetcode Multiply Strings Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #46
#44 Leetcode Wildcard Matching Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #47
#45 Leetcode Jump Game II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #48
#46 Leetcode Permutations Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #49
#47 Leetcode Permutations II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #50
#48 Leetcode Rotate Image Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #51
#49 Leetcode Group Anagrams Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #52
#50 Leetcode Pow(x, n) Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #53
#51 Leetcode N-Queens Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #54
#52 Leetcode N-Queens II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #55
CodeChef solution SUGERCANE - Sugarcane Juice Business Codechef solution in C,C++
Beginner
Ex: #56
#53 Leetcode Maximum Subarray Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #57
#54 Leetcode Spiral Matrix Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #58
#55 Leetcode - Jump Game Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #59
#56 Leetcode - Merge Intervals Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #60
#57 Leetcode - Insert Interval Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #61
#58 Leetcode Length of Last Word Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #62
#59 Leetcode Spiral Matrix II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #63
#60 Leetcode Permutation Sequence Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #64
#61 Leetcode Rotate List Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #65
#62 Leetcode Unique Paths Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #66
#63 Leetcode Unique Paths II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #67
#64 Leetcode Minimum Path Sum Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #68
#65 Leetcode Valid Number Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #69
#66 Leetcode Plus One Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #70
#67 Leetcode Add Binary Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #71
#68 Leetcode Text Justification Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #72
CodeChef solution FLOW010 - ID and Ship Codechef solution in C,C++
Beginner
Ex: #73
CodeChef solution FLOW010 - ID and Ship Codechef solution in C,C++
Beginner
Ex: #74
#69 Leetcode Sqrt(x) Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #75
#70 Leetcode Climbing Stairs Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #76
CodeChef solution HAPPYSTR - Chef and Happy String Codechef solution in C,C++
Beginner
Ex: #77
#71 Leetcode Simplify Path Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #78
#72 Leetcode Edit Distance Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #79
#73 Leetcode Set Matrix Zeroes Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #80
#74 Leetcode Search a 2D Matrix Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #81
#75 Leetcode Sort Colors Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #82
#76 Leetcode Minimum Window Substring Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #83
#77 Leetcode Combinations Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #84
#78 Leetcode Subsets Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #85
#79 Leetcode Word Search Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #86
#80 Leetcode Remove Duplicates from Sorted Array II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #87
#81 Leetcode Search in Rotated Sorted Array II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #88
#82 Leetcode Remove Duplicates from Sorted List II Solution in C, C++, Java, JavaScript, Python, C# Leetcod
Intermediate
Ex: #89
#83 Leetcode Remove Duplicates from Sorted List Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #90
#84 Leetcode Largest Rectangle in Histogram Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #91
#85 Leetcode Maximal Rectangle Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #92
#86 Leetcode Partition List Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #93
#87 Leetcode Scramble String Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #94
#88 Leetcode Merge Sorted Array Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #95
#89 Leetcode Search in Rotated Sorted Array II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #96
#90 Leetcode Subsets II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #97
#91 Leetcode Decode Ways Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #98
#92 Leetcode Reverse Linked List II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #99
#93 Leetcode Restore IP Addresses Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #100
#94 Leetcode Binary Tree Inorder Traversal Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #101
#95 Leetcode Unique Binary Search Trees II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #102
#96 LeetcodeUnique Binary Search Trees Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #103
#97 Leetcode Interleaving String Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #104
#98 Leetcode Validate Binary Search Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #105
#99 Leetcode Recover Binary Search Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #106
#100 Leetcode Same Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #107
#101 Leetcode Symmetric Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #108
#102 Leetcode Binary Tree Level Order Traversal Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #109
#103 Leetcode Binary Tree Zigzag Level Order Traversal Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #110
#104 Leetcode Maximum Depth of Binary Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #111
#105 Leetcode Construct Binary Tree from Preorder and Inorder Traversal Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #112
#106 Leetcode Construct Binary Tree from Inorder and Postorder Traversal Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #113
#107 Leetcode Binary Tree Level Order Traversal II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #114
#108 Leetcode Convert Sorted Array to Binary Search Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #115
#109 Leetcode Convert Sorted List to Binary Search Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #116
#110 Leetcode Balanced Binary Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #117
#111 Leetcode Minimum Depth of Binary Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #118
#112 Leetcode Path Sum Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #119
#113 Leetcode Path Sum II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #120
#114 Leetcode Flatten Binary Tree to Linked List Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #121
#115 Leetcode Distinct Subsequences Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #122
#116 Leetcode Populating Next Right Pointers in Each Node Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #123
#117 Leetcode Populating Next Right Pointers in Each Node II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #124
#118 Leetcode Pascal's Triangle Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #125
#119 Leetcode Pascal's Triangle II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #126
#120 Leetcode Triangle Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #127
#121 Leetcode Best Time to Buy and Sell Stock Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #128
#122 Leetcode Best Time to Buy and Sell Stock II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #129
#123 Leetcode Best Time to Buy and Sell Stock III Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #130
#124 Leetcode Binary Tree Maximum Path Sum Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #131
#125 Leetcode Valid Palindrome Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #132
#126 Leetcode Word Ladder II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #133
#127 Leetcode Word Ladder Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #134
#128 Leetcode Longest Consecutive Sequence Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #135
#129 Leetcode Sum Root to Leaf Numbers Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #136
#130 Leetcode Surrounded Regions Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #137
#131 Leetcode Palindrome Partitioning Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #138
#132 Leetcode Palindrome Partitioning II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #139
#133 Leetcode Clone Graph Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #140
#134 Leetcode Gas Station Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #141
#135 Leetcode Candy Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #142
#136 Leetcode Single Number Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #143
#137 Leetcode Single Number II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #144
#138 Leetcode Copy List with Random Pointer Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #145
#139 Leetcode Word Break Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #146
#140 Leetcode Word Break II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #147
#141 Leetcode Linked List Cycle Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #148
#142 Leetcode Linked List Cycle II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #149
#143 Leetcode Reorder List Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #150
#144 Leetcode Binary Tree Preorder Traversal Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #151
#145 Leetcode Binary Tree Postorder Traversal Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #152
#146 Leetcode LRU Cache Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #153
#147 Leetcode Insertion Sort List Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #154
#148 Leetcode Sort List Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #155
#149 Leetcode Max Points on a Line Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #156
#150 Leetcode Evaluate Reverse Polish Notation Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #157
#151 Leetcode Reverse Words in a String Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #158
#152 Leetcode Maximum Product Subarray Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #159
#153 Leetcode Find Minimum in Rotated Sorted Array Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #160
#154 Leetcode Find Minimum in Rotated Sorted Array II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #161
#155 Leetcode Min Stack Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #162
#160 Leetcode Intersection of Two Linked Lists Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #163
#162 Leetcode Find Peak Element Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #164
#164 Leetcode Maximum Gap Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #165
#165 Leetcode Compare Version Numbers Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #166
#166 Leetcode Fraction to Recurring Decimal Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #167
#167 Leetcode Two Sum II - Input Array Is Sorted Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #168
#168 Leetcode Exce l Sheet Column TitleSolution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #169
#169 Leetcode Majority Element Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #170
#171 Leetcode Excel Sheet Column Number Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #171
#172 Leetcode Factorial Trailing Zeroes Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #172
#173 Leetcode Binary Search Tree Iterator Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #173
#174 Leetcode Dungeon Game Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #174
#175 Leetcode Combine Two Tables Solution in SQL Leetcode
Beginner
Ex: #175
#176 Leetcode Second Highest Salary Solution in SQL Leetcode
Intermediate
Ex: #176
#177 Leetcode Nth Highest Salar Solution in SQL Leetcode
Intermediate
Ex: #177
#178 Leetcode Rank Scores Solution in SQL Leetcode
Intermediate
Ex: #178
#179 Leetcode Largest Number Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #179
#180 Leetcode Consecutive Numbers Solution in SQL Leetcode
Intermediate
Ex: #180
#181 Leetcode Employees Earning More Than Their Managers Solution in SQL Leetcode
Beginner
Ex: #181
#182 Leetcode Duplicate Emails Solution in SQL Leetcode
Beginner
Ex: #182
#183 Leetcode Customers Who Never Order Solution in SQL Leetcode
Beginner
Ex: #183
#184 Leetcode Department Highest Salary Solution in SQL Leetcode
Intermediate
Ex: #184
#185 Leetcode Department Top Three Salaries Solution in SQL Leetcode
Advanced
Ex: #185
#187 Leetcode Repeated DNA Sequences Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #186
#188 Leetcode Best Time to Buy and Sell Stock IV Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #187
#189 Leetcode Rotate Array Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #188
#190 Leetcode Reverse Bits Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #189
#191 Leetcode Number of 1 Bits Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #190
#192 Leetcode Word Frequency Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #191
#193 Leetcode Valid Phone Numbers Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #192
#194 Leetcode Transpose File Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #193
#195 Leetcode Tenth Line Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #194
#196 Leetcode Delete Duplicate Emails Solution in SQL Leetcode
Beginner
Ex: #195
#197 Leetcode Rising Temperature Solution in SQL Leetcode
Beginner
Ex: #196
#198 Leetcode House Robber Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #197
#199 Leetcode Binary Tree Right Side View Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #198
#200 Leetcode Number of Islands Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #199
#201 Leetcode Bitwise AND of Numbers Range Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #200
#202 Leetcode Happy Number Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #201
#203 Leetcode Remove Linked List Elements Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #202
#204 Leetcode Count Primes Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #203
#205 Leetcode Isomorphic Strings Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #204
#206 Leetcode Reverse Linked List Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #205
#207 Leetcode Course Schedule Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #206
#208 Leetcode Implement Trie (Prefix Tree) Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #207
#209 Leetcode Minimum Size Subarray Sum Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #208
#210 Leetcode Course Schedule II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #209
#211 Leetcode Design Add and Search Words Data Structure Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #210
#212 Leetcode Word Search II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #211
#213 Leetcode House Robber II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #212
#214 Leetcode Shortest Palindrome Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #213
#215 Leetcode Kth Largest Element in an Array Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #214
#216 Leetcode Combination Sum III Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #215
#217 Leetcode Contains Duplicate Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #216
#218 Leetcode The Skyline Problem Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #217
#219 Leetcode Contains Duplicate II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #218
#220 Leetcode Contains Duplicate III Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #219
#221 Leetcode Maximal Square Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #220
#222 Leetcode Count Complete Tree Node Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #221
#223 Leetcode Rectangle Area Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #222
#224 Leetcode Basic Calculator Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #223
#225 Leetcode Implement Stack using Queues Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #224
#226 Leetcode Invert Binary Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #225
#227 Leetcode Basic Calculator II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #226
#228 Leetcode Summary Ranges Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #227
#229 Leetcode Majority Element II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #228
#230 Leetcode Kth Smallest Element in a BST Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #229
#231 Leetcode Power of Two Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #230
#232 Leetcode Implement Queue using Stacks Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #231
#233 Leetcode Number of Digit One Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #232
#234 Leetcode Palindrome Linked List Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #233
#235 Leetcode Lowest Common Ancestor of a Binary Search Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #234
#236 Leetcode Lowest Common Ancestor of a Binary Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #235
#237 Leetcode Delete Node in a Linked List Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #236
#238 Leetcode Product of Array Except Self Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #237
#239 Leetcode Sliding Window Maximum Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #238
#240 Leetcode Search a 2D Matrix II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #239
#241 Leetcode Different Ways to Add Parentheses Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #240
#242 Leetcode Valid Anagram Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #241
#257 Leetcode Binary Tree Paths Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #242
#258 Leetcode Add Digits Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #243
#260 Leetcode Single Number III Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #244
#262 Leetcode Trips and Users Solution in SQL Leetcode
Advanced
Ex: #245
#263 Leetcode Ugly Number Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #246
#264 Leetcode Ugly Number II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #247
#268 Leetcode Missing Number Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #248
#273 Leetcode Integer to English Words Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #249
#274 Leetcode H-Index Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #250
#275 Leetcode H-Index II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #251
#278 Leetcode First Bad Version Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #252
#279 Leetcode Perfect Squares Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #253
#282 Leetcode Expression Add Operators Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #254
#283 Leetcode Move Zeroes Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #255
#284 Leetcode Peeking Iterator Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #256
#287 Leetcode Find the Duplicate Number Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #257
#289 Leetcode Game of Life Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #258
#290 Leetcode Word Pattern Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #259
#292 Leetcode Nim Game Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #260
#295 Leetcode Find Median from Data StreamSolution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #261
#297 Leetcode Serialize and Deserialize Binary Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #262
#299 Leetcode Bulls and Cows Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #263
#300 Leetcode Longest Increasing Subsequence Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #264
#301 Leetcode Remove Invalid Parentheses Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #265
#303 Leetcode Range Sum Query - Immutable Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #266
#304 Leetcode Range Sum Query 2D - Immutable Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #267
#306 Leetcode Additive Number Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #268
#307 Leetcode Range Sum Query - Mutable Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #269
#309 Leetcode Best Time to Buy and Sell Stock with Cooldown Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #270
#310 Leetcode Minimum Height Trees Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #271
#312 Leetcode Burst Balloons Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #272
#313 Leetcode Super Ugly Number Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #273
#315 Leetcode Count of Smaller Numbers After Self Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #274
#316 Leetcode Remove Duplicate Letters Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #275
#318 Leetcode Maximum Product of Word Lengths Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #276
#319 Leetcode Bulb Switcher Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #277
#321 Leetcode Create Maximum Number Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #278
#322 Leetcode Coin Change Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #279
#324 Leetcode Wiggle Sort II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #280
#326 Leetcode Power of Three Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #281
#327 LeetcodeCount of Range Sum Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #282
#328 Leetcode Odd Even Linked List Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #283
#329 Leetcode Longest Increasing Path in a Matrix Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #284
#330 Leetcode Patching Array Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #285
#331 Leetcode Verify Preorder Serialization of a Binary Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #286
#332 Leetcode Reconstruct Itinerary Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #287
#334 Leetcode Increasing Triplet Subsequence Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #288
#335 Leetcode Self Crossing Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #289
#336 Leetcode Palindrome Pairs Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #290
#337 Leetcode House Robber III Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #291
#338 Leetcode Counting Bits Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #292
#341 Leetcode Flatten Nested List Iterator Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #293
#342 Leetcode Power of Four Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #294
#343 Leetcode Integer Break Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #295
#344 Leetcode - 344. Reverse String Solution in Javascript, C, C++, C#, Java, Python Leetcode
Beginner
Ex: #296
#344 Leetcode Reverse String Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #297
#345 Leetcode Reverse Vowels of a String Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #298
#347 Leetcode Top K Frequent Elements Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #299
#349 Leetcode Intersection of Two Arrays Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #300
#350 Leetcode Intersection of Two Arrays II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #301
#352 Leetcode Data Stream as Disjoint Intervals Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #302
#354 Leetcode Russian Doll Envelopes Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #303
#355 Leetcode Design Twitter Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #304
#357 Leetcode Count Numbers with Unique Digits Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #305
#363 Leetcode Max Sum of Rectangle No Larger Than K Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #306
#365 Leetcode Water and Jug Proble Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #307
#367 Leetcode Valid Perfect Square Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #308
#368 Leetcode Largest Divisible Subset Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #309
#371 Leetcode Sum of Two Integers Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #310
#372 Leetcode Super Pow Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #311
#373 Leetcode Find K Pairs with Smallest Sums Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #312
#374 Leetcode Guess Number Higher or Lower Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #313
#375 Leetcode Guess Number Higher or Lower II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #314
#376 Leetcode Wiggle Subsequence Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #315
#377 Leetcode Combination Sum IV Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #316
#378 Leetcode Kth Smallest Element in a Sorted Matrix Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #317
#380 Leetcode Insert Delete GetRandom O(1) Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #318
#381 Leetcode Insert Delete GetRandom O(1) - Duplicates allowed in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #319
#383 Leetcode Ransom Note Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #320
#384 Leetcode Shuffle an Array Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #321
#385 Leetcode Mini Parser Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #322
#386 Leetcode Lexicographical Numbers Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #323
#387 Leetcode First Unique Character in a String Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #324
#388 Leetcode Longest Absolute File Path Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #325
#389 Leetcode Find the Difference Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #326
#390 Leetcode Elimination Game Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #327
#391 Leetcode Perfect Rectangle Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #328
#392 Leetcode Is Subsequence Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #329
#393 Leetcode UTF-8 Validation Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #330
#394 Leetcode Decode String Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #331
#395 Leetcode Longest Substring with At Least K Repeating Characters Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #332
#396 Leetcode Rotate Function Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #333
#397 Leetcode Integer Replacement Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #334
#398 Leetcode Random Pick Index Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #335
#399 Leetcode Evaluate Division Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #336
#400 Leetcode Nth Digit Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #337
#401 Leetcode Binary Watch Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #338
#402 Leetcode Remove K Digits Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #339
#403 Leetcode Frog Jump Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #340
#404 Leetcode Sum of Left Leaves Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #341
#405 Leetcode Convert a Number to Hexadecimal Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #342
#406 Leetcode Queue Reconstruction by Height Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #343
#407 Leetcode Trapping Rain Water II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #344
#409 Leetcode Longest Palindrome Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #345
#410 Leetcode Split Array Largest Sum Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #346
#412 Leetcode Fizz Buzz Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #347
#413 Leetcode Arithmetic Slices Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #348
#414 Leetcode Third Maximum Number Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #349
#415 Leetcode Add Strings Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #350
#416 Leetcode Partition Equal Subset Sum Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #351
#417 Leetcode Pacific Atlantic Water Flow Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #352
#419 Leetcode Battleships in a Board Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #353
#420 Leetcode Strong Password Checker Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #354
#421 Leetcode aximum XOR of Two Numbers in an Array Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #355
#423 Leetcode Reconstruct Original Digits from English Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #356
#424 Leetcode Longest Repeating Character Replacement Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #357
#427 Leetcode Construct Quad Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #358
#429 Leetcode N-ary Tree Level Order Traversal Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #359
#430 Leetcode Flatten a Multilevel Doubly Linked List Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #360
#432 Leetcode All O`one Data Structure Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #361
#433 Leetcode Minimum Genetic Mutation Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #362
#434 Leetcode Number of Segments in a String Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #363
#435 Leetcode Non-overlapping Intervals Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #364
#436 Leetcode Find Right Interval Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #365
#437 Leetcode Path Sum III Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #366
#438 Leetcode Find All Anagrams in a String Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #367
#440 Leetcode K-th Smallest in Lexicographical OrderSolution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #368
#441 Leetcode Arranging Coins Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #369
#442 Leetcode Find All Duplicates in an Array Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #370
#443 Leetcode String Compression Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #371
#445 Leetcode Add Two Numbers II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #372
#446 Leetcode Arithmetic Slices II - Subsequence Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #373
#447 Leetcode Number of Boomerangs Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #374
#448 Leetcode Find All Numbers Disappeared in an Array Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #375
#449 Leetcode Serialize and Deserialize BST Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #376
#450 Leetcode Delete Node in a BST Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #377
#451 Leetcode Sort Characters By Frequency Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #378
#452 Leetcode Minimum Number of Arrows to Burst Balloons Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #379
#453 Leetcode Minimum Moves to Equal Array Elements Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #380
#454 Leetcode 4Sum II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #381
#455 Leetcode Assign Cookies Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #382
#456 Leetcode 132 Pattern Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #383
#457 Leetcode Circular Array Loop Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #384
#458 Leetcode Poor Pigs Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #385
#459 Leetcode Repeated Substring Pattern Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #386
#460 Leetcode LFU Cache Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #387
#461 Leetcode Hamming Distance Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #388
#462 Leetcode Minimum Moves to Equal Array Elements II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #389
#463 Leetcode Island Perimeter Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #390
#464 Leetcode Can I Win Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #391
#466 Leetcode Count The Repetitions Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #392
#467 Leetcode Unique Substrings in Wraparound String Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #393
#468 Leetcode Validate IP Address Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #394
#470 Leetcode Implement Rand10() Using Rand7() Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #395
#472 Leetcode Concatenated WordsSolution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #396
#473 3Leetcode Matchsticks to Square Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #397
#474 Leetcode Ones and Zeroes Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #398
#475 Leetcode Heaters Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #399
#476 Leetcode Number Complement Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #400
#477 Leetcode Total Hamming Distance Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #401
#478 Leetcode Generate Random Point in a Circle Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #402
#480 Leetcode Sliding Window Median Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #403
#481 Leetcode Magical String Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #404
#482 Leetcode License Key Formatting Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #405
#483 Leetcode Smallest Good Base Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #406
#485 Leetcode Max Consecutive Ones Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #407
#486 Leetcode Predict the Winner Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #408
#488 Leetcode Zuma Game Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #409
#491 Leetcode Non-decreasing Subsequences Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #410
#492 Leetcode Construct the Rectangle Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #411
#493 Leetcode Reverse Pairs Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #412
#494 Leetcode Target Sum Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #413
#495 Leetcode Teemo Attacking Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #414
#496 Leetcode Next Greater Element I Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #415
#497 Leetcode Random Point in Non-overlapping Rectangles Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #416
#498 Leetcode Diagonal Traverse Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #417
#500 Leetcode Keyboard Row Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #418
#501 Leetcode Find Mode in Binary Search Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #419
#502 Leetcode IPO Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #420
#503 Leetcode Next Greater Element II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #421
#504 Leetcode Base 7 Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #422
#506 Leetcode Relative Ranks Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #423
#507 Leetcode Perfect Number Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #424
#508 Leetcode Most Frequent Subtree Sum Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #425
#509 Leetcode Fibonacci Number Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #426
#511 Leetcode Game Play Analysis I Solution in SQL Leetcode
Beginner
Ex: #427
#513 Leetcode Find Bottom Left Tree Value Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #428
#514 Leetcode Freedom Trail Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #429
#515 Leetcode Find Largest Value in Each Tree Row Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #430
#516 Leetcode Longest Palindromic Subsequence Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #431
#517 Leetcode Super Washing Machines Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #432
#518 Leetcode Coin Change II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #433
#519 Leetcode Random Flip Matrix Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #434
#520 Leetcode Detect Capital Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #435
#521 Leetcode Longest Uncommon Subsequence I Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #436
#522 Leetcode Longest Uncommon Subsequence II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #437
#523 Leetcode Continuous Subarray Sum Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #438
#524 Leetcode Longest Word in Dictionary through Deleting Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #439
#525 Leetcode Contiguous Array Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #440
#526 Leetcode Beautiful Arrangement Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #441
#528 Leetcode Random Pick with Weight Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #442
#529 Leetcode Minesweeper Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #443
#530 Leetcode Minimum Absolute Difference in BST Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #444
#532 Leetcode K-diff Pairs in an Array Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #445
#535 Leetcode Encode and Decode TinyURL Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #446
#537 Leetcode Complex Number Multiplication Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #447
#538 Leetcode Convert BST to Greater Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #448
#539 Leetcode Minimum Time Differenc Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #449
#540 Leetcode Single Element in a Sorted Array Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #450
#541 Leetcode Reverse String II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #451
#542 Leetcode 01 Matrix Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #452
#543 Leetcode Diameter of Binary Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #453
#546 Leetcode Remove Boxes Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #454
#547 Leetcode Number of Provinces Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #455
#551 Leetcode Student Attendance Record I Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #456
#552 Leetcode Student Attendance Record II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #457
#553 Leetcode Optimal Division Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #458
#554 Leetcode Brick Wall Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #459
#556 Leetcode Next Greater Element III Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #460
#557 Leetcode Reverse Words in a String III Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #461
#558 Leetcode Logical OR of Two Binary Grids Represented as Quad-Trees Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #462
#559 Leetcode Maximum Depth of N-ary Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #463
#560 Leetcode Subarray Sum Equals K Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #464
#561 Leetcode Array Partition Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #465
#563 Leetcode Binary Tree Tilt Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #466
#564 Leetcode Find the Closest Palindrome Tilt Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #467
#565 Leetcode Array Nesting Tilt Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #468
#566 Leetcode Reshape the Matrix Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #469
#567 Leetcode Permutation in String Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #470
#572 Leetcode Subtree of Another Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #471
#575 Leetcode Distribute Candies Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #472
#576 Leetcode Out of Boundary Paths Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #473
#581 Leetcode Shortest Unsorted Continuous Subarray Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #474
#583 Leetcode Delete Operation for Two Strings Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #475
#584 Leetcode Find Customer Referee Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #476
#587 Leetcode Erect the Fence Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #477
#589 Leetcode N-ary Tree Preorder Traversal Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #478
#590 Leetcode N-ary Tree Postorder Traversal Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #479
#591 Leetcode Tag Validator Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #480
#592 Leetcode Fraction Addition and Subtraction Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #481
#593 Leetcode Valid Square Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #482
#594 Leetcode Longest Harmonious Subsequence Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #483
#596 Leetcode Classes More Than 5 Students Solution in SQL Leetcode
Beginner
Ex: #484
#598 Leetcode Range Addition II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #485
#599 Leetcode Minimum Index Sum of Two Lists Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #486
#600 Leetcode Non-negative Integers without Consecutive Ones Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #487
#601 Leetcode Human Traffic of Stadium Solution in SQL Leetcode
Advanced
Ex: #488
#605 Leetcode Can Place Flowers Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #489
#606 Leetcode Construct String from Binary Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #490
#607 Leetcode Sales Person Solution in SQL Leetcode
Beginner
Ex: #491
#608 Leetcode Tree Node Solution in SQL Leetcode
Intermediate
Ex: #492
#609 Leetcode Find Duplicate File in System Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #493
#611 Leetcode Valid Triangle Number Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #494
#617 Leetcode Merge Two Binary Trees Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #495
#620 Leetcode Not Boring Movies Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #496
#621 Leetcode Task Scheduler Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #497
#622 Leetcode Design Circular Queue Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #498
#623 Leetcode Add One Row to Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #499
#626 Leetcode Exchange Seats Solution in SQL Leetcode
Intermediate
Ex: #500
#627 Leetcode Swap Salary Solution in SQL Leetcode
Beginner
Ex: #501
#628 Leetcode Maximum Product of Three Numbers Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #502
#629 Leetcode K Inverse Pairs Array Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #503
#630 Leetcode Course Schedule III Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #504
#632 Leetcode Smallest Range Covering Elements from K Lists Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #505
#633 Leetcode Sum of Square Numbers Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #506
#636 Leetcode Exclusive Time of Functions Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #507
#637 Leetcode Average of Levels in Binary Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #508
#638 Leetcode Shopping Offers Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #509
#639 Leetcode Decode Ways II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #510
#640 Leetcode Solve the Equation Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #511
#641 Leetcode Design Circular Deque Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #512
#643 Leetcode Maximum Average Subarray I Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #513
#645 Leetcode Set Mismatch Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #514
#646 Leetcode Maximum Length of Pair Chain Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #515
#647 Leetcode Palindromic Substrings Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #516
#648 Leetcode Replace Words Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #517
#649 Leetcode Dota2 Senate Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #518
#650 Leetcode 2 Keys Keyboard Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #519
#652 Leetcode Find Duplicate Subtrees Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #520
#653 Leetcode Two Sum IV - Input is a BST Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #521
#654 Leetcode Maximum Binary Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #522
#655 Leetcode Print Binary Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #523
#657 Leetcode Robot Return to Origin Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #524
#658 Leetcode Find K Closest Elements Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #525
#659 Leetcode Split Array into Consecutive Subsequences Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #526
#661 Leetcode Image Smoother Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #527
#662 Leetcode Maximum Width of Binary Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #528
#664 Leetcode Strange Printer Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #529
#665 Leetcode Non-decreasing Array Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #530
#667 Leetcode Beautiful Arrangement II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #531
#668 Leetcode Kth Smallest Number in Multiplication Table Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #532
#669 Leetcode Trim a Binary Search Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #533
#670 Leetcode Maximum Swap Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #534
#671 Leetcode Second Minimum Node In a Binary Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #535
#672 Leetcode Bulb Switcher II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #536
#673 Leetcode Number of Longest Increasing Subsequence Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #537
#674 Leetcode Longest Continuous Increasing Subsequence Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #538
#675 Leetcode Cut Off Trees for Golf Event Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #539
#676 Leetcode Implement Magic Dictionary Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #540
#677 Leetcode Map Sum Pairs Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #541
#678 Leetcode Valid Parenthesis String Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #542
#679 Leetcode 24 Game Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #543
#680 Leetcode Valid Palindrome II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #544
#682 Leetcode Baseball Game Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #545
#684 Leetcode Redundant Connection Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #546
#685 Leetcode Redundant Connection II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #547
#686 Leetcode Repeated String Match Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #548
#687 Leetcode Longest Univalue Path Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #549
#688 Leetcode Knight Probability in Chessboard Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #550
#689 Leetcode Maximum Sum of 3 Non-Overlapping Subarrays Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #551
#690 Leetcode Employee Importance Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #552
#691 Leetcode Stickers to Spell Word Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #553
#692 Leetcode Top K Frequent Words Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #554
#693 Leetcode Binary Number with Alternating Bits Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #555
#695 Leetcode Max Area of Island Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #556
#696 Leetcode Count Binary Substrings Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #557
#697 Leetcode Degree of an Array Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #558
#698 Leetcode Partition to K Equal Sum Subsets Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #559
#699 Leetcode Falling Squares Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #560
#700 Leetcode Search in a Binary Search Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #561
#701 Leetcode Insert into a Binary Search Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #562
#703 Leetcode Kth Largest Element in a Stream Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #563
#704 Leetcode Binary Search Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #564
#705 Leetcode Design HashSet Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #565
#706 Leetcode Design HashMap Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #566
#707 Leetcode Design Linked List Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #567
#709 Leetcode To Lower Case Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #568
#710 Leetcode Random Pick with Blacklist Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #569
#712 Leetcode Minimum ASCII Delete Sum for Two Strings Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #570
#713 Leetcode Subarray Product Less Than K Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #571
#714 Leetcode Best Time to Buy and Sell Stock with Transaction Fee Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #572
#715 Leetcode Range Module Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #573
#717 Leetcode 1-bit and 2-bit Characters Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #574
#718 Leetcode Maximum Length of Repeated Subarray Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #575
#719 Leetcode Find K-th Smallest Pair Distance Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #576
#720 Leetcode Longest Word in Dictionary Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #577
#721 Leetcode Accounts Merge Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #578
#722 Leetcode Remove Comments Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #579
#724 Leetcode Find Pivot Index Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #580
#725 Leetcode Split Linked List in Parts Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #581
#726 Leetcode Number of Atoms Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #582
#728 Leetcode Self Dividing Numbers Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #583
#729 Leetcode My Calendar I Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #584
#730 Leetcode Count Different Palindromic Subsequences Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #585
#731 Leetcode My Calendar II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #586
#732 Leetcode My Calendar III Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #587
#733 Leetcode Flood Fill Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #588
#735 Leetcode Asteroid Collision Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #589
#736 Leetcode Parse Lisp Expression Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #590
#738 Leetcode Monotone Increasing Digits Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #591
#739 Leetcode Daily Temperatures Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #592
#740 Leetcode Delete and Earn Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #593
#741 Leetcode Cherry Pickup Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #594
#743 Leetcode Network Delay Time Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #595
#744 Leetcode Find Smallest Letter Greater Than Target Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #596
#745 Leetcode Prefix and Suffix Search Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #597
#746 Leetcode Min Cost Climbing Stairs Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #598
#747 Leetcode Largest Number At Least Twice of Others Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #599
#748 Leetcode Shortest Completing Word Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #600
#749 Leetcode Contain Virus Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #601
#752 Leetcode Open the Lock Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #602
#753 Leetcode Cracking the Safe Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #603
#754 Leetcode Reach a Number Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #604
#756 Leetcode Pyramid Transition Matrix Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #605
#757 Leetcode Set Intersection Size At Least Two Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #606
#761 Leetcode Special Binary String Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #607
#762 Leetcode Prime Number of Set Bits in Binary Representation Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #608
#763 Leetcode Partition Labels Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #609
#764 Leetcode Largest Plus Sign Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #610
#765 Leetcode Couples Holding Hands Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #611
#766 Leetcode Toeplitz Matrix Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #612
#767 Leetcode Reorganize String Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #613
#768 Leetcode Max Chunks To Make Sorted II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #614
#769 Leetcode Max Chunks To Make Sorted Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #615
#770 Leetcode Basic Calculator IV Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #616
#771 Leetcode Jewels and Stones Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #617
#773 Leetcode Sliding Puzzle Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #618
#775 Leetcode Global and Local Inversions Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #619
#777 Leetcode Swap Adjacent in LR String Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #620
#778 Leetcode Swim in Rising Water Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #621
#779 Leetcode K-th Symbol in Grammar Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #622
#780 Leetcode Reaching Points Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #623
#781 Leetcode Rabbits in Forest Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #624
#782 Leetcode Transform to Chessboard Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #625
#783 Leetcode Minimum Distance Between BST Nodes Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #626
#784 Leetcode Letter Case Permutation Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #627
#785 Leetcode Is Graph Bipartite? Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #628
#786 Leetcode K-th Smallest Prime Fraction Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #629
#787 Leetcode Cheapest Flights Within K Stops Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #630
#788 Leetcode Rotated Digits Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #631
#789 Leetcode Escape The Ghosts Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #632
#791 Leetcode Custom Sort String Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #633
#792 Leetcode Number of Matching Subsequences Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #634
#793 Leetcode Preimage Size of Factorial Zeroes Function Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #635
#794 Leetcode Valid Tic-Tac-Toe State Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #636
#795 Leetcode Number of Subarrays with Bounded Maximum Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #637
#796 Leetcode Rotate String Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #638
#797 Leetcode All Paths From Source to Target Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #639
#798 Leetcode Smallest Rotation with Highest Score Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #640
#799 Leetcode Champagne Tower Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #641
#801 Leetcode Minimum Swaps To Make Sequences Increasing Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #642
#802 Leetcode Find Eventual Safe States Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #643
#803 Leetcode Bricks Falling When Hit Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #644
#804 Leetcode Unique Morse Code Words Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #645
#805 Leetcode Split Array With Same Average Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #646
#806 Leetcode Number of Lines To Write String Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #647
#807 Leetcode Max Increase to Keep City Skyline Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #648
#808 Leetcode Soup Servings Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #649
#809 Leetcode Expressive Words Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #650
#810 Leetcode Chalkboard XOR Game Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #651
#811 Leetcode Subdomain Visit Count Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #652
#812 Leetcode Largest Triangle Area Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #653
#813 Leetcode Largest Sum of Averages Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #654
#814 Leetcode Binary Tree Pruning Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #655
#815 Leetcode Bus Routes Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #656
#816 Leetcode Ambiguous Coordinates Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #657
#817 Leetcode Linked List Components Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #658
#818 Leetcode Race Car Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #659
#819 Leetcode Most Common Word Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #660
#820 Leetcode Short Encoding of Words Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #661
#821 Leetcode Shortest Distance to a Character Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #662
#822 Leetcode Card Flipping Game Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #663
#823 Leetcode Binary Trees With Factors Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #664
#824 Leetcode Goat Latin Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #665
#825 Leetcode Friends Of Appropriate Ages Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #666
#826 Leetcode Most Profit Assigning Work Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #667
#827 Leetcode Making A Large Island Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #668
#828 Leetcode Count Unique Characters of All Substrings of a Given String Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #669
#829 Leetcode Consecutive Numbers Sum Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #670
#830 Leetcode Positions of Large Groups Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #671
#831 Leetcode Masking Personal Information Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #672
#832 Leetcode Flipping an Image Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #673
#833 Leetcode Find And Replace in String Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #674
#834 Leetcode Sum of Distances in Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #675
#835 Leetcode Image Overlap Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #676
#836 Leetcode Rectangle Overlap Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #677
#837 Leetcode New 21 Game Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #678
#838 Leetcode Push Dominoes Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #679
#839 Leetcode Similar String Groups Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #680
#841 Leetcode Keys and Rooms Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #681
#842 Leetcode Split Array into Fibonacci Sequence Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #682
#843 Leetcode Guess the Word Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #683
#844 Leetcode Backspace String Compare Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #684
#845 Leetcode Longest Mountain in Array Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #685
#846 Leetcode Hand of Straights Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #686
#847 Leetcode Shortest Path Visiting All Nodes Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #687
#848 Leetcode Shifting Letters Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #688
#849 Leetcode Maximize Distance to Closest Person Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #689
#850 Leetcode Rectangle Area II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #690
#851 Leetcode Loud and Rich Solution in Python Leetcode
Intermediate
Ex: #691
#852 Leetcode Peak Index in a Mountain Array Solution in C++, Python, C# Leetcode
Intermediate
Ex: #692
#853 Leetcode Car Fleet Solution in C++, Python Leetcode
Intermediate
Ex: #693
#854 Leetcode K-Similar Strings Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #694
#855 Leetcode Exam Room Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #695
#856 Leetcode Score of Parentheses Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #696
#857 Leetcode Minimum Cost to Hire K Workers Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #697
#858 Leetcode Mirror Reflection Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #698
#859 Leetcode Buddy Strings Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #699
#860 Leetcode Lemonade Change Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #700
#861 Leetcode Score After Flipping Matrix Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #701
#862 Leetcode Shortest Subarray with Sum at Least K Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #702
#863 Leetcode All Nodes Distance K in Binary Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #703
#864 Leetcode Shortest Path to Get All Keys Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #704
#865 Leetcode Smallest Subtree with all the Deepest Nodes Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #705
#866 Leetcode Prime Palindrome Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #706
#867 Leetcode Transpose Matrix Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #707
#868 Leetcode Binary Gap Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #708
#869 Leetcode Reordered Power of 2 Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #709
#870 Leetcode Advantage Shuffle Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #710
#871 Leetcode Minimum Number of Refueling Stops Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #711
#872 Leetcode Leaf-Similar Trees Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #712
#873 Leetcode Length of Longest Fibonacci Subsequence Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #713
#874 Leetcode Walking Robot Simulation Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #714
#875 Leetcode Koko Eating Bananas Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #715
#876 Leetcode Middle of the Linked List Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #716
#877 Leetcode Stone Game Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #717
#878 Leetcode Nth Magical Number Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #718
#879 Leetcode Profitable Schemes Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #719
#880 Leetcode Decoded String at Index Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #720
#881 Leetcode Boats to Save People Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #721
#882 Leetcode Reachable Nodes In Subdivided Graph Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #722
#883 Leetcode Projection Area of 3D Shapes Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #723
#884 Leetcode Uncommon Words from Two Sentences Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #724
#885 Leetcode Spiral Matrix III Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #725
#886 Leetcode Possible Bipartition Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #726
#887 Leetcode Super Egg Drop Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #727
#888 Leetcode Fair Candy Swap Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #728
#889 Leetcode Construct Binary Tree from Preorder and Postorder Traversal Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #729
#890 Leetcode Find and Replace Pattern Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #730
#891 Leetcode Sum of Subsequence Widths Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #731
#892 Leetcode Surface Area of 3D Shapes Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #732
#893 Leetcode Groups of Special-Equivalent Strings Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #733
#894 Leetcode All Possible Full Binary Trees Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #734
#895 Leetcode Maximum Frequency Stack Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #735
#896 Leetcode Monotonic Array Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #736
#897 Leetcode Increasing Order Search Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #737
#898 Leetcode Bitwise ORs of Subarrays Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #738
#899 Leetcode Orderly Queue Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #739
#900 Leetcode RLE Iterator Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #740
#901 Leetcode Online Stock Span Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #741
#902 Leetcode Numbers At Most N Given Digit Set Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #742
#903 Leetcode Valid Permutations for DI Sequence Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #743
#904 Leetcode Fruit Into Baskets Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #744
#905 Leetcode Sort Array By Parity Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #745
#906 Leetcode Super Palindromes Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #746
#907 Leetcode Sum of Subarray Minimums Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #747
#908 Leetcode Smallest Range I Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #748
#909 Leetcode Snakes and Ladders Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #749
#910 Leetcode Smallest Range II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #750
#911 Leetcode Online Election Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #751
#912 Leetcode Sort an Array Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #752
#913 Leetcode Cat and Mouse Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #753
#914 Leetcode X of a Kind in a Deck of Cards Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #754
#915 Leetcode Partition Array into Disjoint Intervals Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #755
#916 Leetcode Word Subsets Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #756
#917 Leetcode Reverse Only Letters Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #757
#918 Leetcode Maximum Sum Circular Subarray Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #758
#919 Leetcode Complete Binary Tree Inserter Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #759
#920 Leetcode Number of Music Playlists Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #760
#921 Leetcode Minimum Add to Make Parentheses Valid Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #761
#922 Leetcode Sort Array By Parity II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #762
#923 Leetcode 3Sum With Multiplicity Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #763
#924 Leetcode Minimize Malware Spread Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #764
#925 Leetcode Long Pressed Name Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #765
#926 Leetcode Flip String to Monotone Increasing Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #766
#927 Leetcode Three Equal Parts Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #767
#928 Leetcode Minimize Malware Spread II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #768
#929 Leetcode Unique Email Addresses Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #769
#930 Leetcode Binary Subarrays With Sum Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #770
#931 Leetcode Minimum Falling Path Sum Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #771
#932 Leetcode Beautiful Array Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #772
#933 Leetcode Number of Recent Calls Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #773
#934 Leetcode Shortest Bridge Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #774
#935 Leetcode Knight Dialer Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #775
#936 Leetcode Stamping The Sequence Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #776
#937 Leetcode Reorder Data in Log Files Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #777
#938 Leetcode Range Sum of BST Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #778
#939 Leetcode Minimum Area Rectangle Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #779
#940 Leetcode Distinct Subsequences II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #780
#941 Leetcode Valid Mountain Array Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #781
#942 Leetcode DI String Match Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #782
#943 Leetcode Find the Shortest Superstring Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #783
#944 Leetcode Delete Columns to Make Sorted Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #784
#945 Leetcode Minimum Increment to Make Array Unique Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #785
#946 Leetcode Validate Stack Sequences Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #786
#947 Leetcode Most Stones Removed with Same Row or Column Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #787
#948 Leetcode Bag of Tokens Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #788
#949 Leetcode Largest Time for Given DigitsSolution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #789
#950 Leetcode Reveal Cards In Increasing Order Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #790
#951 Leetcode Flip Equivalent Binary Trees Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #791
#952 Leetcode Largest Component Size by Common Factor Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #792
#953 Leetcode Verifying an Alien Dictionary Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #793
#954 Leetcode Array of Doubled Pairs Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #794
#955 Leetcode Delete Columns to Make Sorted II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #795
#956 Leetcode Tallest Billboard Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #796
#957 Leetcode Prison Cells After N Days Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #797
#958 Leetcode Check Completeness of a Binary Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #798
#959 Leetcode Regions Cut By Slashes Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #799
#960 Leetcode Delete Columns to Make Sorted III Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #800
#961 Leetcode N-Repeated Element in Size 2N Array Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #801
#962 Leetcode Maximum Width Ramp Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #802
#963 Leetcode Minimum Area Rectangle II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #803
#964 Leetcode Least Operators to Express Number Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #804
#965 Leetcode Univalued Binary Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #805
#966 Leetcode Vowel Spellchecker Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #806
#967 Leetcode Numbers With Same Consecutive Differences Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #807
#968 Leetcode Binary Tree Cameras Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #808
#969 Leetcode Pancake Sorting Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #809
#970 Leetcode Powerful Integers Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #810
#971 Leetcode Flip Binary Tree To Match Preorder Traversal Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #811
#972 Leetcode Equal Rational Numbers Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #812
#973 Leetcode K Closest Points to Origin Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #813
#974 Leetcode Subarray Sums Divisible by K Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #814
#975 Leetcode Odd Even Jump Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #815
#976 Leetcode Largest Perimeter Triangle Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #816
#977 Leetcode Squares of a Sorted Array Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #817
#978 Leetcode Longest Turbulent Subarray Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #818
#979 Leetcode Distribute Coins in Binary Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #819
#980 Leetcode Unique Paths III Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #820
#981 Leetcode Time Based Key-Value Store Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #821
#982 Leetcode Triples with Bitwise AND Equal To Zero Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #822
#983 Leetcode Minimum Cost For Tickets Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #823
#984 Leetcode String Without AAA or BBB Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #824
#985 Leetcode Sum of Even Numbers After Queries Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #825
#986 Leetcode Interval List Intersections Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #826
#987 Leetcode Vertical Order Traversal of a Binary Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #827
#988 Leetcode Smallest String Starting From Leaf Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #828
#989 Leetcode Add to Array-Form of Integer Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #829
#990 Leetcode Satisfiability of Equality Equations Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #830
#991 Leetcode Broken Calculator Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #831
#992 Leetcode Subarrays with K Different Integers Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #832
#993 Leetcode Cousins in Binary Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #833
#994 Leetcode Rotting Orangess Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #834
#995 Leetcode Minimum Number of K Consecutive Bit Flips Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #835
#996 Leetcode Number of Squareful Arrays Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #836
#997 Leetcode Find the Town Judge Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #837
#998 Leetcode Maximum Binary Tree II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #838
#999 Leetcode Available Captures for Rook Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #839
#1000 Leetcode Minimum Cost to Merge Stones Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #840
#1001 Leetcode Grid Illumination Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #841
#1002 Leetcode Find Common Characters Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #842
#1003 Leetcode Check If Word Is Valid After Substitutions Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #843
#1004 Leetcode Max Consecutive Ones III Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #844
#1005 Leetcode Maximize Sum Of Array After K Negations Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #845
#1006 Leetcode Clumsy Factorial Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #846
#1007 Leetcode Minimum Domino Rotations For Equal Row Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #847
#1008 Leetcode Construct Binary Search Tree from Preorder Traversal Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #848
#1009 Leetcode Complement of Base 10 Integer Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #849
#1010 Leetcode Pairs of Songs With Total Durations Divisible by 60 Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #850
#1011 Leetcode Capacity To Ship Packages Within D Days Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #851
#1012 Leetcode Numbers With Repeated Digits Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #852
#1013 Leetcode Partition Array Into Three Parts With Equal Sum Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #853
#1014 Leetcode Best Sightseeing Pair Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #854
#1015 Leetcode Smallest Integer Divisible by K Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #855
#1016 Leetcode Binary String With Substrings Representing 1 To N Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #856
#1017 Leetcode Convert to Base -2 Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #857
#1018 Leetcode Binary Prefix Divisible By 5 Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #858
#1019 Leetcode Next Greater Node In Linked List Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #859
#1020 Leetcode Number of Enclaves Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #860
#1021 Leetcode Remove Outermost Parentheses Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #861
#1022 Leetcode Sum of Root To Leaf Binary Numbers Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #862
#1023 Leetcode Camelcase Matching Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #863
#1024 Leetcode Video Stitching Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #864
#1025 Leetcode Divisor Game Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #865
#1026 Leetcode Maximum Difference Between Node and Ancestor Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #866
#1027 Leetcode Longest Arithmetic Subsequence Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #867
#1028 Leetcode Recover a Tree From Preorder Traversal Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #868
#1029 Leetcode Two City Scheduling Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #869
#1030 Leetcode Matrix Cells in Distance Order Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #870
#1031 Leetcode Maximum Sum of Two Non-Overlapping Subarrays Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #871
#1032 Leetcode Stream of Characters Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #872
#1033 Leetcode Moving Stones Until Consecutive Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #873
#1034 Leetcode Coloring A Border Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #874
#1035 Leetcode Uncrossed Lines Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #875
#1036 Leetcode Escape a Large Maze Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #876
#1037 Leetcode Valid Boomerang Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #877
#1038 Leetcode Binary Search Tree to Greater Sum Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #878
#1039 Leetcode Minimum Score Triangulation of Polygon Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #879
#1040 Leetcode Moving Stones Until Consecutive II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #880
#1041 Leetcode Robot Bounded In Circle Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #881
#1042 Leetcode Flower Planting With No Adjacent Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #882
#1043 Leetcode Partition Array for Maximum Sum Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #883
#1044 Leetcode Longest Duplicate Substring Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #884
#1046 Leetcode Last Stone Weight Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #885
#1025 Leetcode Remove All Adjacent Duplicates In String Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #886
#1048 Leetcode Longest String Chain Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #887
#1049 Leetcode Last Stone Weight II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #888
#1050 Leetcode Actors and Directors Who Cooperated At Least Three Times Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #889
#1051 Leetcode Height Checker Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #890
#1052 Leetcode Grumpy Bookstore Owner Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #891
#1053 Leetcode Previous Permutation With One Swap Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #892
#1054 Leetcode Distant Barcodes Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #893
#1061 Leetcode Lexicographically Smallest Equivalent String Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #894
#1071 Leetcode Greatest Common Divisor of Strings Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #895
#1072 Leetcode Flip Columns For Maximum Number of Equal Rows Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #896
#1073 Leetcode Adding Two Negabinary Numbers Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #897
#1074 Leetcode Number of Submatrices That Sum to Target Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #898
#1078 Leetcode Occurrences After Bigram Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #899
#1079 Leetcode Letter Tile Possibilities Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #900
#1080 Leetcode Insufficient Nodes in Root to Leaf Paths Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #901
#1084 Leetcode Sales Analysis III Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #902
#1089 Leetcode Duplicate Zeros Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #903
#1090 Leetcode Largest Values From Labels Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #904
#1091 Leetcode Shortest Path in Binary Matrix Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #905
#1092 Leetcode Shortest Common Supersequence Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #906
#1093 Leetcode Statistics from a Large Sample Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #907
#1094 Leetcode Car Pooling Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #908
#1095 Leetcode Find in Mountain Array Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #909
#1096 Leetcode Brace Expansion II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #910
#1103 Leetcode Distribute Candies to People Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #911
#1104 Leetcode Path In Zigzag Labelled Binary Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #912
#1105 Leetcode Filling Bookcase Shelves Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #913
#1106 Leetcode Parsing A Boolean Expression Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #914
#1108 Leetcode Defanging an IP Address Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #915
#1109 Leetcode Corporate Flight Bookings Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #916
#1110 Leetcode Delete Nodes And Return Forest Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #917
#1111 Leetcode Maximum Nesting Depth of Two Valid Parentheses Strings Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #918
#1114 Leetcode Print in Order Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #919
#1115 Leetcode Print FooBar Alternately Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #920
#1116 Leetcode Print Zero Even Odd Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #921
#1117 Leetcode Building H2O Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #922
#1122 Leetcode Relative Sort Array Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #923
#1123 Leetcode Lowest Common Ancestor of Deepest Leaves Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #924
#1124 Leetcode Longest Well-Performing Interval Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #925
#1125 Leetcode Smallest Sufficient Team Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #926
#1128 Leetcode Number of Equivalent Domino Pairs Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #927
#1129 Leetcode Shortest Path with Alternating Colors Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #928
#1130 Leetcode Minimum Cost Tree From Leaf Values Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #929
#1131 Leetcode Maximum of Absolute Value Expression Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #930
#1137 Leetcode N-th Tribonacci Number Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #931
#1138 Leetcode Alphabet Board Path Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #932
#1139 Leetcode Largest 1-Bordered Square Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #933
#1140 Leetcode Stone Game II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #934
#1141 Leetcode User Activity for the Past 30 Days I Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #935
#1143 Leetcode Longest Common Subsequence Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #936
#1144 Leetcode Decrease Elements To Make Array Zigzag Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #937
#1145 Leetcode Binary Tree Coloring Game Solution in C, C++, Java, JavaScript, Python, C# LeetcodeProblem Name:
Intermediate
Ex: #938
#1146 Leetcode Snapshot Array Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #939
#1147 Leetcode Longest Chunked Palindrome Decomposition Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #940
#1148 Leetcode Article Views I Solution in SQL Leetcode
Beginner
Ex: #941
#1154 Leetcode Day of the Year Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #942
#1155 Leetcode Number of Dice Rolls With Target Sum Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #943
#1156 Leetcode Swap For Longest Repeated Character Substring Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #944
#1157 Leetcode Online Majority Element In Subarray Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #945
#1160 Leetcode Find Words That Can Be Formed by Characters Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #946
#1161 Leetcode Maximum Level Sum of a Binary Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #947
#1162 Leetcode As Far from Land as Possible Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #948
#1163 Leetcode Last Substring in Lexicographical Order Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #949
#1169 Leetcode Invalid Transactions Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #950
#1170 Leetcode Compare Strings by Frequency of the Smallest Character Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #951
#1171 Leetcode Remove Zero Sum Consecutive Nodes from Linked List Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #952
#1172 Leetcode Dinner Plate Stacks Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #953
#1175 Leetcode Prime Arrangements Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #954
#1177 Leetcode Can Make Palindrome from Substring Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #955
#1178 Leetcode Number of Valid Words for Each Puzzle Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #956
#1179 Leetcode Reformat Department Table Solution in SQL Leetcode
Beginner
Ex: #957
#1184 Leetcode Distance Between Bus Stops Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #958
#1185 Leetcode Day of the Week Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #959
#1187 Leetcode Make Array Strictly Increasing Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #960
#1189 Leetcode Maximum Number of Balloons Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #961
#1190 Leetcode Reverse Substrings Between Each Pair of Parentheses Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #962
#1191 Leetcode K-Concatenation Maximum Sum Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #963
#1192 Leetcode Critical Connections in a Network Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #964
#1200 Leetcode Minimum Absolute Difference Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #965
#1201 Leetcode Ugly Number III Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #966
#1202 Leetcode Smallest String With Swaps Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #967
#1203 Leetcode Sort Items by Groups Respecting Dependencies Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #968
#1206 Leetcode Design Skiplist Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #969
#1207 Leetcode Unique Number of Occurrences Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #970
#1208 Leetcode Get Equal Substrings Within Budget Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #971
#1209 Leetcode Remove All Adjacent Duplicates in String II Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #972
#1210 Leetcode Minimum Moves to Reach Target with Rotations Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #973
#1217 Leetcode Minimum Cost to Move Chips to The Same Position Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #974
#1218 Leetcode Longest Arithmetic Subsequence of Given Difference Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #975
#1219 Leetcode Path with Maximum Gold Solution in C, C++, Java, JavaScript, Python, C# Lee
Intermediate
Ex: #976
#1220 Leetcode Count Vowels Permutation Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #977
#1221 Leetcode Split a String in Balanced Strings Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #978
#1222 Leetcode Queens That Can Attack the King Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #979
#1223 Leetcode Dice Roll Simulation Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #980
#1224 Leetcode Maximum Equal Frequency Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #981
#1227 Leetcode Airplane Seat Assignment Probability Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #982
#1232 Leetcode Check If It Is a Straight Line Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #983
#1233 Leetcode Remove Sub-Folders from the Filesystem Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #984
#1234 Leetcode Replace the Substring for Balanced String Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #985
#1235 Leetcode Maximum Profit in Job Scheduling Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #986
#1237 Leetcode Find Positive Integer Solution for a Given Equation Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #987
#1238 Leetcode Circular Permutation in Binary Representation Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #988
#1239 Leetcode Maximum Length of a Concatenated String with Unique Characters Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #989
#1240 Leetcode Tiling a Rectangle with the Fewest Squares Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #990
#1247 Leetcode Minimum Swaps to Make Strings Equal Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #991
#1248 Leetcode Count Number of Nice Subarrays Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #992
#1249 Leetcode Minimum Remove to Make Valid Parentheses Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #993
#1250 Leetcode Check If It Is a Good Array Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #994
#1252 Leetcode Cells with Odd Values in a Matrix Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #995
#1253 Leetcode Reconstruct a 2-Row Binary Matrix Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #996
#1254 Leetcode Number of Closed Islands Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #997
#1255 Leetcode Maximum Score Words Formed by Letters Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #998
#1260 Leetcode Shift 2D Grid Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #999
#1261 Leetcode Find Elements in a Contaminated Binary Tree Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #1000
#1262 Leetcode Greatest Sum Divisible by Three Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #1001
#1263 Leetcode Minimum Moves to Move a Box to Their Target Location Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced
Ex: #1002
#1266 Leetcode Minimum Time Visiting All Points Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Beginner
Ex: #1003
#1267 Leetcode Count Servers that Communicate Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #1004
#1268 Leetcode Search Suggestions System Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Intermediate
Ex: #1005
#1269 Leetcode Number of Ways to Stay in the Same Place After Some Steps Solution in C, C++, Java, JavaScript, Python, C# Leetcode
Advanced