GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Rukeith/leetcode: A repo to collect best solution for leetcode

BranchesTags
Open more actions menu

Latest commit

 

History

200 Commits
200 Commits

Folders and files

NameName
Last commit message
Last commit date
.vscode
.vscode
 
 
1. Two Sum
1. Two Sum
 
 
100. Same Tree
100. Same Tree
 
 
101. Symmetric Tree
101. Symmetric Tree
 
 
102. Binary Tree Level Order Traversal
102. Binary Tree Level Order Traversal
 
 
103. Binary Tree Zigzag Level Order Traversal
103. Binary Tree Zigzag Level Order Traversal
 
 
104. Maximum Depth of Binary Tree
104. Maximum Depth of Binary Tree
 
 
105. Construct Binary Tree from Preorder and Inorder Traversal
105. Construct Binary Tree from Preorder and Inorder Traversal
 
 
106. Construct Binary Tree from Inorder and Postorder Traversal
106. Construct Binary Tree from Inorder and Postorder Traversal
 
 
107. Binary Tree Level Order Traversal II
107. Binary Tree Level Order Traversal II
 
 
108. Convert Sorted Array to Binary Search Tree
108. Convert Sorted Array to Binary Search Tree
 
 
109. Convert Sorted List to Binary Search Tree
109. Convert Sorted List to Binary Search Tree
 
 
11. Container With Most Water
11. Container With Most Water
 
 
110. Balanced Binary Tree
110. Balanced Binary Tree
 
 
111. Minimum Depth of Binary Tree
111. Minimum Depth of Binary Tree
 
 
112. Path Sum
112. Path Sum
 
 
113. Path Sum II
113. Path Sum II
 
 
114. Flatten Binary Tree to Linked List
114. Flatten Binary Tree to Linked List
 
 
116. Populating Next Right Pointers in Each Node
116. Populating Next Right Pointers in Each Node
 
 
117. Populating Next Right Pointers in Each Node II
117. Populating Next Right Pointers in Each Node II
 
 
118. Pascal's Triangle
118. Pascal's Triangle
 
 
119. Pascal's Triangle II
119. Pascal's Triangle II
 
 
12. Integer to Roman
12. Integer to Roman
 
 
120. Triangle
120. Triangle
 
 
121. Best Time to Buy and Sell Stock
121. Best Time to Buy and Sell Stock
 
 
122. Best Time to Buy and Sell Stock II
122. Best Time to Buy and Sell Stock II
 
 
125. Valid Palindrome
125. Valid Palindrome
 
 
127. Word Ladder
127. Word Ladder
 
 
129. Sum Root to Leaf Numbers
129. Sum Root to Leaf Numbers
 
 
13. Roman to Integer
13. Roman to Integer
 
 
130. Surrounded Regions
130. Surrounded Regions
 
 
131. Palindrome Partitioning
131. Palindrome Partitioning
 
 
133. Clone Graph
133. Clone Graph
 
 
134. Gas Station
134. Gas Station
 
 
136. Single Number
136. Single Number
 
 
137. Single Number II
137. Single Number II
 
 
138. Copy List with Random Pointer
138. Copy List with Random Pointer
 
 
139. Word Break
139. Word Break
 
 
14. Longest Common Prefix
14. Longest Common Prefix
 
 
141. Linked List Cycle
141. Linked List Cycle
 
 
142. Linked List Cycle II
142. Linked List Cycle II
 
 
143. Reorder List
143. Reorder List
 
 
144. Binary Tree Preorder Traversal
144. Binary Tree Preorder Traversal
 
 
147. Insertion Sort List
147. Insertion Sort List
 
 
148. Sort List
148. Sort List
 
 
15. 3Sum
15. 3Sum
 
 
150. Evaluate Reverse Polish Notation
150. Evaluate Reverse Polish Notation
 
 
151. Reverse Words in a String
151. Reverse Words in a String
 
 
152. Maximum Product Subarray
152. Maximum Product Subarray
 
 
153. Find Minimum in Rotated Sorted Array
153. Find Minimum in Rotated Sorted Array
 
 
155. Min Stack
155. Min Stack
 
 
16. 3Sum Closest
16. 3Sum Closest
 
 
160. Intersection of Two Linked Lists
160. Intersection of Two Linked Lists
 
 
162. Find Peak Element
162. Find Peak Element
 
 
165. Compare Version Numbers
165. Compare Version Numbers
 
 
166. Fraction to Recurring Decimal
166. Fraction to Recurring Decimal
 
 
167. Two Sum II - Input array is sorted
167. Two Sum II - Input array is sorted
 
 
168. Excel Sheet Column Title
168. Excel Sheet Column Title
 
 
169. Majority Element
169. Majority Element
 
 
17. Letter Combinations of a Phone Number
17. Letter Combinations of a Phone Number
 
 
171. Excel Sheet Column Number
171. Excel Sheet Column Number
 
 
172. Factorial Trailing Zeroes
172. Factorial Trailing Zeroes
 
 
173. Binary Search Tree Iterator
173. Binary Search Tree Iterator
 
 
175. Combine Two Tables
175. Combine Two Tables
 
 
176. Second Highest Salary
176. Second Highest Salary
 
 
177. Nth Highest Salary
177. Nth Highest Salary
 
 
178. Rank Scores
178. Rank Scores
 
 
179. Largest Number
179. Largest Number
 
 
18. 4Sum
18. 4Sum
 
 
180. Consecutive Numbers
180. Consecutive Numbers
 
 
181. Employees Earning More Than Their Managers
181. Employees Earning More Than Their Managers
 
 
182. Duplicate Emails
182. Duplicate Emails
 
 
183. Customers Who Never Order
183. Customers Who Never Order
 
 
184. Department Highest Salary
184. Department Highest Salary
 
 
185. Department Top Three Salaries
185. Department Top Three Salaries
 
 
187. Repeated DNA Sequences
187. Repeated DNA Sequences
 
 
189. Rotate Array
189. Rotate Array
 
 
19. Remove Nth Node From End of List
19. Remove Nth Node From End of List
 
 
190. Reverse Bits
190. Reverse Bits
 
 
191. Number of 1 Bits
191. Number of 1 Bits
 
 
192. Word Frequency
192. Word Frequency
 
 
193. Valid Phone Numbers
193. Valid Phone Numbers
 
 
194. Transpose File
194. Transpose File
 
 
195. Tenth Line
195. Tenth Line
 
 
196. Delete Duplicate Emails
196. Delete Duplicate Emails
 
 
197. Rising Temperature
197. Rising Temperature
 
 
198. House Robber
198. House Robber
 
 
199. Binary Tree Right Side View
199. Binary Tree Right Side View
 
 
2. Add Two Numbers
2. Add Two Numbers
 
 
20. Valid Parentheses
20. Valid Parentheses
 
 
200. Number of Islands
200. Number of Islands
 
 
201. Bitwise AND of Numbers Range
201. Bitwise AND of Numbers Range
 
 
202. Happy Number
202. Happy Number
 
 
203. Remove Linked List Elements
203. Remove Linked List Elements
 
 
204. Count Primes
204. Count Primes
 
 
205. Isomorphic Strings
205. Isomorphic Strings
 
 
206. Reverse Linked List
206. Reverse Linked List
 
 
207. Course Schedule
207. Course Schedule
 
 
208. Implement Trie (Prefix Tree)
208. Implement Trie (Prefix Tree)
 
 
209. Minimum Size Subarray Sum
209. Minimum Size Subarray Sum
 
 

