-
Updated
May 18, 2020 - Java
leetcode-solutions
Here are 1,589 public repositories matching this topic...
- We have BFS and DFS images in both Breadth First Traversal and Depth First Traversal. We should have illustrations in the respective sections.
-
Updated
Jul 17, 2019 - Python
-
Updated
May 13, 2020 - Java
-
Updated
Mar 26, 2020 - C++
Given a blacklist B
containing unique integers from [0, N)
, write a function to return a uniform random integer from [0, N)
which is NOT in B
.
Optimize it such that it minimizes the call to system’s Math.random()
.
Note:
1 <= N <= 1000000000
0 <= B.length < min(100000, N)
[0, N)
does NOT include N. See [interval notation](https://en.wikipedia.org/wiki/Interval_\
-
Updated
Mar 13, 2020 - C++
-
Updated
May 12, 2020 - Java
-
Updated
May 20, 2020 - Go
-
Updated
May 20, 2020 - Java
-
Updated
May 20, 2020 - C++
-
Updated
Mar 5, 2020 - JavaScript
It'll be good to add an introduction into the readme for the basic information of the repo, such as where are the problems coming from, how do you pick problems into this repo, etc.
-
Updated
Dec 31, 2019

-
Updated
May 19, 2020 - C++
-
Updated
Oct 23, 2019 - Python
-
Updated
May 20, 2020 - JavaScript
-
Updated
May 6, 2020 - Java
-
Updated
Oct 14, 2017 - C++
-
Updated
Apr 7, 2020
For example , I have solved 38 problems in leetcode, 38 in python and 2 in javascript.
When set language to javascript, the solutions in Readme should display "2"
Add a parameter: num_solved_by_language, and change the count from num_solved to num_solved_by_language
-
Updated
Jan 31, 2020 - Python
-
Updated
Jul 25, 2019
-
Updated
Jul 16, 2017 - Java
-
Updated
May 10, 2020 - Go
-
Updated
Feb 23, 2020 - Rust
-
Updated
May 7, 2020
-
Updated
May 12, 2020 - Python
-
Updated
Dec 5, 2019 - Java
-
Updated
Jan 30, 2020 - Swift
Improve this page
Add a description, image, and links to the leetcode-solutions topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the leetcode-solutions topic, visit your repo's landing page and select "manage topics."