Skip to content

Commit 6c38145

Browse files
authored
Merge pull request #79 from NSS-Workshops/develop
simplify 2 pointer content nashville-software-school/foundations-course#210
2 parents cd622a2 + 5fa104c commit 6c38145

6 files changed

Lines changed: 47 additions & 1310 deletions

File tree

src/sections/04-arrays-and-two-pointers/05-array-methods/index.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ Alex adjusts their guitar strap, "That's because these operations are **O(n) tim
9393
- Click `Run Tests`and ensure that test(s) related to this specific exercise are passing <span class="mtk8"> Passing test will show in green text.</span>
9494

9595
🚧 *Some tests for future exercises may fail at first — that’s expected. As you complete each exercise, those tests will start passing. By the time you finish the final exercise, all tests in the test suite should pass.*
96+
9697
---
9798

9899
## Part 2: The Collaboration Coordinator - Transforming Data with map() and filter()
@@ -593,19 +594,24 @@ Maya looks amazed, "So you can filter, transform, sort, and calculate all in one
593594
"Exactly! Each method returns an array, so I can immediately call the next method on the result. It's **O(n) time complexity** for each method in the chain, but the code reads like a story - filter the songs I want, transform them how I need, sort by importance, and extract exactly what I need."
594595

595596
---
597+
596598
## ⏱️ **Alex's Festival Curation Challenge!**
597-
- 🔓 Uncomment the below code section in the editor 👉:
599+
- 🔓 Uncomment the below code section in the editor 👉:
598600
\`\`\`js
599601
// ==============================
600602
// Exercise 4: Help Alex Master Method Chaining and Advanced Array Operations
601603
// ==============================
602604
\`\`\`
603-
- Read the requirements written as comments in the code.
604-
- Implement the required logic.
605-
- Click `Run Code` and inspect `📋 Console Output` window for correctness!
606-
- Click `Run Tests`and ensure that test(s) related to this specific exercise are passing <span class="mtk8"> Passing test will show in green text.</span>
605+
- Read the requirements written as comments in the code.
606+
- Implement the required logic.
607+
- Click `Run Code` and inspect `📋 Console Output` window for correctness!
608+
- Click `Run Tests`and ensure that test(s) related to this specific exercise are passing
609+
<span class="mtk8"> Passing test will show in green text.</span>
610+
611+
612+
*Some tests for future exercises may fail at first — that’s expected. As you complete each exercise, those tests will start passing. By the time you finish the final exercise, all tests in the test suite should pass. *
613+
607614

608-
🚧 *Some tests for future exercises may fail at first — that’s expected. As you complete each exercise, those tests will start passing. By the time you finish the final exercise, all tests in the test suite should pass.*
609615
---
610616

611617
## Alex's Array Mastery: From Street Musician to Data Wizard
Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
import content from './index.md?raw';
2-
import starterCode from './starterCode.js?raw';
3-
import solution from './solution.js?raw';
4-
import { tests } from './tests.js';
52

63
export default {
74
id: "two-pointers",
@@ -10,9 +7,5 @@ export default {
107
previousChapterId: "implement-arraylist",
118
nextChapterId: "info-sheet",
129
content,
13-
exercises: [{
14-
starterCode,
15-
solution,
16-
tests
17-
}]
10+
exercises: []
1811
};

0 commit comments

Comments
 (0)