소스 검색

some array problems

Kr Younger 6 년 전
부모
커밋
a76bc061c0
12개의 변경된 파일563개의 추가작업 그리고 2개의 파일을 삭제
  1. 9
    0
      .idea/ArraysGoneWild.iml
  2. 16
    0
      .idea/compiler.xml
  3. 13
    0
      .idea/libraries/Maven__junit_junit_4_0.xml
  4. 10
    0
      .idea/misc.xml
  5. 9
    0
      .idea/modules.xml
  6. 6
    0
      .idea/vcs.xml
  7. 387
    0
      .idea/workspace.xml
  8. 71
    2
      README.md
  9. 16
    0
      arraz/arraz.iml
  10. 19
    0
      arraz/pom.xml
  11. 2
    0
      arraz/src/main/java/Arraz.java
  12. 5
    0
      arraz/src/test/java/ArrazTest.java

+ 9
- 0
.idea/ArraysGoneWild.iml 파일 보기

@@ -0,0 +1,9 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module type="JAVA_MODULE" version="4">
3
+  <component name="NewModuleRootManager" inherit-compiler-output="true">
4
+    <exclude-output />
5
+    <content url="file://$MODULE_DIR$" />
6
+    <orderEntry type="inheritedJdk" />
7
+    <orderEntry type="sourceFolder" forTests="false" />
8
+  </component>
9
+</module>

+ 16
- 0
.idea/compiler.xml 파일 보기

@@ -0,0 +1,16 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="CompilerConfiguration">
4
+    <annotationProcessing>
5
+      <profile name="Maven default annotation processors profile" enabled="true">
6
+        <sourceOutputDir name="target/generated-sources/annotations" />
7
+        <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
8
+        <outputRelativeToContentRoot value="true" />
9
+        <module name="arraz" />
10
+      </profile>
11
+    </annotationProcessing>
12
+    <bytecodeTargetLevel>
13
+      <module name="arraz" target="1.5" />
14
+    </bytecodeTargetLevel>
15
+  </component>
16
+</project>

+ 13
- 0
.idea/libraries/Maven__junit_junit_4_0.xml 파일 보기

@@ -0,0 +1,13 @@
1
+<component name="libraryTable">
2
+  <library name="Maven: junit:junit:4.0">
3
+    <CLASSES>
4
+      <root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.0/junit-4.0.jar!/" />
5
+    </CLASSES>
6
+    <JAVADOC>
7
+      <root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.0/junit-4.0-javadoc.jar!/" />
8
+    </JAVADOC>
9
+    <SOURCES>
10
+      <root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.0/junit-4.0-sources.jar!/" />
11
+    </SOURCES>
12
+  </library>
13
+</component>

+ 10
- 0
.idea/misc.xml 파일 보기

@@ -0,0 +1,10 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="MavenProjectsManager">
4
+    <option name="originalFiles">
5
+      <list>
6
+        <option value="$PROJECT_DIR$/arraz/pom.xml" />
7
+      </list>
8
+    </option>
9
+  </component>
10
+</project>

+ 9
- 0
.idea/modules.xml 파일 보기

@@ -0,0 +1,9 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ProjectModuleManager">
4
+    <modules>
5
+      <module fileurl="file://$PROJECT_DIR$/.idea/ArraysGoneWild.iml" filepath="$PROJECT_DIR$/.idea/ArraysGoneWild.iml" />
6
+      <module fileurl="file://$PROJECT_DIR$/arraz/arraz.iml" filepath="$PROJECT_DIR$/arraz/arraz.iml" />
7
+    </modules>
8
+  </component>
9
+</project>

+ 6
- 0
.idea/vcs.xml 파일 보기

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="VcsDirectoryMappings">
4
+    <mapping directory="" vcs="Git" />
5
+  </component>
6
+</project>

+ 387
- 0
.idea/workspace.xml 파일 보기

