From 08743a520d156a5f5f7c69f786c746eb57c25e8d Mon Sep 17 00:00:00 2001 From: openset Date: Tue, 19 Mar 2019 11:41:51 +0800 Subject: [PATCH 1/2] Update: 159 --- .../README.md | 2 ++ 1 file changed, 2 insertions(+) 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) From 4d25a28863677f5d84b323dcc59ba8491b4b83f9 Mon Sep 17 00:00:00 2001 From: openset Date: Tue, 19 Mar 2019 15:57:35 +0800 Subject: [PATCH 2/2] Add: build --- Makefile | 3 +++ 1 file changed, 3 insertions(+) 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