Skip to content

Another repo with the solutions of the Leetcode problems of the owner. Planning to expand all the solutions to Rust, just for fun.

Notifications You must be signed in to change notification settings

JMarOve/LeetCode-Playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode-Playground

Just me wrestling with LeetCode problems in Python (for now) for fun"

To do:

  • Organize the repo with folders. It's not clear if it's better to have easy-medium-hard or just by numbers.
  • Create a parallel repo with C++/Rust solutions

LeetCode Topics

Array

0001-two-sum
0026-remove-duplicates-from-sorted-array
0027-remove-element
0035-search-insert-position
0054-spiral-matrix
0066-plus-one
0118-pascals-triangle
0119-pascals-triangle-ii
0121-best-time-to-buy-and-sell-stock
0136-single-number
0169-majority-element
0268-missing-number
0448-find-all-numbers-disappeared-in-an-array
1395-minimum-time-visiting-all-points
1482-how-many-numbers-are-smaller-than-the-current-number

Hash Table

0001-two-sum
0013-roman-to-integer
0169-majority-element
0268-missing-number
0448-find-all-numbers-disappeared-in-an-array
1482-how-many-numbers-are-smaller-than-the-current-number

Math

0007-reverse-integer
0009-palindrome-number
0013-roman-to-integer
0029-divide-two-integers
0050-powx-n
0066-plus-one
0069-sqrtx
0070-climbing-stairs
0231-power-of-two
0258-add-digits
0263-ugly-number
0268-missing-number
0412-fizz-buzz
1395-minimum-time-visiting-all-points

Binary Search

0035-search-insert-position
0069-sqrtx
0268-missing-number

Bit Manipulation

0029-divide-two-integers
0136-single-number
0190-reverse-bits
0191-number-of-1-bits
0231-power-of-two
0268-missing-number

Sorting

0169-majority-element
0268-missing-number
1482-how-many-numbers-are-smaller-than-the-current-number

Counting

0169-majority-element
1482-how-many-numbers-are-smaller-than-the-current-number

String

0013-roman-to-integer
0014-longest-common-prefix
0020-valid-parentheses
0028-find-the-index-of-the-first-occurrence-in-a-string
0058-length-of-last-word
0125-valid-palindrome
0412-fizz-buzz

Database

0175-combine-two-tables

Geometry

1395-minimum-time-visiting-all-points

Matrix

0054-spiral-matrix

Simulation

0054-spiral-matrix
0258-add-digits
0412-fizz-buzz

Trie

0014-longest-common-prefix

Stack

0020-valid-parentheses

Two Pointers

0026-remove-duplicates-from-sorted-array
0027-remove-element
0028-find-the-index-of-the-first-occurrence-in-a-string
0125-valid-palindrome

String Matching

0028-find-the-index-of-the-first-occurrence-in-a-string

Dynamic Programming

0070-climbing-stairs
0118-pascals-triangle
0119-pascals-triangle-ii
0121-best-time-to-buy-and-sell-stock

Memoization

0070-climbing-stairs

Divide and Conquer

0169-majority-element
0190-reverse-bits
0191-number-of-1-bits

Recursion

0021-merge-two-sorted-lists
0050-powx-n
0231-power-of-two

Number Theory

0258-add-digits

Linked List

0021-merge-two-sorted-lists

About

Another repo with the solutions of the Leetcode problems of the owner. Planning to expand all the solutions to Rust, just for fun.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published