@@ -0,0 +1,387 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ChangeListManager">
4
+    <list default="true" id="3455511b-a100-4bbd-b07c-68f009bc8dbc" name="Default" comment="">
5
+      <change beforePath="" afterPath="$PROJECT_DIR$/.idea/compiler.xml" />
6
+      <change beforePath="" afterPath="$PROJECT_DIR$/.idea/libraries/Maven__junit_junit_4_0.xml" />
7
+      <change beforePath="" afterPath="$PROJECT_DIR$/.idea/misc.xml" />
8
+      <change beforePath="" afterPath="$PROJECT_DIR$/.idea/vcs.xml" />
9
+      <change beforePath="" afterPath="$PROJECT_DIR$/arraz/arraz.iml" />
10
+      <change beforePath="" afterPath="$PROJECT_DIR$/arraz/pom.xml" />
11
+      <change beforePath="" afterPath="$PROJECT_DIR$/arraz/src/main/java/Arraz.java" />
12
+      <change beforePath="" afterPath="$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java" />
13
+      <change beforePath="$PROJECT_DIR$/README.md" afterPath="$PROJECT_DIR$/README.md" />
14
+    </list>
15
+    <ignored path="$PROJECT_DIR$/arraz/target/" />
16
+    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
17
+    <option name="TRACKING_ENABLED" value="true" />
18
+    <option name="SHOW_DIALOG" value="false" />
19
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
20
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
21
+    <option name="LAST_RESOLUTION" value="IGNORE" />
22
+  </component>
23
+  <component name="FileEditorManager">
24
+    <leaf>
25
+      <file leaf-file-name="pom.xml" pinned="false" current-in-tab="false">
26
+        <entry file="file://$PROJECT_DIR$/arraz/pom.xml">
27
+          <provider selected="true" editor-type-id="text-editor">
28
+            <state relative-caret-position="0">
29
+              <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
30
+              <folding />
31
+            </state>
32
+          </provider>
33
+        </entry>
34
+      </file>
35
+      <file leaf-file-name="Arraz.java" pinned="false" current-in-tab="false">
36
+        <entry file="file://$PROJECT_DIR$/arraz/src/main/java/Arraz.java">
37
+          <provider selected="true" editor-type-id="text-editor">
38
+            <state relative-caret-position="0">
39
+              <caret line="0" column="15" lean-forward="false" selection-start-line="0" selection-start-column="15" selection-end-line="0" selection-end-column="15" />
40
+              <folding />
41
+            </state>
42
+          </provider>
43
+        </entry>
44
+      </file>
45
+      <file leaf-file-name="ArrazTest.java" pinned="false" current-in-tab="false">
46
+        <entry file="file://$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java">
47
+          <provider selected="true" editor-type-id="text-editor">
48
+            <state relative-caret-position="34">
49
+              <caret line="2" column="23" lean-forward="false" selection-start-line="2" selection-start-column="23" selection-end-line="2" selection-end-column="23" />
50
+              <folding />
51
+            </state>
52
+          </provider>
53
+        </entry>
54
+      </file>
55
+      <file leaf-file-name="README.md" pinned="false" current-in-tab="true">
56
+        <entry file="file://$PROJECT_DIR$/README.md">
57
+          <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
58
+            <state split_layout="SPLIT">
59
+              <first_editor relative-caret-position="1241">
60
+                <caret line="73" column="0" lean-forward="true" selection-start-line="73" selection-start-column="0" selection-end-line="73" selection-end-column="0" />
61
+                <folding />
62
+              </first_editor>
63
+              <second_editor />
64
+            </state>
65
+          </provider>
66
+        </entry>
67
+      </file>
68
+    </leaf>
69
+  </component>
70
+  <component name="FileTemplateManagerImpl">
71
+    <option name="RECENT_TEMPLATES">
72
+      <list>
73
+        <option value="Class" />
74
+        <option value="JUnit4 Test Class" />
75
+      </list>
76
+    </option>
77
+  </component>
78
+  <component name="Git.Settings">
79
+    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
80
+  </component>
81
+  <component name="GradleLocalSettings">
82
+    <option name="externalProjectsViewState">
83
+      <projects_view />
84
+    </option>
85
+    <option name="projectSyncType">
86
+      <map>
87
+        <entry key="$USER_HOME$/GitHub/gs-gradle/initial" value="PREVIEW" />
88
+      </map>
89
+    </option>
90
+  </component>
91
+  <component name="IdeDocumentHistory">
92
+    <option name="CHANGED_PATHS">
93
+      <list>
94
+        <option value="$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java" />
95
+        <option value="$PROJECT_DIR$/README.md" />
96
+      </list>
97
+    </option>
98
+  </component>
99
+  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
100
+  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
101
+  <component name="JsGulpfileManager">
102
+    <detection-done>true</detection-done>
103
+    <sorting>DEFINITION_ORDER</sorting>
104
+  </component>
105
+  <component name="ProjectFrameBounds">
106
+    <option name="x" value="119" />
107
+    <option name="y" value="61" />
108
+    <option name="width" value="1538" />
109
+    <option name="height" value="962" />
110
+  </component>
111
+  <component name="ProjectView">
112
+    <navigator currentView="ProjectPane" proportions="" version="1">
113
+      <flattenPackages />
114
+      <showMembers />
115
+      <showModules />
116
+      <showLibraryContents />
117
+      <hideEmptyPackages />
118
+      <abbreviatePackageNames />
119
+      <autoscrollToSource />
120
+      <autoscrollFromSource />
121
+      <sortByType />
122
+      <manualOrder />
123
+      <foldersAlwaysOnTop value="true" />
124
+    </navigator>
125
+    <panes>
126
+      <pane id="PackagesPane" />
127
+      <pane id="Scratches" />
128
+      <pane id="AndroidView" />
129
+      <pane id="Scope" />
130
+      <pane id="ProjectPane">
131
+        <subPane>
132
+          <expand>
133
+            <path>
134
+              <item name="ArraysGoneWild" type="b2602c69:ProjectViewProjectNode" />
135
+              <item name="ArraysGoneWild" type="462c0819:PsiDirectoryNode" />
136
+            </path>
137
+            <path>
138
+              <item name="ArraysGoneWild" type="b2602c69:ProjectViewProjectNode" />
139
+              <item name="ArraysGoneWild" type="462c0819:PsiDirectoryNode" />
140
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
141
+            </path>
142
+            <path>
143
+              <item name="ArraysGoneWild" type="b2602c69:ProjectViewProjectNode" />
144
+              <item name="ArraysGoneWild" type="462c0819:PsiDirectoryNode" />
145
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
146
+              <item name="src" type="462c0819:PsiDirectoryNode" />
147
+            </path>
148
+            <path>
149
+              <item name="ArraysGoneWild" type="b2602c69:ProjectViewProjectNode" />
150
+              <item name="ArraysGoneWild" type="462c0819:PsiDirectoryNode" />
151
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
152
+              <item name="src" type="462c0819:PsiDirectoryNode" />
153
+              <item name="main" type="462c0819:PsiDirectoryNode" />
154
+            </path>
155
+          </expand>
156
+          <select />
157
+        </subPane>
158
+      </pane>
159
+    </panes>
160
+  </component>
161
+  <component name="PropertiesComponent">
162
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
163
+    <property name="settings.editor.selected.configurable" value="configurable.group.appearance" />
164
+    <property name="WebServerToolWindowFactoryState" value="false" />
165
+    <property name="aspect.path.notification.shown" value="true" />
166
+    <property name="last_opened_file_path" value="$PROJECT_DIR$" />
167
+    <property name="jdk.selected.JAVA_MODULE" value="1.8" />
168
+    <property name="com.intellij.testIntegration.createTest.CreateTestDialog.defaultLibrary" value="JUnit4" />
169
+  </component>
170
+  <component name="RecentsManager">
171
+    <key name="CreateTestDialog.RecentsKey">
172
+      <recent name="" />
173
+    </key>
174
+    <key name="CreateTestDialog.Recents.Supers">
175
+      <recent name="" />
176
+    </key>
177
+  </component>
178
+  <component name="RunDashboard">
179
+    <option name="ruleStates">
180
+      <list>
181
+        <RuleState>
182
+          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
183
+        </RuleState>
184
+        <RuleState>
185
+          <option name="name" value="StatusDashboardGroupingRule" />
186
+        </RuleState>
187
+      </list>
188
+    </option>
189
+  </component>
190
+  <component name="RunManager">
191
+    <configuration default="true" type="Applet" factoryName="Applet">
192
+      <option name="WIDTH" value="400" />
193
+      <option name="HEIGHT" value="300" />
194
+      <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
195
+      <module />
196
+    </configuration>
197
+    <configuration default="true" type="Application" factoryName="Application">
198
+      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
199
+      <option name="MAIN_CLASS_NAME" />
200
+      <option name="VM_PARAMETERS" />
201
+      <option name="PROGRAM_PARAMETERS" />
202
+      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
203
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
204
+      <option name="ALTERNATIVE_JRE_PATH" />
205
+      <option name="ENABLE_SWING_INSPECTOR" value="false" />
206
+      <option name="ENV_VARIABLES" />
207
+      <option name="PASS_PARENT_ENVS" value="true" />
208
+      <module name="" />
209
+      <envs />
210
+    </configuration>
211
+    <configuration default="true" type="JUnit" factoryName="JUnit">
212
+      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
213
+      <module name="" />
214
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
215
+      <option name="ALTERNATIVE_JRE_PATH" />
216
+      <option name="PACKAGE_NAME" />
217
+      <option name="MAIN_CLASS_NAME" />
218
+      <option name="METHOD_NAME" />
219
+      <option name="TEST_OBJECT" value="class" />
220
+      <option name="VM_PARAMETERS" value="-ea" />
221
+      <option name="PARAMETERS" />
222
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
223
+      <option name="ENV_VARIABLES" />
224
+      <option name="PASS_PARENT_ENVS" value="true" />
225
+      <option name="TEST_SEARCH_SCOPE">
226
+        <value defaultName="singleModule" />
227
+      </option>
228
+      <envs />
229
+      <patterns />
230
+    </configuration>
231
+    <configuration default="true" type="Remote" factoryName="Remote">
232
+      <option name="USE_SOCKET_TRANSPORT" value="true" />
233
+      <option name="SERVER_MODE" value="false" />
234
+      <option name="SHMEM_ADDRESS" value="javadebug" />
235
+      <option name="HOST" value="localhost" />
236
+      <option name="PORT" value="5005" />
237
+    </configuration>
238
+    <configuration default="true" type="TestNG" factoryName="TestNG">
239
+      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
240
+      <module name="" />
241
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
242
+      <option name="ALTERNATIVE_JRE_PATH" />
243
+      <option name="SUITE_NAME" />
244
+      <option name="PACKAGE_NAME" />
245
+      <option name="MAIN_CLASS_NAME" />
246
+      <option name="METHOD_NAME" />
247
+      <option name="GROUP_NAME" />
248
+      <option name="TEST_OBJECT" value="CLASS" />
249
+      <option name="VM_PARAMETERS" value="-ea" />
250
+      <option name="PARAMETERS" />
251
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
252
+      <option name="OUTPUT_DIRECTORY" />
253
+      <option name="ANNOTATION_TYPE" />
254
+      <option name="ENV_VARIABLES" />
255
+      <option name="PASS_PARENT_ENVS" value="true" />
256
+      <option name="TEST_SEARCH_SCOPE">
257
+        <value defaultName="singleModule" />
258
+      </option>
259
+      <option name="USE_DEFAULT_REPORTERS" value="false" />
260
+      <option name="PROPERTIES_FILE" />
261
+      <envs />
262
+      <properties />
263
+      <listeners />
264
+    </configuration>
265
+    <configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
266
+      <module name="" />
267
+      <option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
268
+      <option name="PROGRAM_PARAMETERS" />
269
+      <predefined_log_file id="idea.log" enabled="true" />
270
+    </configuration>
271
+  </component>
272
+  <component name="ShelveChangesManager" show_recycled="false">
273
+    <option name="remove_strategy" value="false" />
274
+  </component>
275
+  <component name="SvnConfiguration">
276
+    <configuration />
277
+  </component>
278
+  <component name="TaskManager">
279
+    <task active="true" id="Default" summary="Default task">
280
+      <changelist id="3455511b-a100-4bbd-b07c-68f009bc8dbc" name="Default" comment="" />
281
+      <created>1543955860758</created>
282
+      <option name="number" value="Default" />
283
+      <option name="presentableId" value="Default" />
284
+      <updated>1543955860758</updated>
285
+      <workItem from="1543955862749" duration="2277000" />
286
+    </task>
287
+    <servers />
288
+  </component>
289
+  <component name="TimeTrackingManager">
290
+    <option name="totallyTimeSpent" value="2277000" />
291
+  </component>
292
+  <component name="ToolWindowManager">
293
+    <frame x="119" y="61" width="1538" height="962" extended-state="0" />
294
+    <editor active="true" />
295
+    <layout>
296
+      <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
297
+      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
298
+      <window_info id="Palette&#9;" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
299
+      <window_info id="Image Layers" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
300
+      <window_info id="Capture Analysis" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
301
+      <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
302
+      <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
303
+      <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
304
+      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
305
+      <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
306
+      <window_info id="Capture Tool" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
307
+      <window_info id="Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
308
+      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24966353" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
309
+      <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
310
+      <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
311
+      <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
312
+      <window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
313
+      <window_info id="Theme Preview" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
314
+      <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
315
+      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
316
+      <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
317
+      <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
318
+      <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
319
+      <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
320
+      <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
321
+      <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
322
+    </layout>
323
+  </component>
324
+  <component name="TypeScriptGeneratedFilesManager">
325
+    <option name="version" value="1" />
326
+  </component>
327
+  <component name="VcsContentAnnotationSettings">
328
+    <option name="myLimit" value="2678400000" />
329
+  </component>
330
+  <component name="XDebuggerManager">
331
+    <breakpoint-manager />
332
+    <watches-manager />
333
+  </component>
334
+  <component name="editorHistoryManager">
335
+    <entry file="file://$PROJECT_DIR$/arraz/pom.xml">
336
+      <provider selected="true" editor-type-id="text-editor">
337
+        <state relative-caret-position="0">
338
+          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
339
+          <folding />
340
+        </state>
341
+      </provider>
342
+    </entry>
343
+    <entry file="file://$PROJECT_DIR$/arraz/src/main/java/Arraz.java">
344
+      <provider selected="true" editor-type-id="text-editor">
345
+        <state relative-caret-position="0">
346
+          <caret line="0" column="15" lean-forward="false" selection-start-line="0" selection-start-column="15" selection-end-line="0" selection-end-column="15" />
347
+          <folding />
348
+        </state>
349
+      </provider>
350
+    </entry>
351
+    <entry file="file://$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java">
352
+      <provider selected="true" editor-type-id="text-editor">
353
+        <state relative-caret-position="34">
354
+          <caret line="2" column="23" lean-forward="false" selection-start-line="2" selection-start-column="23" selection-end-line="2" selection-end-column="23" />
355
+          <folding />
356
+        </state>
357
+      </provider>
358
+    </entry>
359
+    <entry file="file://$PROJECT_DIR$/README.md">
360
+      <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
361
+        <state split_layout="SPLIT">
362
+          <first_editor relative-caret-position="1241">
363
+            <caret line="73" column="0" lean-forward="true" selection-start-line="73" selection-start-column="0" selection-end-line="73" selection-end-column="0" />
364
+            <folding />
365
+          </first_editor>
366
+          <second_editor />
367
+        </state>
368
+      </provider>
369
+    </entry>
370
+  </component>
371
+  <component name="masterDetails">
372
+    <states>
373
+      <state key="ProjectJDKs.UI">
374
+        <settings>
375
+          <last-edited>1.8</last-edited>
376
+          <splitter-proportions>
377
+            <option name="proportions">
378
+              <list>
379
+                <option value="0.2" />
380
+              </list>
381
+            </option>
382
+          </splitter-proportions>
383
+        </settings>
384
+      </state>
385
+    </states>
386
+  </component>
387
+</project>

