feat(islands): add StudyDeck component and markdown decks for algorithms

This commit is contained in:
Prad Nukala
2026-08-19 13:05:50 -04:00
parent e23d90cb82
commit 6f4686d7e9
9 changed files with 484 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
/**
* Markdown study decks rendered by the StudyDeck island (reveal.js).
*
* Each deck is a plain markdown file in this directory — edit the `.md`
* file to change its slides. Slides split on `---` lines; lists animate
* in one item at a time (see `animateLists` in StudyDeck.tsx). Problem
* numbers reference the curriculum in README.md and the solutions under
* `work/`.
*/
import arraysAndStrings from "./arrays-and-strings.md?raw";
import binarySearch from "./binary-search.md?raw";
import hashing from "./hashing.md?raw";
import prefixSum from "./prefix-sum.md?raw";
import slidingWindow from "./sliding-window.md?raw";
import twoPointers from "./two-pointers.md?raw";
export const decks = {
"arrays-and-strings": arraysAndStrings,
"binary-search": binarySearch,
hashing,
"prefix-sum": prefixSum,
"sliding-window": slidingWindow,
"two-pointers": twoPointers,
} as const;
export type DeckName = keyof typeof decks;