-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpage.jsx
More file actions
executable file
·104 lines (95 loc) · 3.31 KB
/
Copy pathpage.jsx
File metadata and controls
executable file
·104 lines (95 loc) · 3.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
import Navbar from "@/app/components/navbarinner";
import Breadcrumbs from "@/app/components/ui/Breadcrumbs";
import ArticleActions from "@/app/components/ui/ArticleActions";
import Content from "@/app/visualizer/stack/implementation/usingArray/content";
import Code from "@/app/visualizer/stack/implementation/usingArray/codeBlock";
import ModuleCard from "@/app/components/ui/ModuleCard";
import { MODULE_MAPS } from "@/lib/modulesMap";
import Footer from "@/app/components/footer";
import ExploreOther from "@/app/components/ui/exploreOther";
import BackToTopButton from "@/app/components/ui/backtotop";
export const metadata = {
title:
"Stack Implementation using Array | Learn Stack in DSA with JS, C, Python, Java Code",
description:
"Understand how to implement a Stack using an Array with visual explanations, animations, and complete code examples in JavaScript, C, Python, and Java. Perfect for DSA beginners and interview prep.",
keywords: [
"Stack using Array",
"Stack Implementation",
"Stack Implementation in JavaScript",
"Stack Implementation in C",
"Stack Implementation in Python",
"Stack Implementation in Java",
"DSA Stack",
"Array Stack",
"Data Structures Stack",
"Stack Push Pop Array",
"Learn Stack DSA",
"Visualize Stack Implementation",
"Stack Code Examples",
],
robots: "index, follow",
openGraph: {
images: [
{
url: "/og/stack/stackArray.png",
width: 1200,
height: 630,
alt: "Stack Implementation using Array",
},
],
},
};
export default function Page() {
const paths = [
{ name: "Home", href: "/" },
{ name: "Visualizer", href: "/visualizer" },
{ name: "Stack : Implementation Using Array", href: "" },
];
return (
<>
<div>
<Navbar />
</div>
<div className="py-20 bg-gray-100 dark:bg-neutral-900 text-gray-800 dark:text-gray-200">
<section className="px-6 md:px-12">
<div className="mt-10 sm:mt-10 mb-4">
<Breadcrumbs paths={paths} />
</div>
<div className="flex items-center flex-col">
<div className="flex">
<p className="uppercase tracking-wide bg-green-500 dark:text-black px-4 py-1 mb-2 rounded-full">
Stack
</p>
</div>
<h1 className="text-4xl md:text-4xl font-bold text-center text-gray-900 dark:text-white mb-0">
Implementation Using Array
</h1>
<ArticleActions />
</div>
<div className="bg-black border border-none dark:bg-gray-600 w-100 h-[2px] rounded-xl my-10"></div>
<Content />
</section>
<section className="px-6">
<Code />
</section>
<section className="px-6 md:px-12 my-12">
<ModuleCard
moduleId={MODULE_MAPS.stackArray}
title="Stack Implementation using Array"
description="Mark Stack using Array as done and view it on your dashboard"
initialDone={false}
/>
</section>
<section>
<ExploreOther
title="Explore other implementation"
links={[{ text: "Using Linked List", url: "./usingLinkedList" }]}
/>
</section>
</div>
<BackToTopButton />
<Footer />
</>
);
}