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 app/about/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const metadata = {
type: "website",
},
alternates: { canonical: "/about" },
title: "About Us | DSA Visualizer",
title: "About Us",
description:
"Learn who builds DSA Visualizer, why it exists, and what the platform covers — 67 interactive algorithm modules, quizzes and code examples, free and without a signup.",
keywords: [
Expand Down
15 changes: 1 addition & 14 deletions app/blogs/Content/dsaDifferent/content.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"use client";
import { faqs } from "./faqs";
import {
ArticleShell,
H2,
Expand Down Expand Up @@ -75,20 +76,6 @@ const protips = [
"Don't translate code between languages line by line — adapt it to that language's strengths.",
];

const faqs = [
{
q: "Does my choice of language make DSA harder?",
a: "Only marginally, and mostly at the edges. Languages with richer standard libraries hide more of the implementation, which is convenient while learning and occasionally a gap later when you need to build the thing yourself.",
},
{
q: "Will my DSA knowledge transfer if I switch languages?",
a: "Almost entirely. The concepts are the transferable part; what you re-learn is which built-in maps to which concept, and where the performance surprises are.",
},
{
q: "Which language should I learn DSA in?",
a: "The one you already write most fluently. Struggling with unfamiliar syntax while learning an unfamiliar algorithm doubles the difficulty for no benefit.",
},
];

const BlogContent = () => (
<ArticleShell
Expand Down
16 changes: 16 additions & 0 deletions app/blogs/Content/dsaDifferent/faqs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Shared by content.jsx (rendered FAQ) and page.jsx (FAQPage JSON-LD).
// Keep this the single source of truth so the two never drift.
export const faqs = [
{
q: "Does my choice of language make DSA harder?",
a: "Only marginally, and mostly at the edges. Languages with richer standard libraries hide more of the implementation, which is convenient while learning and occasionally a gap later when you need to build the thing yourself.",
},
{
q: "Will my DSA knowledge transfer if I switch languages?",
a: "Almost entirely. The concepts are the transferable part; what you re-learn is which built-in maps to which concept, and where the performance surprises are.",
},
{
q: "Which language should I learn DSA in?",
a: "The one you already write most fluently. Struggling with unfamiliar syntax while learning an unfamiliar algorithm doubles the difficulty for no benefit.",
},
];
28 changes: 27 additions & 1 deletion app/blogs/Content/dsaDifferent/page.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import Navbar from "@/app/components/navbar";
import Footer from "@/app/components/footer";
import Content from "@/app/blogs/Content/dsaDifferent/content";
import JsonLd from "@/app/blogs/components/JsonLd";
import { articleSchema, faqSchema, breadcrumbSchema } from "@/app/blogs/lib/schema";
import { faqs } from "./faqs";

export const metadata = {
alternates: { canonical: "/blogs/Content/dsaDifferent" },
Expand Down Expand Up @@ -29,6 +32,9 @@ export const metadata = {
siteName: "DSA Visualizer",
locale: "en_IN",
type: "article",
publishedTime: "2025-05-19T08:00:00Z",
modifiedTime: "2026-08-21T00:00:00Z",
authors: ["Sohan Rout"],
images: [
{
url: "./blog/dsaDifferent.png",
Expand All @@ -46,13 +52,33 @@ export const metadata = {
images: ["./blog/dsaDifferent.png"],
},
category: "Technology",
publishedTime: "2024-05-15T08:00:00Z",
robots: "index, follow",
};

const PATH = "/blogs/Content/dsaDifferent";

const schemas = [
articleSchema({
headline: metadata.title,
description: metadata.description,
path: PATH,
image: "/blog/dsaDifferent.png",
datePublished: metadata.openGraph.publishedTime,
dateModified: metadata.openGraph.modifiedTime,
section: metadata.category,
}),
faqSchema(faqs),
breadcrumbSchema([
{ name: "Home", path: "/" },
{ name: "Blogs", path: "/blogs" },
{ name: metadata.title, path: PATH },
]),
];

const page = () => {
return(
<main className="bg-white dark:bg-zinc-950">
<JsonLd schemas={schemas} />
<Navbar/>
<Content/>
<Footer/>
Expand Down
15 changes: 1 addition & 14 deletions app/blogs/Content/dsaWebDev/content.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"use client";
import { faqs } from "./faqs";
import {
ArticleShell,
H2,
Expand Down Expand Up @@ -67,20 +68,6 @@ const practicalRoute = [
},
];

const faqs = [
{
q: "Can I get a web dev job without DSA?",
a: "Plenty of people do, particularly at agencies and smaller product teams where portfolio work carries the interview. It becomes much harder at companies that run algorithmic screens, which includes most large ones.",
},
{
q: "How much is enough for front-end work?",
a: "Complexity analysis, arrays, hash maps, sets and a working understanding of trees will cover the overwhelming majority of day-to-day decisions. Dynamic programming rarely appears outside interviews.",
},
{
q: "Isn't the framework handling performance for me?",
a: "It handles rendering. It cannot fix an algorithm you wrote that does redundant work — and re-render optimisation itself depends on understanding what changed, which is a data question.",
},
];

const BlogContent = () => (
<ArticleShell
Expand Down
16 changes: 16 additions & 0 deletions app/blogs/Content/dsaWebDev/faqs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Shared by content.jsx (rendered FAQ) and page.jsx (FAQPage JSON-LD).
// Keep this the single source of truth so the two never drift.
export const faqs = [
{
q: "Can I get a web dev job without DSA?",
a: "Plenty of people do, particularly at agencies and smaller product teams where portfolio work carries the interview. It becomes much harder at companies that run algorithmic screens, which includes most large ones.",
},
{
q: "How much is enough for front-end work?",
a: "Complexity analysis, arrays, hash maps, sets and a working understanding of trees will cover the overwhelming majority of day-to-day decisions. Dynamic programming rarely appears outside interviews.",
},
{
q: "Isn't the framework handling performance for me?",
a: "It handles rendering. It cannot fix an algorithm you wrote that does redundant work — and re-render optimisation itself depends on understanding what changed, which is a data question.",
},
];
28 changes: 27 additions & 1 deletion app/blogs/Content/dsaWebDev/page.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import Navbar from "@/app/components/navbar";
import Footer from "@/app/components/footer";
import Content from "@/app/blogs/Content/dsaWebDev/content";
import JsonLd from "@/app/blogs/components/JsonLd";
import { articleSchema, faqSchema, breadcrumbSchema } from "@/app/blogs/lib/schema";
import { faqs } from "./faqs";

export const metadata = {
alternates: { canonical: "/blogs/Content/dsaWebDev" },
Expand Down Expand Up @@ -28,6 +31,9 @@ export const metadata = {
siteName: "DSA Visualizer",
locale: "en_IN",
type: "article",
publishedTime: "2025-05-17T08:00:00Z",
modifiedTime: "2026-08-21T00:00:00Z",
authors: ["Sohan Rout"],
images: [
{
url: "./blog/dsaWebDev.png", // Replace with actual OG image
Expand All @@ -45,13 +51,33 @@ export const metadata = {
images: ["./blog/dsaWebDev.png"],
},
category: "Technology",
publishedTime: "2024-05-15T08:00:00Z",
robots: "index, follow",
};

const PATH = "/blogs/Content/dsaWebDev";

const schemas = [
articleSchema({
headline: metadata.title,
description: metadata.description,
path: PATH,
image: "/blog/dsaWebDev.png",
datePublished: metadata.openGraph.publishedTime,
dateModified: metadata.openGraph.modifiedTime,
section: metadata.category,
}),
faqSchema(faqs),
breadcrumbSchema([
{ name: "Home", path: "/" },
{ name: "Blogs", path: "/blogs" },
{ name: metadata.title, path: PATH },
]),
];

const page = () => {
return(
<main className="bg-white dark:bg-zinc-950">
<JsonLd schemas={schemas} />
<Navbar/>
<Content/>
<Footer/>
Expand Down
19 changes: 1 addition & 18 deletions app/blogs/Content/timeRequired/content.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"use client";
import { faqs } from "./faqs";
import {
ArticleShell,
H2,
Expand Down Expand Up @@ -129,24 +130,6 @@ const checkpoints = [
},
];

const faqs = [
{
q: "Can I learn DSA in a month?",
a: "You can cover the syllabus in a month. You will not retain much of it. A month of intense study is roughly equivalent to the first foundations block, and it fades quickly without revisiting.",
},
{
q: "Do I need to finish DSA before applying for jobs?",
a: "No. Most screening rounds sit in the easy-to-medium band. Six months of consistent work usually clears that bar, and the rest keeps improving while you interview.",
},
{
q: "Which language should I use?",
a: "Whichever you already write fluently. Fighting unfamiliar syntax while learning an unfamiliar algorithm doubles the difficulty for no benefit.",
},
{
q: "How many problems is enough?",
a: "Coverage matters more than count. Roughly 150–200 problems spread across every major pattern, each revisited once, beats 500 clustered in whatever the site recommended.",
},
];

const BlogContent = () => (
<ArticleShell
Expand Down
20 changes: 20 additions & 0 deletions app/blogs/Content/timeRequired/faqs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// Shared by content.jsx (rendered FAQ) and page.jsx (FAQPage JSON-LD).
// Keep this the single source of truth so the two never drift.
export const faqs = [
{
q: "Can I learn DSA in a month?",
a: "You can cover the syllabus in a month. You will not retain much of it. A month of intense study is roughly equivalent to the first foundations block, and it fades quickly without revisiting.",
},
{
q: "Do I need to finish DSA before applying for jobs?",
a: "No. Most screening rounds sit in the easy-to-medium band. Six months of consistent work usually clears that bar, and the rest keeps improving while you interview.",
},
{
q: "Which language should I use?",
a: "Whichever you already write fluently. Fighting unfamiliar syntax while learning an unfamiliar algorithm doubles the difficulty for no benefit.",
},
{
q: "How many problems is enough?",
a: "Coverage matters more than count. Roughly 150–200 problems spread across every major pattern, each revisited once, beats 500 clustered in whatever the site recommended.",
},
];
28 changes: 27 additions & 1 deletion app/blogs/Content/timeRequired/page.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import Navbar from "@/app/components/navbar";
import Footer from "@/app/components/footer";
import Content from "@/app/blogs/Content/timeRequired/content";
import JsonLd from "@/app/blogs/components/JsonLd";
import { articleSchema, faqSchema, breadcrumbSchema } from "@/app/blogs/lib/schema";
import { faqs } from "./faqs";

export const metadata = {
alternates: { canonical: "/blogs/Content/timeRequired" },
Expand Down Expand Up @@ -28,6 +31,9 @@ export const metadata = {
siteName: "DSA Visualizer",
locale: "en_IN",
type: "article",
publishedTime: "2025-06-20T08:00:00Z",
modifiedTime: "2026-08-21T00:00:00Z",
authors: ["Sohan Rout"],
images: [
{
url: "./blog/timeRequired.png", // Replace with actual OG image
Expand All @@ -45,13 +51,33 @@ export const metadata = {
images: ["./blog/timeRequired.png"],
},
category: "Technology",
publishedTime: "2024-05-15T08:00:00Z",
robots: "index, follow",
};

const PATH = "/blogs/Content/timeRequired";

const schemas = [
articleSchema({
headline: metadata.title,
description: metadata.description,
path: PATH,
image: "/blog/timeRequired.png",
datePublished: metadata.openGraph.publishedTime,
dateModified: metadata.openGraph.modifiedTime,
section: metadata.category,
}),
faqSchema(faqs),
breadcrumbSchema([
{ name: "Home", path: "/" },
{ name: "Blogs", path: "/blogs" },
{ name: metadata.title, path: PATH },
]),
];

const page = () => {
return(
<main className="bg-white dark:bg-zinc-950">
<JsonLd schemas={schemas} />
<Navbar/>
<Content/>
<Footer/>
Expand Down
15 changes: 1 addition & 14 deletions app/blogs/Content/whatIsDS/content.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"use client";
import { faqs } from "./faqs";
import {
ArticleShell,
H2,
Expand Down Expand Up @@ -87,20 +88,6 @@ const buildIt = [
"Notice that each requirement pushed you toward a different structure — that is the whole skill.",
];

const faqs = [
{
q: "Do I need to memorise every data structure?",
a: "No. Six carry most of the weight: arrays, hash maps, stacks, queues, trees and graphs. Learn those properly and the rest are variations you can pick up when you meet them.",
},
{
q: "What is the difference between a data structure and an algorithm?",
a: "A data structure is how the data is arranged; an algorithm is what you do with it. Sorting is an algorithm, the array it sorts is the structure. Choosing the structure usually decides which algorithms are even available to you.",
},
{
q: "Does the language change any of this?",
a: "The concepts are identical everywhere. Only the names and the built-ins change — a Python dict, a Java HashMap and a JavaScript Map are the same idea with different labels.",
},
];

const BlogContent = () => (
<ArticleShell
Expand Down
16 changes: 16 additions & 0 deletions app/blogs/Content/whatIsDS/faqs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Shared by content.jsx (rendered FAQ) and page.jsx (FAQPage JSON-LD).
// Keep this the single source of truth so the two never drift.
export const faqs = [
{
q: "Do I need to memorise every data structure?",
a: "No. Six carry most of the weight: arrays, hash maps, stacks, queues, trees and graphs. Learn those properly and the rest are variations you can pick up when you meet them.",
},
{
q: "What is the difference between a data structure and an algorithm?",
a: "A data structure is how the data is arranged; an algorithm is what you do with it. Sorting is an algorithm, the array it sorts is the structure. Choosing the structure usually decides which algorithms are even available to you.",
},
{
q: "Does the language change any of this?",
a: "The concepts are identical everywhere. Only the names and the built-ins change — a Python dict, a Java HashMap and a JavaScript Map are the same idea with different labels.",
},
];
Loading