Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/sections/03-algorithmic-thinking/_b032e981/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { TestResult } from "@nss-workshops/nss-core";

export default {
id: 'b032e981',
title: 'Module 2 - Code Excercise 1',
title: 'Module 2 - Code Exercise 1',
sectionId: 'algorithmic-thinking',
previousChapterId: null,
content: `
Expand Down
2 changes: 1 addition & 1 deletion src/sections/03-algorithmic-thinking/_b892f062/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { TestResult } from "@nss-workshops/nss-core";

export default {
id: 'b892f062',
title: 'Module 2 - Code Excercise 2',
title: 'Module 2 - Code Exercise 2',
sectionId: 'algorithmic-thinking',
previousChapterId: null,
content: `
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
// let strategicSet = ["Hotel California", "Sweet Child O' Mine"];
// addSongStrategically(strategicSet, "Thunderstruck", "beginning");
// addSongStrategically(strategicSet, "Free Bird", "end");
// addSongStrategically(strategicSet, 2, "Wonderwall");
// addSongStrategically(strategicSet, "Wonderwall", 2);
// console.log("Strategic setlist:", strategicSet);

// ==============================
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export const tests = [
return { passed: false, message: "removeSongStrategically function not found. Make sure to uncomment and implement it." };
}

const expectedArray = [];
const expectedArray = ["C"];
const expectedRemoved = ["D", "A", "B"];

if (JSON.stringify(testResult.result) !== JSON.stringify(expectedArray)) {
Expand Down
152 changes: 76 additions & 76 deletions src/sections/04-arrays-and-two-pointers/05-array-methods/index.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ function managePerformanceQueue(initialLineup, newOpeners, finishedActs) {
let lineup = [...initialLineup];

// Add new opening acts to the beginning
newOpeners.forEach(opener => {
lineup.unshift(opener);
});
lineup.unshift(...newOpeners);

// Remove finished acts from the beginning
for (let i = 0; i < finishedActs; i++) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { TestResult } from "@nss-workshops/nss-core";

export default {
id: '7a106b96',
title: 'Module 3 - Code Excercise 1',
title: 'Module 3 - Code Exercise 1',
sectionId: 'arrays-and-two-pointers',
previousChapterId: null,
content: `
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { TestResult } from "@nss-workshops/nss-core";

export default {
id: 'a62881e6',
title: 'Module 3 - Code Excercise 2',
title: 'Module 3 - Code Exercise 2',
sectionId: 'arrays-and-two-pointers',
previousChapterId: null,
content: `
Expand Down
2 changes: 1 addition & 1 deletion src/sections/05-2d-arrays/_5e6361db/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { TestResult } from "@nss-workshops/nss-core";

export default {
id: '5e6361db',
title: 'Module 4 - Code Excercise 2',
title: 'Module 4 - Code Exercise 2',
sectionId: '2d-arrays',
previousChapterId: null,
content: `
Expand Down
2 changes: 1 addition & 1 deletion src/sections/05-2d-arrays/_9e31c844/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { TestResult } from "@nss-workshops/nss-core";

export default {
id: '9e31c844',
title: 'Module 4 - Code Excercise 1',
title: 'Module 4 - Code Exercise 1',
sectionId: '2d-arrays',
previousChapterId: null,
content: `
Expand Down
2 changes: 1 addition & 1 deletion src/sections/06-linked-lists/_1c8056a9/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { TestResult } from "@nss-workshops/nss-core";

export default {
id: '1c8056a9',
title: 'Module 5 - Code Excercise 2',
title: 'Module 5 - Code Exercise 2',
sectionId: 'linked-lists',
previousChapterId: null,
content: `
Expand Down
2 changes: 1 addition & 1 deletion src/sections/06-linked-lists/_a719142c/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { TestResult } from "@nss-workshops/nss-core";

export default {
id: 'a719142c',
title: 'Module 5 - Code Excercise 1',
title: 'Module 5 - Code Exercise 1',
sectionId: 'linked-lists',
previousChapterId: null,
content: `
Expand Down
2 changes: 1 addition & 1 deletion src/sections/07-stacks-queues/_a5ef04f0/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { TestResult } from "@nss-workshops/nss-core";

export default {
id: 'a5ef04f0',
title: 'Module 6 - Code Excercise 1',
title: 'Module 6 - Code Exercise 1',
sectionId: 'stacks-queues',
previousChapterId: null,
content: `
Expand Down
2 changes: 1 addition & 1 deletion src/sections/07-stacks-queues/_a90586a1/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { TestResult } from "@nss-workshops/nss-core";

export default {
id: 'a90586a1',
title: 'Module 6 - Code Excercise 2',
title: 'Module 6 - Code Exercise 2',
sectionId: 'stacks-queues',
previousChapterId: null,
content: `
Expand Down
2 changes: 1 addition & 1 deletion src/sections/08-maps-and-sets/_9dacc692/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { TestResult } from "@nss-workshops/nss-core";

export default {
id: '9dacc692',
title: 'Module 7 - Code Excercise 1',
title: 'Module 7 - Code Exercise 1',
sectionId: 'maps-and-sets',
previousChapterId: null,
content: `
Expand Down
2 changes: 1 addition & 1 deletion src/sections/08-maps-and-sets/_cc07fff4/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { TestResult } from "@nss-workshops/nss-core";

export default {
id: 'cc07fff4',
title: 'Module 7 - Code Excercise 2',
title: 'Module 7 - Code Exercise 2',
sectionId: 'maps-and-sets',
previousChapterId: null,
content: `
Expand Down
2 changes: 1 addition & 1 deletion src/sections/09-sliding-window/_6fd72967/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { TestResult } from "@nss-workshops/nss-core";

export default {
id: '6fd72967',
title: 'Module 8 - Code Excercise 1',
title: 'Module 8 - Code Exercise 1',
sectionId: 'sliding-window',
previousChapterId: null,
content: `
Expand Down
2 changes: 1 addition & 1 deletion src/sections/09-sliding-window/_e49003dd/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { TestResult } from "@nss-workshops/nss-core";

export default {
id: 'e49003dd',
title: 'Module 8 - Code Excercise 2',
title: 'Module 8 - Code Exercise 2',
sectionId: 'sliding-window',
previousChapterId: null,
content: `
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { TestResult } from "@nss-workshops/nss-core";

export default {
id: '72eee61a',
title: 'Module 9 - Code Excercise 2',
title: 'Module 9 - Code Exercise 2',
sectionId: 'sorting-and-binary-search',
previousChapterId: null,
content: `
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { TestResult } from "@nss-workshops/nss-core";

export default {
id: '9cb73255',
title: 'Module 9 - Code Excercise 1',
title: 'Module 9 - Code Exercise 1',
sectionId: 'sorting-and-binary-search',
previousChapterId: null,
content: `
Expand Down
Loading