Skip to content

Commit b71fc10

Browse files
edit 373
1 parent c852895 commit b71fc10

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ Your ideas/fixes/algorithms are more than welcome!
222222
|376|[Wiggle Subsequence](https://leetcode.com/problems/wiggle-subsequence/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_376.java)| O(n)|O(1) | Medium| DP, Greedy
223223
|375|[Guess Number Higher or Lower II](https://leetcode.com/problems/guess-number-higher-or-lower-ii/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_375.java)| O(n^2)|O(n^2) | Medium| DP
224224
|374|[Guess Number Higher or Lower](https://leetcode.com/problems/guess-number-higher-or-lower/)|[Solution](../master/src/main/java/com/fishercoder/solutions/GuessNumberHigherorLower.java)| O(logn)|O(1) | Easy| Binary Search
225-
|373|[Find K Pairs with Smallest Sums](https://leetcode.com/problems/find-k-pairs-with-smallest-sums/)|[Solution](../master/src/main/java/com/fishercoder/solutions/FindKPairsWithSmallestSums.java)| O(?)|O(?) | Medium| Heap
225+
|373|[Find K Pairs with Smallest Sums](https://leetcode.com/problems/find-k-pairs-with-smallest-sums/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_373.java)| O(?)|O(?) | Medium| Heap
226226
|372|[Super Pow](https://leetcode.com/problems/super-pow/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_372.java)| O(n)|O(1) | Medium| Math
227227
|371|[Sum of Two Integers](https://leetcode.com/problems/sum-of-two-integers/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_371.java)| O(n)|O(1) | Easy|
228228
|370|[Range Addition](https://leetcode.com/problems/range-addition/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_370.java)| O(n+k)|O(1) | Medium|

src/main/java/com/fishercoder/solutions/FindKPairsWithSmallestSums.java src/main/java/com/fishercoder/solutions/_373.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Find the k pairs (u1,v1),(u2,v2) ...(uk,vk) with the smallest sums.
4040
[1,3],[2,3]
4141
4242
*/
43-
public class FindKPairsWithSmallestSums {
43+
public class _373 {
4444

4545
final int[][] neighbors = new int[][]{{0,1}, {1,0}};
4646
public List<int[]> kSmallestPairs(int[] nums1, int[] nums2, int k) {

0 commit comments

Comments
 (0)