You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/sections/04-arrays-and-two-pointers/05-array-methods/index.md
+12-6Lines changed: 12 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,7 @@ Alex adjusts their guitar strap, "That's because these operations are **O(n) tim
93
93
- Click `Run Tests`and ensure that test(s) related to this specific exercise are passing <spanclass="mtk8"> Passing test will show in green text.</span>
94
94
95
95
🚧 *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
+
96
97
---
97
98
98
99
## 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
593
594
"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."
594
595
595
596
---
597
+
596
598
## ⏱️ **Alex's Festival Curation Challenge!**
597
-
- 🔓 Uncomment the below code section in the editor 👉:
599
+
- 🔓 Uncomment the below code section in the editor 👉:
598
600
\`\`\`js
599
601
// ==============================
600
602
// Exercise 4: Help Alex Master Method Chaining and Advanced Array Operations
601
603
// ==============================
602
604
\`\`\`
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 <spanclass="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
+
<spanclass="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
+
607
614
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.*
609
615
---
610
616
611
617
## Alex's Array Mastery: From Street Musician to Data Wizard
0 commit comments