Repository files navigation

LeetCode Solution

Cracking the LeetCode with multiple programming language

# Category Title Difficulty SQL JavaScript Python3 Go Swift Kotlin Scala C C++ C# Java Ruby
1 Algorithms Two Sum Easy ✔️ ✔️ ✔️
2 Algorithms Add Two Number Medium ✔️ ✔️ ✔️
7 Algorithms Reverse Integer Easy ✔️ ✔️ ✔️
9 Algorithms Palindrome Number Easy ✔️ ✔️ ✔️
11 Algorithms Container With Most Water Medium ✔️ ✔️ ✔️
13 Algorithms Roman to Integer Easy ✔️ ✔️ ✔️
14 Algorithms Longest Common Prefix Easy ✔️ ✔️ ✔️
20 Algorithms Valid Parentheses Easy ✔️ ✔️ ✔️
21 Algorithms Merge Two Sorted Lists Easy ✔️ ✔️ ✔️
26 Algorithms Remove Duplicates from Sorted Array Easy ✔️ ✔️ ✔️
27 Algorithms Remove Element Easy ✔️ ✔️ ✔️
28 Algorithms Implement strStr() Easy ✔️ ✔️ ✔️
35 Algorithms Search Insert Position Easy ✔️ ✔️ ✔️
38 Algorithms Count and Say Easy ✔️ ✔️ ✔️
53 Algorithms Maximum Subarray Easy ✔️ ✔️ ✔️
58 Algorithms Length of Last Word Easy ✔️ ✔️ ✔️
66 Algorithms Plus One Easy ✔️ ✔️ ✔️
67 Algorithms Add Binary Easy ✔️ ✔️ ✔️
69 Algorithms Sqrt(x) Easy ✔️ ✔️ ✔️
70 Algorithms Climbing Stairs Easy ✔️ ✔️ ✔️
83 Algorithms Remove Duplicates from Sorted List Easy ✔️ ✔️ ✔️
88 Algorithms Merge Sorted Array Easy ✔️ ✔️ ✔️
100 Algorithms Same Tree Easy ✔️ ✔️ ✔️
101 Algorithms Symmetric Tree Easy ✔️ ✔️ ✔️
104 Algorithms Maximum Depth of Binary Tree Easy ✔️ ✔️ ✔️
107 Algorithms Binary Tree Level Order Traversal II Easy ✔️ ✔️ ✔️
108 Algorithms Convert Sorted Array to Binary Search Tree Easy ✔️ ✔️ ✔️
110 Algorithms Balanced Binary Tree Easy ✔️ ✔️ ✔️
111 Algorithms Minimum Depth of Binary Tree Easy ✔️ ✔️ ✔️
112 Algorithms Path Sum Easy ✔️ ✔️ ✔️
118 Algorithms Pascal's Triangle Easy ✔️ ✔️ ✔️
119 Algorithms Pascal's Triangle II Easy ✔️ ✔️ ✔️
121 Algorithms Best Time to Buy and Sell Stock Easy ✔️ ✔️ ✔️
122 Algorithms Best Time to Buy and Sell Stock II Easy ✔️ ✔️ ✔️
125 Algorithms Valid Palindrome Easy ✔️ ✔️ ✔️
136 Algorithms Single Number Easy ✔️ ✔️ ✔️
141 Algorithms Linked List Cycle Easy ✔️ ✔️ ✔️
155 Algorithms Min Stack Easy ✔️ ✔️ ✔️
160 Algorithms Intersection of Two Linked Lists Easy ✔️ ✔️ ✔️
167 Algorithms Two Sum II - Input array is sorted Easy ✔️ ✔️ ✔️
168 Algorithms Excel Sheet Column Title Easy ✔️ ✔️ ✔️
169 Algorithms Majority Element Easy ✔️ ✔️ ✔️
171 Algorithms Excel Sheet Column Number Easy ✔️ ✔️ ✔️
172 Algorithms Factorial Trailing Zeroes Easy ✔️ ✔️ ✔️
175 Database Combine Two Tables Easy ✔️
176 Database Second Highest Salary Easy ✔️
177 Database Nth Highest Salary Medium ✔️
178 Database Rank Scores Medium ✔️
180 Database Consecutive Numbers Medium ✔️
181 Database Employees Earning More Than Their Managers Easy ✔️
182 Database Duplicate Emails Easy ✔️
183 Database Customers Who Never Order Easy ✔️
184 Database Department Highest Salary Medium ✔️
185 Database Department Top Three Salaries Hard ✔️
189 Algorithms Rotate Array Easy ✔️ ✔️ ✔️
190 Algorithms Reverse Bits Easy ✔️ ✔️ ✔️
191 Algorithms Number of 1 Bits Easy ✔️ ✔️ ✔️
192 Shell Word Frequency Medium
193 Shell Valid Phone Numbers Easy
194 Shell Transpose File Medium
195 Shell Tenth Line Easy
196 Database Delete Duplicate Emails Easy ✔️
197 Database Rising Temperature Easy ✔️
198 Algorithms House Robber Easy ✔️ ✔️ ✔️
202 Algorithms Happy Number Easy ✔️ ✔️ ✔️
203 Algorithms Remove Linked List Elements Easy ✔️ ✔️ ✔️
204 Algorithms Count Primes Easy ✔️ ✔️ ✔️
205 Algorithms Isomorphic Strings Easy ✔️ ✔️ ✔️
206 Algorithms Reverse Linked List Easy ✔️ ✔️ ✔️
217 Algorithms Contains Duplicate Easy ✔️ ✔️ ✔️
219 Algorithms Contains Duplicate II Easy ✔️ ✔️ ✔️
225 Algorithms Implement Stack using Queues Easy ✔️ ✔️ ✔️
226 Algorithms Invert Binary Tree Easy ✔️ ✔️ ✔️
231 Algorithms Power of Two Easy ✔️ ✔️ ✔️
232 Algorithms Implement Queue using Stacks Easy ✔️ ✔️ ✔️
234 Algorithms Palindrome Linked List Easy ✔️ ✔️ ✔️
235 Algorithms Lowest Common Ancestor of a Binary Search Tree Easy ✔️ ✔️ ✔️
237 Algorithms Delete Node in a Linked List Easy ✔️ ✔️ ✔️
242 Algorithms Valid Anagram Easy ✔️ ✔️ ✔️
257 Algorithms Binary Tree Paths Easy ✔️ ✔️ ✔️
258 Algorithms Add Digits Easy ✔️ ✔️ ✔️
262 Database Trips and Users Hard ✔️
263 Algorithms Ugly Number Easy ✔️ ✔️ ✔️
268 Algorithms Missing Number Easy ✔️ ✔️ ✔️
278 Algorithms First Bad Version Easy ✔️ ✔️
283 Algorithms Move Zeroes Easy ✔️ ✔️ ✔️
290 Algorithms Word Pattern Easy ✔️ ✔️ ✔️
292 Algorithms Nim Game Easy ✔️ ✔️ ✔️
299 Algorithms Bulls and Cows Easy ✔️ ✔️ ✔️
303 Algorithms Range Sum Query - Immutable Easy ✔️ ✔️ ✔️
326 Algorithms Power of Three Easy ✔️ ✔️ ✔️
342 Algorithms Power of Four Easy ✔️ ✔️ ✔️
344 Algorithms Reverse String Easy ✔️ ✔️ ✔️
345 Algorithms Reverse Vowels of a String Easy ✔️ ✔️ ✔️
349 Algorithms Intersection of Two Arrays Easy ✔️ ✔️ ✔️
350 Algorithms Intersection of Two Arrays II Easy ✔️ ✔️ ✔️
367 Algorithms Valid Perfect Square Easy ✔️ ✔️ ✔️
371 Algorithms Sum of Two Integers Easy ✔️ ✔️ ✔️
374 Algorithms Guess Number Higher or Lower Easy ✔️ ✔️ ✔️
383 Algorithms Ransom Note Easy ✔️ ✔️ ✔️
387 Algorithms First Unique Character in a String Easy ✔️ ✔️ ✔️
389 Algorithms Find the Difference Easy ✔️ ✔️ ✔️
392 Algorithms Is Subsequence Easy ✔️ ✔️ ✔️
400 Algorithms Nth Digit Easy ✔️ ✔️ ✔️
401 Algorithms Binary Watch Easy ✔️ ✔️ ✔️
404 Algorithms Sum of Left Leaves Easy ✔️ ✔️ ✔️
405 Algorithms Convert a Number to Hexadecimal Easy ✔️ ✔️ ✔️
409 Algorithms Longest Palindrome Easy ✔️ ✔️ ✔️
412 Algorithms Fizz Buzz Easy ✔️ ✔️ ✔️
414 Algorithms Third Maximum Number Easy ✔️ ✔️ ✔️
415 Algorithms Add Strings Easy ✔️ ✔️ ✔️
429 Algorithms N-ary Tree Level Order Traversal Easy ✔️ ✔️
434 Algorithms Number of Segments in a String Easy ✔️ ✔️ ✔️
437 Algorithms Path Sum III Easy ✔️ ✔️ ✔️
438 Algorithms Find All Anagrams in a String Easy ✔️ ✔️ ✔️
441 Algorithms Arranging Coins Easy ✔️ ✔️ ✔️
443 Algorithms String Compression Easy ✔️ ✔️ ✔️
447 Algorithms Number of Boomerangs Easy ✔️ ✔️ ✔️
448 Algorithms Find All Numbers Disappeared in an Array Easy ✔️ ✔️ ✔️
453 Algorithms Minimum Moves to Equal Array Elements Easy ✔️ ✔️ ✔️
455 Algorithms Assign Cookies Easy ✔️ ✔️ ✔️
458 Algorithms Poor Pigs Hard ✔️ ✔️ ✔️
459 Algorithms Repeated Substring Pattern Easy ✔️ ✔️ ✔️
461 Algorithms Hamming Distance Easy ✔️ ✔️ ✔️
463 Algorithms Island Perimeter Easy ✔️ ✔️
475 Algorithms Heaters Easy ✔️ ✔️ ✔️
476 Algorithms Number Complement Easy ✔️ ✔️ ✔️
482 Algorithms License Key Formatting Easy ✔️ ✔️ ✔️
485 Algorithms Max Consecutive Ones Easy ✔️ ✔️ ✔️
492 Algorithms Construct the Rectangle Easy ✔️ ✔️ ✔️
496 Algorithms Next Greater Element I Easy ✔️ ✔️ ✔️
500 Algorithms Keyboard Row Easy ✔️ ✔️ ✔️
501 Algorithms Find Mode in Binary Search Tree Easy ✔️ ✔️ ✔️
504 Algorithms Base 7 Easy ✔️ ✔️ ✔️
506 Algorithms Relative Ranks Easy ✔️ ✔️ ✔️
507 Algorithms Perfect Number Easy ✔️ ✔️ ✔️
509 Algorithms Fibonacci Number Easy ✔️ ✔️ ✔️
520 Algorithms Detect Capital Easy ✔️ ✔️ ✔️
521 Algorithms Longest Uncommon Subsequence I Easy ✔️ ✔️ ✔️
530 Algorithms Minimum Absolute Difference in BST Easy ✔️ ✔️ ✔️
532 Algorithms K-diff Pairs in an Array Easy ✔️ ✔️ ✔️
538 Algorithms Convert BST to Greater Tree Easy ✔️ ✔️ ✔️
541 Algorithms Reverse String II Easy ✔️ ✔️ ✔️
543 Algorithms Diameter of Binary Tree Easy ✔️ ✔️ ✔️
551 Algorithms Student Attendance Record I Easy ✔️ ✔️ ✔️
557 Algorithms Reverse Words in a String III Easy ✔️ ✔️ ✔️
558 Algorithms Quad Tree Intersection Easy ✔️ ✔️
559 Algorithms Maximum Depth of N-ary Tree Easy ✔️ ✔️
561 Algorithms Array Partition I Easy ✔️ ✔️ ✔️
563 Algorithms Binary Tree Tilt Easy ✔️ ✔️ ✔️
566 Algorithms Reshape the Matrix Easy ✔️ ✔️ ✔️
572 Algorithms Subtree of Another Tree Easy ✔️ ✔️ ✔️
575 Algorithms Distribute Candies Easy ✔️ ✔️ ✔️
581 Algorithms Shortest Unsorted Continuous Subarray Easy ✔️ ✔️ ✔️
589 Algorithms N-ary Tree Preorder Traversal Easy ✔️ ✔️
590 Algorithms N-ary Tree Postorder Traversal Easy ✔️ ✔️
594 Algorithms Longest Harmonious Subsequence Easy ✔️ ✔️ ✔️
595 Database Big Countries Easy ✔️
596 Database Classes More Than 5 Students Easy ✔️
598 Algorithms Range Addition II Easy ✔️ ✔️ ✔️
599 Algorithms Minimum Index Sum of Two Lists Easy ✔️ ✔️ ✔️
601 Database Human Traffic of Stadium Hard ✔️
605 Algorithms Can Place Flowers Easy ✔️ ✔️ ✔️
606 Algorithms Construct String from Binary Tree Easy ✔️ ✔️ ✔️
617 Algorithms Merge Two Binary Trees Easy ✔️ ✔️ ✔️
620 Database Not Boring Movies Easy ✔️
626 Database Exchange Seats Medium ✔️
627 Database Swap Salary Easy ✔️

Contributor

  • Rukeith https://github.com/rukeith

About

A repo to collect best solution for leetcode

Topics

leetcodeleetcode-javascriptleetcode-solutions

Resources

Readme
MIT license
Activity

Stars

4 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.