Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3e92a32

Browse files
committed
Revert "go mod support."
This reverts commit 6d34346.
1 parent 6d34346 commit 3e92a32

File tree

13 files changed

+12
-15
lines changed

13 files changed

+12
-15
lines changed

‎go.mod

Lines changed: 0 additions & 3 deletions
This file was deleted.

‎src/0004_median_of_two_sorted_arrays/motsa.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You may assume nums1 and nums2 cannot be both empty.
1212

1313
package motsa
1414

15-
import "github.com/zwfang/leetcode/utils"
15+
import "leetcode/utils"
1616

1717
// binary search
1818
// time complexity: O(log(m+n)), where m is nums1's length, n is nums2's length.

‎src/0011_container_with_most_water/container_with_most_water.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Note: You may not slant the container and n is at least 2.
1414

1515
package containerwithmostwater
1616

17-
import "github.com/zwfang/leetcode/utils"
17+
import "leetcode/utils"
1818

1919
// time complexity: O(n)
2020
// space complexity: O(1)

‎src/0076_minimum_window_substring/minimum_window_substring.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Note:
1515

1616
package minimumwindowsubstring
1717

18-
import "github.com/zwfang/leetcode/utils"
18+
import "leetcode/utils"
1919

2020
/*
2121
使用滑动窗口解决这一问题,使用map或者slice统计T字符串中的字母的个数,之后,开始遍历S字符串,对于S中遍历到

‎src/0111_minimum_depth_of_binary_tree/minimum_depth_of_binary_tree.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Note: A leaf is a node with no children.
1212

1313
package minimumdepthofbinarytree
1414

15-
import "github.com/zwfang/leetcode/utils"
15+
import "leetcode/utils"
1616

1717
// TreeNode binary tree node.
1818
type TreeNode struct {

‎src/0120_triangle/triangle.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Given a triangle, find the minimum path sum from top to bottom. Each step you ma
88

99
package triangle
1010

11-
import "github.com/zwfang/leetcode/utils"
11+
import "leetcode/utils"
1212

1313
// dfs
1414
/*

‎src/0198_house_robber/house_robber.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Explanation: Rob house 1 (money = 2), rob house 3 (money = 9) and rob house 5 (m
2626

2727
package houserobber
2828

29-
import "github.com/zwfang/leetcode/utils"
29+
import "leetcode/utils"
3030

3131
/*
3232
func rob(nums []int) int {

‎src/0300_longest_increasing_subsequence/lis.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Follow up:
2020

2121
package lis
2222

23-
import "github.com/zwfang/leetcode/utils"
23+
import "leetcode/utils"
2424

2525
// Dynamic Programming
2626
// TIme complexity: O(n^2)

‎src/0343_integer_break/integer_break.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Note: You may assume that n is not less than 2 and not larger than 58.
1919

2020
package integerbreak
2121

22-
import "github.com/zwfang/leetcode/utils"
22+
import "leetcode/utils"
2323

2424
// recursion
2525
/*

‎src/0349_intersection_of_2_arrays/intersection_of_two_arrays.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Note:
2020

2121
package intersectionof2arrays
2222

23-
import "github.com/zwfang/leetcode/utils"
23+
import "leetcode/utils"
2424

2525
func intersection(nums1 []int, nums2 []int) []int {
2626
set1 := utils.NewSet()

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /