From f514c81af82ce992f64fffc869ff316255503815 Mon Sep 17 00:00:00 2001 From: "wangjunchao.o" Date: Fri, 26 Jun 2020 08:54:12 +0800 Subject: [PATCH 01/19] commit Change-Id: I63bc8e7801545b33d92bfc5d513ae134eacee1d6 --- .idea/codeStyles/codeStyleConfig.xml | 5 + .idea/encodings.xml | 1 + .idea/jarRepositories.xml | 20 + .idea/leetcode/editor.xml | 57 + .idea/modules.xml | 6 + .idea/workspace.xml | 1101 +++-------------- [0000][common]/[0000][common].iml | 26 + ...160][Intersection of Two Linked Lists].iml | 11 + .../src/ListNode.java | 9 + .../src/Solution.java | 129 ++ .../[0299][Bulls and Cows].iml | 21 + [0299][Bulls and Cows]/src/Solution.java | 85 ++ [0299][Bulls and Cows]/src/TestSolution.java | 14 + .../[0371][Sum of Two Integers].iml | 11 + [0371][Sum of Two Integers]/src/Solution.java | 51 + .../src/SolutionTest.java | 2 + .../[0392][Is Subsequence].iml | 21 + [0392][Is Subsequence]/src/Solution.java | 82 ++ [0392][Is Subsequence]/src/SolutionTest.java | 29 + .../[0441][Arranging Coins].iml | 21 + [0441][Arranging Coins]/src/Solution.java | 84 ++ [0441][Arranging Coins]/src/SolutionTest.java | 35 + .../[0443][String Compression].iml | 21 + [0443][String Compression]/src/Solution.java | 76 ++ .../src/SolutionTest.java | 41 + 25 files changed, 1045 insertions(+), 914 deletions(-) create mode 100644 .idea/codeStyles/codeStyleConfig.xml create mode 100644 .idea/jarRepositories.xml create mode 100644 .idea/leetcode/editor.xml create mode 100644 [0160][Intersection of Two Linked Lists]/[0160][Intersection of Two Linked Lists].iml create mode 100644 [0160][Intersection of Two Linked Lists]/src/ListNode.java create mode 100644 [0160][Intersection of Two Linked Lists]/src/Solution.java create mode 100644 [0299][Bulls and Cows]/[0299][Bulls and Cows].iml create mode 100644 [0299][Bulls and Cows]/src/Solution.java create mode 100644 [0299][Bulls and Cows]/src/TestSolution.java create mode 100644 [0371][Sum of Two Integers]/[0371][Sum of Two Integers].iml create mode 100644 [0371][Sum of Two Integers]/src/Solution.java create mode 100644 [0371][Sum of Two Integers]/src/SolutionTest.java create mode 100644 [0392][Is Subsequence]/[0392][Is Subsequence].iml create mode 100644 [0392][Is Subsequence]/src/Solution.java create mode 100644 [0392][Is Subsequence]/src/SolutionTest.java create mode 100644 [0441][Arranging Coins]/[0441][Arranging Coins].iml create mode 100644 [0441][Arranging Coins]/src/Solution.java create mode 100644 [0441][Arranging Coins]/src/SolutionTest.java create mode 100644 [0443][String Compression]/[0443][String Compression].iml create mode 100644 [0443][String Compression]/src/Solution.java create mode 100644 [0443][String Compression]/src/SolutionTest.java diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 0000000..a55e7a1 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml index f468859..a444e6c 100644 --- a/.idea/encodings.xml +++ b/.idea/encodings.xml @@ -125,6 +125,7 @@ + diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml new file mode 100644 index 0000000..712ab9d --- /dev/null +++ b/.idea/jarRepositories.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/leetcode/editor.xml b/.idea/leetcode/editor.xml new file mode 100644 index 0000000..27dc992 --- /dev/null +++ b/.idea/leetcode/editor.xml @@ -0,0 +1,57 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml index 2b7023a..1268fe5 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -146,6 +146,7 @@ + @@ -190,6 +191,7 @@ + @@ -200,11 +202,13 @@ + + @@ -219,7 +223,9 @@ + + diff --git a/.idea/workspace.xml b/.idea/workspace.xml index e736be2..f0fc058 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,140 +1,44 @@ - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - excludeEnd2 - 28 - *c - 83794 - gray code - gas stat - vec - atoi - /[ - [ - ] - - - ] - nums1.length - nums2.length - nums[a] - nums[b] - nums[c] - array - /[0 - { - } - - - $PROJECT_DIR$/[128][Longest Consecutive Sequence]/src - $PROJECT_DIR$/[0500][Keyboard Row]/src - - - - - - - - - -