+ 71
- 2
README.md 파일 보기

@@ -1,4 +1,73 @@
1 1
 # ArraysGoneWild
2 2
 
3
-a series of problems to prove your array knowledge.
4
-you use the information in the docs folder only, NO GOOGLE on this lab.
3
+a series of problems to prove your array knowledge.
4
+you use the information in the docs folder only, NO GOOGLE on this lab.
5
+
6
+### For each problem.
7
+
8
+For each of these problems, you need to write the method itself, and two tests for each method. 
9
+If the method is named `sumValuesOfArray`, you should write two test methods:
10
+* test1sumValuesOfArray
11
+* test2sumValuesOfArray
12
+
13
+### Problem list
14
+
15
+Write a method in the Arraz class for each of these:
16
+
17
+* sum values of an array of integers `sumValuesOfArray`
18
+* sum values of an array of doubles `sumDoublesOfArray`
19
+* calculate the average value of an integer array - return an integer `averageOfArray`
20
+* calculate the average value of an double array - return an double `doubleAverageOfArray`
21
+* to test if an integer array contains a specific value, pass both array and value as arguments `containsValue`
22
+* reverse an array of integer values `reverseArray`
23
+* find the number of even and odd integers in a given array of integers `getOddEvensOfArray`, return an object of type
24
+```java
25
+public class OddEven{
26
+    public int odds;
27
+    public int evens;
28
+}
29
+```
30
+
31
+* find the index of an array element, pass both array and value as arguments `findIndexOf`
32
+* copy an array by iterating the array `copyArrayByInterator`
33
+* copy an array by looping thru the array `copyArrayByLoop`
34
+* remove a specific element from an array `removeElementFromArray`
35
+* insert an element into an array a specific position `insertIntoArrayAt`
36
+* find the maximum and minimum value of an array `findMaxMinOfArray` return a 
37
+```java
38
+public class MaxMin{
39
+    public int max;
40
+    public int min;
41
+}
42
+```
43
+* remove duplicate elements from an array, return new array `removeDupesFromArray` (make it an array of Integers)
44
+* find the second largest element in an array of Doubles `find2ndLargestValueFromArray`
45
+
46
+* convert an array to ArrayList `makeMeAnArrayListFromArray`
47
+* convert an ArrayList to an array `makeMeAnArrayFromArrayList`
48
+* test the equality of two arrays `check2ArraysForEqual`
49
+* compute the average value of an array of integers except the largest and smallest values (be thinking
50
+of code re-use for this one) `averageArrayWithoutMaxMin`
51
+* check if an array of integers contains two specified elements: 65 and 77, returns a boolean `arrayHas65and77`
52
+* check if the sum of all the 10's in the array is exactly 30. Return false if the condition does not satisfy, otherwise true. `theTotalofTensIs30`
53
+* find smallest and second smallest elements of a given array
54
+
55
+* copy an array of integers, reverse it, and return it. `makeMeACopyPlease`
56
+* remove the last element from an array of integers, return a copy `removeLastItemAndCopy`
57
+* remove the first element from an array of integers, return a copy `removeFirstItemAndCopy`
58
+* insert a new element at the start of an array, return a copy `insertAtStartAndCopy`
59
+* insert a new element at the end of an array, return a copy `insertAtEndAndCopy`
60
+
61
+* separate even and odd numbers of an given array of integers. Put all even numbers first, and then odd numbers `sortArrayIntoEvensThenOdds`
62
+
63
+If you need an array of ints use this one.
64
+```java
65
+int[] spiffyHandyIntArray = new int[] {4,5,102,6,-7,12,-32,92,8};
66
+```
67
+
68
+
69
+If you need an array of Doubles use this one.
70
+```java
71
+Double[] spiffyHandyDoubleArray = new Double[] {1.0, 0.5, 3.6, 38.4, 17.3, 62.0, 9.0, 3.375, 0, 3.14159};
72
+```
73
+

