Skip to content
Open
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: 2 additions & 0 deletions app/sem2/dsc/[chapter]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { Righteous } from "next/font/google";
import { Ch0Content } from "../content/chapter0";
import { Ch1Content } from "../content/chapter1";
import { Ch2Content } from "../content/chapter2";
import { Ch3Content } from "../content/chapter3";

import { ArrowBigLeft, ArrowBigRight } from "lucide-react";

Expand All @@ -17,6 +18,7 @@ const chapters = [
{ id: "ch0", title: "Course Outline", component: Ch0Content },
{ id: "ch1", title: "Arrays", component: Ch1Content },
{ id: "ch2", title: "Linked Lists", component: Ch2Content },
{ id: "ch3", title: "Stacks", component: Ch3Content },
];

type ChapterProps = {
Expand Down
1 change: 1 addition & 0 deletions app/sem2/dsc/components/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export default function Sidebar() {
{ id: "ch0", title: "Course Outline" },
{ id: "ch1", title: "Arrays" },
{ id: "ch2", title: "Linked Lists" },
{ id: "ch3", title: "Stacks" },
];

const quizSlugMap: Record<string, string> = {
Expand Down
14 changes: 9 additions & 5 deletions app/sem2/dsc/content/chapter0.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,15 @@ export const Ch0Content = () => {

<section>
<h3 className="section-heading">Module III: Stacks</h3>
<ul className="section-list">
<li>Stack operations</li>
<li>Array implementation</li>
<li>Applications of stacks</li>
</ul>
<ul className="section-list">
<li>Introduction to stacks and LIFO principle</li>
<li>Stack operations (Push, Pop, Peek, isEmpty, isFull)</li>
<li>Overflow and Underflow</li>
<li>Array and Linked List implementation</li>
<li>Complexity analysis</li>
<li>Applications and real-life examples</li>
<li>Advantages and limitations</li>
</ul>
</section>

<section>
Expand Down
Loading