Skip to content

Commit e091848

Browse files
author
Shuo
authored
Merge pull request #606 from openset/develop
Add: v1.4.2
2 parents 1b247c2 + ab7fcb2 commit e091848

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

internal/version/version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"github.com/openset/leetcode/internal/base"
88
)
99

10-
const version = "1.4.1"
10+
const version = "1.4.2"
1111

1212
var CmdVersion = &base.Command{
1313
Run: runVersion,

problems/all-paths-from-source-lead-to-destination/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
[Next >](https://github.com/openset/leetcode/tree/master/problems/missing-element-in-sorted-array "Missing Element in Sorted Array")
1111

12-
## 1059. All Paths from Source Lead to Destination (Hard)
12+
## 1059. All Paths from Source Lead to Destination (Medium)
1313

1414
<p>Given the <code>edges</code> of a directed graph, and two nodes <code>source</code> and <code>destination</code> of this graph, determine whether or not all paths starting from <code>source</code> eventually end at <code>destination</code>, that is:</p>
1515

problems/campus-bikes/README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ Worker 0 grabs Bike 0 at first. Worker 1 and Worker 2 share the same distance to
6363
### Hints
6464
<details>
6565
<summary>Hint 1</summary>
66-
Sort the elements by distance then in case of tie, sort them by the index of the worker, and if there still ties sort then by the index of the bike.Follow up: Can you do this in less than O(nlogn) time, where n is the total number of pairs between workers and bikes?.
66+
<p>Sort the elements by distance. In case of a tie, sort them by the index of the worker. After that, if there are still ties, sort them by the index of the bike.</p>
67+
68+
<p>Can you do this in less than O(nlogn) time, where n is the total number of pairs between workers and bikes?</p>
6769
</details>
6870

6971
<details>

problems/confusing-number/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ We get an invalid number after rotating <code>25</code>.
7575

7676
### Similar Questions
7777
1. [Strobogrammatic Number](https://github.com/openset/leetcode/tree/master/problems/strobogrammatic-number) (Easy)
78+
1. [Confusing Number II](https://github.com/openset/leetcode/tree/master/problems/confusing-number-ii) (Hard)
7879

7980
### Hints
8081
<details>

0 commit comments

Comments
 (0)