+ 16
- 0
arraz/arraz.iml 파일 보기

@@ -0,0 +1,16 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
3
+  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5">
4
+    <output url="file://$MODULE_DIR$/target/classes" />
5
+    <output-test url="file://$MODULE_DIR$/target/test-classes" />
6
+    <content url="file://$MODULE_DIR$">
7
+      <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
8
+      <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
9
+      <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
10
+      <excludeFolder url="file://$MODULE_DIR$/target" />
11
+    </content>
12
+    <orderEntry type="jdk" jdkName="1.8" jdkType="JavaSDK" />
13
+    <orderEntry type="sourceFolder" forTests="false" />
14
+    <orderEntry type="library" name="Maven: junit:junit:4.0" level="project" />
15
+  </component>
16
+</module>

+ 19
- 0
arraz/pom.xml 파일 보기

@@ -0,0 +1,19 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project xmlns="http://maven.apache.org/POM/4.0.0"
3
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
+    <modelVersion>4.0.0</modelVersion>
6
+
7
+    <groupId>rocks.zipcode.arraysgonewild</groupId>
8
+    <artifactId>arraz</artifactId>
9
+    <version>1.0-SNAPSHOT</version>
10
+    <dependencies>
11
+        <dependency>
12
+            <groupId>junit</groupId>
13
+            <artifactId>junit</artifactId>
14
+            <version>4.0</version>
15
+        </dependency>
16
+    </dependencies>
17
+
18
+
19
+</project>

+ 2
- 0
arraz/src/main/java/Arraz.java 파일 보기

@@ -0,0 +1,2 @@
1
+public class Arraz {
2
+}

+ 5
- 0
arraz/src/test/java/ArrazTest.java 파일 보기

@@ -0,0 +1,5 @@
1
+import static org.junit.Assert.*;
2
+
3
+public class ArrazTest {
4
+
5
+}