diff --git a/Makefile b/Makefile index 9989e8f0d..a5199ea07 100644 --- a/Makefile +++ b/Makefile @@ -10,3 +10,6 @@ update: leetcode helper leetcode tag leetcode description + +build: + CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build diff --git a/problems/longest-substring-with-at-most-two-distinct-characters/README.md b/problems/longest-substring-with-at-most-two-distinct-characters/README.md index af08116d0..d182151e2 100644 --- a/problems/longest-substring-with-at-most-two-distinct-characters/README.md +++ b/problems/longest-substring-with-at-most-two-distinct-characters/README.md @@ -31,8 +31,10 @@ [[Hash Table](https://github.com/openset/leetcode/tree/master/tag/hash-table/README.md)] [[Two Pointers](https://github.com/openset/leetcode/tree/master/tag/two-pointers/README.md)] [[String](https://github.com/openset/leetcode/tree/master/tag/string/README.md)] + [[Sliding Window](https://github.com/openset/leetcode/tree/master/tag/sliding-window/README.md)] ### Similar Questions 1. [Longest Substring Without Repeating Characters](https://github.com/openset/leetcode/tree/master/problems/longest-substring-without-repeating-characters) (Medium) 1. [Sliding Window Maximum](https://github.com/openset/leetcode/tree/master/problems/sliding-window-maximum) (Hard) 1. [Longest Substring with At Most K Distinct Characters](https://github.com/openset/leetcode/tree/master/problems/longest-substring-with-at-most-k-distinct-characters) (Hard) + 1. [Subarrays with K Different Integers](https://github.com/openset/leetcode/tree/master/problems/subarrays-with-k-different-integers) (Hard)