@@ -217,19 +217,17 @@ pace yourself so you can recover
217217Solving Programming Problems
218218-==-=-=-=-=-=-=-=-=-=-=-=-=-=-
219219
220- 1. Read the problem at least 3 times.
221- =====================================
222220 PHASE 1: UNDERSTAND THE PROBLEM:
223221
224222 1.1: READ THE PROBLEM AT LEAST 3 TIMES
225223 • To understand a problem, read through it at least 3 times to make sure you catch all
226- the special requirements.
224+ the special requirements and dont overlook something important .
227225
228- 1.2: REVERSE ENGINEER THE QUESTION
226+ 1.2: BREAK DOWN THE QUESTION
229227 • To get a better idea of the requirements of the problem/question, break down the
230- problem/question into smaller components.
228+ problem/question into smaller components that are expected (i.e. function names, etc) .
231229
232- 1.3: CREATE QUESTIONS ABOUT THE PROBLEM:
230+ 1.3: CREATE QUESTIONS ABOUT THE PROBLEM:
233231 • Create a small list of questions about the problem.
234232 1.3: EXPLAIN THE PROBLEM:
235233 • Try explaining the problem to someone else (or even communicate it on paper).
@@ -241,6 +239,9 @@ Solving Programming Problems
241239 and return an array "evenNumbers" of only even numbers. If there are no even numbers,
242240 return the empty array "evenNumbers".
243241
242+
243+
244+
244245 1.1: READ THE PROBLEM AT LEAST 3 TIMES
245246 ======================================
246247
@@ -256,22 +257,11 @@ Solving Programming Problems
256257 and return an array "evenNumbers" of only even numbers. If there are no even numbers,
257258 return the empty array "evenNumbers".
258259
259-
260-
261-
262-
263-
264-
265-
266-
267-
268-
269-
270-
260+
271261
272262
273- 1.2 IF YOU STILL DONT UNDERSTAND THE QUESTION, BREAK DOWN THE QUESTION:
274- ======================================================================
263+ 1.2 BREAK DOWN THE QUESTION
264+ ============================
275265 1. Create a simple function "selectEvenNumbers...
276266 2. ...that will take in an array of numbers...
277267 3. ...and return an array "evenNumbers" of only even numbers.
0 commit comments