diff --git a/app/components/hero.jsx b/app/components/hero.jsx index eb77138..7b1f421 100755 --- a/app/components/hero.jsx +++ b/app/components/hero.jsx @@ -142,7 +142,7 @@ const HeroSection = () => { ))} - 1,000+ Active Learners + 10,000+ Active Learners
{ +// `eager` opts out of lazy loading. Inside the mobile carousel the iframe can +// be scrolled past while it is the inactive slide, and a lazy iframe that never +// intersected the viewport stays on about:blank — an empty dashed box. +const DailyDSAEmbed = ({ + mobile = false, + theme = "light", + bordered = true, + eager = false, +}) => { const [height, setHeight] = useState(FALLBACK_HEIGHT); const iframeRef = useRef(null); @@ -48,7 +56,7 @@ const DailyDSAEmbed = ({ mobile = false, theme = "light", bordered = true }) => bordered ? "rounded-none border border-dashed border-black" : "border-0" }`} title="Daily DSA Challenge" - loading="lazy" + loading={eager ? "eager" : "lazy"} >
diff --git a/app/components/ui/MobileEmbedCarousel.jsx b/app/components/ui/MobileEmbedCarousel.jsx new file mode 100755 index 0000000..fd9a3b9 --- /dev/null +++ b/app/components/ui/MobileEmbedCarousel.jsx @@ -0,0 +1,154 @@ +"use client"; + +import { useEffect, useRef, useState } from "react"; +import DailyDSAEmbed from "@/app/components/ui/DailyDSAEmbed"; +import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; + +/** + * Phone-only carousel for the partner embeds. + * + * On desktop these sit stacked in the sidebar. On a phone the grid collapses to + * one column and stacking them means a long scroll past content the reader did + * not come for, so instead one slot cycles through them on its own. + * + * The newsletter embed is deliberately not in here — it stays desktop-only. + * + * Slides are stacked in a single CSS grid cell rather than laid side by side. + * That makes the container as tall as the tallest slide, so swapping slides + * never changes the page height — important when one slide is an iframe that + * reports its own height after load. + */ + +// How long each slide stays up. One number, change it here. +const ROTATE_MS = 5000; + +const SLIDES = [ + { + id: "daily-dsa", + label: "Daily DSA challenge", + // eager: a lazy iframe that is scrolled past while it is the hidden slide + // never leaves about:blank, which shows up as an empty box. + // bordered={false}: matches the desktop sidebar, no dashed frame. + render: (theme) => ( + + ), + }, + { + id: "backend-engineer", + label: "Backend Engineer", + render: (theme) => ( + + ), + }, +]; + +export default function MobileEmbedCarousel({ theme = "light" }) { + const [index, setIndex] = useState(0); + // Hiding with CSS alone still downloads the iframe on desktop, so the slides + // are not mounted at all until we know this is a phone. + const [isPhone, setIsPhone] = useState(false); + const [paused, setPaused] = useState(false); + const [reducedMotion, setReducedMotion] = useState(false); + + useEffect(() => { + const mq = window.matchMedia("(max-width: 767px)"); + const update = () => setIsPhone(mq.matches); + update(); + mq.addEventListener("change", update); + return () => mq.removeEventListener("change", update); + }, []); + + useEffect(() => { + const mq = window.matchMedia("(prefers-reduced-motion: reduce)"); + const update = () => setReducedMotion(mq.matches); + update(); + mq.addEventListener("change", update); + return () => mq.removeEventListener("change", update); + }, []); + + // A backgrounded tab should not keep cycling. + useEffect(() => { + const onVisibility = () => setPaused(document.hidden); + document.addEventListener("visibilitychange", onVisibility); + return () => document.removeEventListener("visibilitychange", onVisibility); + }, []); + + useEffect(() => { + if (!isPhone || paused || SLIDES.length < 2) return; + const timer = setInterval( + () => setIndex((i) => (i + 1) % SLIDES.length), + ROTATE_MS + ); + return () => clearInterval(timer); + }, [isPhone, paused]); + + if (!isPhone) return null; + + return ( +
setPaused(true)} + onPointerUp={() => setPaused(false)} + onFocusCapture={() => setPaused(true)} + onBlurCapture={() => setPaused(false)} + > + {/* A sliding track, not a stack of faded layers. Stacking the slides and + fading between them left the hidden one's cross-origin iframe parked + on about:blank — it never navigated, so the slide came back as an + empty box. Here every slide stays in normal flow and is merely + clipped, so each one loads and paints exactly as it would on its own. + + `items-center` keeps the shorter card centred against the taller + slide, and the track's height is the tallest slide's, so nothing + below it moves when the slide changes. */} +
+
+ {SLIDES.map((slide) => ( +
+ {slide.render(theme)} +
+ ))} +
+
+ +
+ {SLIDES.map((slide, i) => ( + + ))} +
+
+ ); +} diff --git a/app/design-algorithm/divide-and-conquer/introduction/content.jsx b/app/design-algorithm/divide-and-conquer/introduction/content.jsx index bd96acd..af57018 100755 --- a/app/design-algorithm/divide-and-conquer/introduction/content.jsx +++ b/app/design-algorithm/divide-and-conquer/introduction/content.jsx @@ -4,6 +4,7 @@ import { useTheme } from "@/app/contexts/ThemeContext"; import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; // The three steps drawn as one picture: a problem splitting into subproblems, // those being solved, and the answers flowing back up. Seeing the shape once @@ -644,8 +645,7 @@ const Content = () => { /> - - + ); }; diff --git a/app/design-algorithm/fundamentals/amortized-analysis/content.jsx b/app/design-algorithm/fundamentals/amortized-analysis/content.jsx index 8aa4875..b39752f 100755 --- a/app/design-algorithm/fundamentals/amortized-analysis/content.jsx +++ b/app/design-algorithm/fundamentals/amortized-analysis/content.jsx @@ -4,6 +4,7 @@ import { useTheme } from "@/app/contexts/ThemeContext"; import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; // The real cost of the first 32 appends to a doubling array: mostly 1, with a // spike every power of two. Seeing the spikes next to the flat amortized line @@ -694,8 +695,7 @@ const Content = () => { /> - - + ); }; diff --git a/app/design-algorithm/fundamentals/basics/asymptotic-notation/content.jsx b/app/design-algorithm/fundamentals/basics/asymptotic-notation/content.jsx index ef2fd40..4725182 100755 --- a/app/design-algorithm/fundamentals/basics/asymptotic-notation/content.jsx +++ b/app/design-algorithm/fundamentals/basics/asymptotic-notation/content.jsx @@ -4,6 +4,7 @@ import { useTheme } from "@/app/contexts/ThemeContext"; import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; // Plots f(n) against a scaled bound c*g(n) so the reader can see what "for all // n >= n0" actually means: the bound only has to hold to the right of n0. @@ -843,8 +844,7 @@ const Content = () => { /> - - + ); }; diff --git a/app/design-algorithm/fundamentals/basics/time-space-complexity/content.jsx b/app/design-algorithm/fundamentals/basics/time-space-complexity/content.jsx index e5bf4f2..57bb835 100755 --- a/app/design-algorithm/fundamentals/basics/time-space-complexity/content.jsx +++ b/app/design-algorithm/fundamentals/basics/time-space-complexity/content.jsx @@ -4,6 +4,7 @@ import { useTheme } from "@/app/contexts/ThemeContext"; import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const Section = ({ title, children }) => (
@@ -699,8 +700,7 @@ const Content = () => { />
- - + ); }; diff --git a/app/design-algorithm/fundamentals/recurrence-relations/master-theorem/content.jsx b/app/design-algorithm/fundamentals/recurrence-relations/master-theorem/content.jsx index 1bb6060..2a8d460 100755 --- a/app/design-algorithm/fundamentals/recurrence-relations/master-theorem/content.jsx +++ b/app/design-algorithm/fundamentals/recurrence-relations/master-theorem/content.jsx @@ -4,6 +4,7 @@ import { useTheme } from "@/app/contexts/ThemeContext"; import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; // A three-level recursion tree for T(n) = a*T(n/b) + f(n). Seeing that every // level costs the same amount is what makes the n log n result obvious. @@ -660,8 +661,7 @@ const Content = () => { /> - - + ); }; diff --git a/app/design-algorithm/fundamentals/recurrence-relations/recursion-tree/content.jsx b/app/design-algorithm/fundamentals/recurrence-relations/recursion-tree/content.jsx index a607472..6aa7d5e 100755 --- a/app/design-algorithm/fundamentals/recurrence-relations/recursion-tree/content.jsx +++ b/app/design-algorithm/fundamentals/recurrence-relations/recursion-tree/content.jsx @@ -4,6 +4,7 @@ import { useTheme } from "@/app/contexts/ThemeContext"; import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; // A recursion tree drawn from a level description. Each node carries the size // of its subproblem; the right-hand column carries what that whole level costs, @@ -710,8 +711,7 @@ const Content = () => { /> - - + ); }; diff --git a/app/design-algorithm/fundamentals/recurrence-relations/substitution-method/content.jsx b/app/design-algorithm/fundamentals/recurrence-relations/substitution-method/content.jsx index fad42b4..a8c891f 100755 --- a/app/design-algorithm/fundamentals/recurrence-relations/substitution-method/content.jsx +++ b/app/design-algorithm/fundamentals/recurrence-relations/substitution-method/content.jsx @@ -4,6 +4,7 @@ import { useTheme } from "@/app/contexts/ThemeContext"; import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; // The method is a loop, not a straight line: a failed proof sends you back to // strengthen the guess rather than to abandon it. The diagram makes that cycle @@ -662,8 +663,7 @@ const Content = () => { /> - - + ); }; diff --git a/app/visualizer/graph/algorithms/dijkstra/content.jsx b/app/visualizer/graph/algorithms/dijkstra/content.jsx index 08f74d4..7fd23cc 100755 --- a/app/visualizer/graph/algorithms/dijkstra/content.jsx +++ b/app/visualizer/graph/algorithms/dijkstra/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const WalkthroughDiagram = () => { const vertices = [ @@ -219,8 +220,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/graph/algorithms/kruskal/content.jsx b/app/visualizer/graph/algorithms/kruskal/content.jsx index 8bdf8d6..3d6b35e 100755 --- a/app/visualizer/graph/algorithms/kruskal/content.jsx +++ b/app/visualizer/graph/algorithms/kruskal/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const WalkthroughDiagram = () => { const vertices = [ @@ -217,8 +218,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/graph/algorithms/prim/content.jsx b/app/visualizer/graph/algorithms/prim/content.jsx index eb33c83..e96afa3 100755 --- a/app/visualizer/graph/algorithms/prim/content.jsx +++ b/app/visualizer/graph/algorithms/prim/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const WalkthroughDiagram = () => { const vertices = [ @@ -220,8 +221,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/graph/algorithms/topological-sort/content.jsx b/app/visualizer/graph/algorithms/topological-sort/content.jsx index 97df28d..3435acd 100755 --- a/app/visualizer/graph/algorithms/topological-sort/content.jsx +++ b/app/visualizer/graph/algorithms/topological-sort/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const WalkthroughDiagram = () => { const vertices = [ @@ -213,8 +214,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/graph/representation/adjacency-list/content.jsx b/app/visualizer/graph/representation/adjacency-list/content.jsx index 6e6daaa..bb1663a 100755 --- a/app/visualizer/graph/representation/adjacency-list/content.jsx +++ b/app/visualizer/graph/representation/adjacency-list/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const WalkthroughDiagram = () => { const vertices = [ @@ -208,8 +209,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/graph/representation/adjacency-matrix/content.jsx b/app/visualizer/graph/representation/adjacency-matrix/content.jsx index cc4fc5b..c5df512 100755 --- a/app/visualizer/graph/representation/adjacency-matrix/content.jsx +++ b/app/visualizer/graph/representation/adjacency-matrix/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const WalkthroughDiagram = () => { const vertices = [ @@ -224,8 +225,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/graph/traversal/bfs/content.jsx b/app/visualizer/graph/traversal/bfs/content.jsx index 310be75..e5487f5 100755 --- a/app/visualizer/graph/traversal/bfs/content.jsx +++ b/app/visualizer/graph/traversal/bfs/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const WalkthroughDiagram = () => { const vertices = [ @@ -208,8 +209,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/graph/traversal/dfs/content.jsx b/app/visualizer/graph/traversal/dfs/content.jsx index 05a086c..32ade21 100755 --- a/app/visualizer/graph/traversal/dfs/content.jsx +++ b/app/visualizer/graph/traversal/dfs/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const WalkthroughDiagram = () => { const vertices = [ @@ -211,8 +212,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/linkedList/operations/comparison/content.jsx b/app/visualizer/linkedList/operations/comparison/content.jsx index af56635..524eba7 100755 --- a/app/visualizer/linkedList/operations/comparison/content.jsx +++ b/app/visualizer/linkedList/operations/comparison/content.jsx @@ -1,8 +1,8 @@ "use client"; import { useEffect, useState } from "react"; -import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const Content = () => { const [theme, setTheme] = useState("light"); @@ -113,7 +113,7 @@ const Content = () => { - + ); }; diff --git a/app/visualizer/linkedList/operations/deletion/content.jsx b/app/visualizer/linkedList/operations/deletion/content.jsx index 1d64c0e..ceacbb3 100755 --- a/app/visualizer/linkedList/operations/deletion/content.jsx +++ b/app/visualizer/linkedList/operations/deletion/content.jsx @@ -1,8 +1,8 @@ "use client"; import { useEffect, useState } from "react"; -import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const Content = () => { const [theme, setTheme] = useState("light"); @@ -428,7 +428,7 @@ const Content = () => { - + ); }; diff --git a/app/visualizer/linkedList/operations/insertion/content.jsx b/app/visualizer/linkedList/operations/insertion/content.jsx index df71a53..527bd20 100755 --- a/app/visualizer/linkedList/operations/insertion/content.jsx +++ b/app/visualizer/linkedList/operations/insertion/content.jsx @@ -1,8 +1,8 @@ "use client"; import { useEffect, useState } from "react"; -import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const Content = () => { const [theme, setTheme] = useState("light"); @@ -375,7 +375,7 @@ const Content = () => { - + ); }; diff --git a/app/visualizer/linkedList/operations/merge/content.jsx b/app/visualizer/linkedList/operations/merge/content.jsx index 1206ad5..7f46182 100755 --- a/app/visualizer/linkedList/operations/merge/content.jsx +++ b/app/visualizer/linkedList/operations/merge/content.jsx @@ -1,8 +1,8 @@ "use client"; import { useEffect, useState } from "react"; -import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const Content = () => { const [theme, setTheme] = useState("light"); @@ -114,7 +114,7 @@ const Content = () => { - + ); }; diff --git a/app/visualizer/linkedList/operations/reverse/content.jsx b/app/visualizer/linkedList/operations/reverse/content.jsx index 98acbd4..742cac4 100755 --- a/app/visualizer/linkedList/operations/reverse/content.jsx +++ b/app/visualizer/linkedList/operations/reverse/content.jsx @@ -1,8 +1,8 @@ "use client"; import { useEffect, useState } from "react"; -import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const Content = () => { const [theme, setTheme] = useState("light"); @@ -114,7 +114,7 @@ const Content = () => { - + ); }; diff --git a/app/visualizer/linkedList/operations/search/content.jsx b/app/visualizer/linkedList/operations/search/content.jsx index 551c297..04f473e 100755 --- a/app/visualizer/linkedList/operations/search/content.jsx +++ b/app/visualizer/linkedList/operations/search/content.jsx @@ -1,8 +1,8 @@ "use client"; import { useEffect, useState } from "react"; -import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const Content = () => { const [theme, setTheme] = useState("light"); @@ -290,7 +290,7 @@ const Content = () => { - + ); }; diff --git a/app/visualizer/linkedList/operations/traversal/content.jsx b/app/visualizer/linkedList/operations/traversal/content.jsx index 410d5cd..5d29cc7 100755 --- a/app/visualizer/linkedList/operations/traversal/content.jsx +++ b/app/visualizer/linkedList/operations/traversal/content.jsx @@ -1,8 +1,8 @@ "use client"; import { useEffect, useState } from "react"; -import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const Content = () => { const [theme, setTheme] = useState("light"); @@ -284,7 +284,7 @@ const Content = () => { - + ); }; diff --git a/app/visualizer/linkedList/types/circular/content.jsx b/app/visualizer/linkedList/types/circular/content.jsx index 6ec74e6..7ccd44e 100755 --- a/app/visualizer/linkedList/types/circular/content.jsx +++ b/app/visualizer/linkedList/types/circular/content.jsx @@ -1,8 +1,8 @@ "use client"; import { useEffect, useState } from "react"; -import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; // Each node is drawn as [data | next] with the next cell holding the actual // address it stores. The tail's next holds the head's address rather than @@ -704,7 +704,7 @@ const Content = () => { - + ); }; diff --git a/app/visualizer/linkedList/types/doubly/content.jsx b/app/visualizer/linkedList/types/doubly/content.jsx index 643087f..e5abec3 100755 --- a/app/visualizer/linkedList/types/doubly/content.jsx +++ b/app/visualizer/linkedList/types/doubly/content.jsx @@ -1,8 +1,8 @@ "use client"; import { useEffect, useState } from "react"; -import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; // Every node is drawn as [prev | data | next], with each pointer cell holding // the actual address it stores, so the two links that define a doubly linked @@ -646,7 +646,7 @@ const Content = () => { - + ); }; diff --git a/app/visualizer/linkedList/types/singly/content.jsx b/app/visualizer/linkedList/types/singly/content.jsx index 44f3d04..93fbc02 100755 --- a/app/visualizer/linkedList/types/singly/content.jsx +++ b/app/visualizer/linkedList/types/singly/content.jsx @@ -1,9 +1,9 @@ "use client"; import { useEffect, useState } from "react"; -import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const ListDiagram = ({ nodes, highlight, keyPrefix }) => { const boxSize = 40; @@ -358,7 +358,7 @@ const Content = () => { - + ); }; diff --git a/app/visualizer/queue/implementation/array/content.jsx b/app/visualizer/queue/implementation/array/content.jsx index 8dfdb69..e393ac2 100755 --- a/app/visualizer/queue/implementation/array/content.jsx +++ b/app/visualizer/queue/implementation/array/content.jsx @@ -5,6 +5,7 @@ import DailyDSAEmbed from "@/app/components/ui/DailyDSAEmbed"; import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; // Follows the conventions this page states: front and rear are both -1 when // empty, and rear indexes the last element (not the next free slot). @@ -530,8 +531,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/queue/implementation/linkedList/content.jsx b/app/visualizer/queue/implementation/linkedList/content.jsx index 03bbe8a..02e4837 100755 --- a/app/visualizer/queue/implementation/linkedList/content.jsx +++ b/app/visualizer/queue/implementation/linkedList/content.jsx @@ -5,6 +5,7 @@ import DailyDSAEmbed from "@/app/components/ui/DailyDSAEmbed"; import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; // Each node is drawn as a data cell plus a next cell holding the address it // points at, so the links the algorithm rewires are literally readable. @@ -625,8 +626,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/queue/operations/enqueue-dequeue/content.jsx b/app/visualizer/queue/operations/enqueue-dequeue/content.jsx index cfc279c..8788b56 100755 --- a/app/visualizer/queue/operations/enqueue-dequeue/content.jsx +++ b/app/visualizer/queue/operations/enqueue-dequeue/content.jsx @@ -5,6 +5,7 @@ import DailyDSAEmbed from "@/app/components/ui/DailyDSAEmbed"; import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const QueueDiagram = ({ values, highlight, keyPrefix }) => { const boxSize = 40; @@ -298,8 +299,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/queue/operations/isempty/content.jsx b/app/visualizer/queue/operations/isempty/content.jsx index cd35adc..9979ff8 100755 --- a/app/visualizer/queue/operations/isempty/content.jsx +++ b/app/visualizer/queue/operations/isempty/content.jsx @@ -4,6 +4,7 @@ import DailyDSAEmbed from "@/app/components/ui/DailyDSAEmbed"; import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const Content = () => { const { theme } = useTheme(); @@ -240,8 +241,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/queue/operations/isfull/content.jsx b/app/visualizer/queue/operations/isfull/content.jsx index 052b1fa..566e7ed 100755 --- a/app/visualizer/queue/operations/isfull/content.jsx +++ b/app/visualizer/queue/operations/isfull/content.jsx @@ -4,6 +4,7 @@ import DailyDSAEmbed from "@/app/components/ui/DailyDSAEmbed"; import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const Content = () => { const { theme } = useTheme(); @@ -256,8 +257,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/queue/operations/peek-front/content.jsx b/app/visualizer/queue/operations/peek-front/content.jsx index b70b677..8ffb816 100755 --- a/app/visualizer/queue/operations/peek-front/content.jsx +++ b/app/visualizer/queue/operations/peek-front/content.jsx @@ -4,6 +4,7 @@ import DailyDSAEmbed from "@/app/components/ui/DailyDSAEmbed"; import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const QueuePeekDiagram = ({ values, mode, departed, keyPrefix }) => { const boxSize = 40; @@ -444,8 +445,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/queue/types/circular/content.jsx b/app/visualizer/queue/types/circular/content.jsx index fffe9c6..6ce4848 100755 --- a/app/visualizer/queue/types/circular/content.jsx +++ b/app/visualizer/queue/types/circular/content.jsx @@ -5,6 +5,7 @@ import DailyDSAEmbed from "@/app/components/ui/DailyDSAEmbed"; import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; // Drawn as a ring rather than a row: the wrap-around is the whole point, and // a straight line can't show index 4 handing over to index 0. @@ -515,8 +516,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/queue/types/deque/content.jsx b/app/visualizer/queue/types/deque/content.jsx index 45e969d..454db70 100755 --- a/app/visualizer/queue/types/deque/content.jsx +++ b/app/visualizer/queue/types/deque/content.jsx @@ -5,6 +5,7 @@ import DailyDSAEmbed from "@/app/components/ui/DailyDSAEmbed"; import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; // Unlike a plain queue, a deque grows and shrinks at either end, so elements // are placed on fixed slots and the live run just moves within them. That way @@ -511,8 +512,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/queue/types/priority/content.jsx b/app/visualizer/queue/types/priority/content.jsx index 7ac10e8..3d78f82 100755 --- a/app/visualizer/queue/types/priority/content.jsx +++ b/app/visualizer/queue/types/priority/content.jsx @@ -5,6 +5,7 @@ import DailyDSAEmbed from "@/app/components/ui/DailyDSAEmbed"; import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; // A priority queue is almost always a binary heap, so the diagram shows both // faces of one: the tree that gives the log n behaviour, and the flat array it @@ -552,8 +553,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/queue/types/singleEnded/content.jsx b/app/visualizer/queue/types/singleEnded/content.jsx index 7f2ab0f..21dd0c1 100755 --- a/app/visualizer/queue/types/singleEnded/content.jsx +++ b/app/visualizer/queue/types/singleEnded/content.jsx @@ -5,6 +5,7 @@ import DailyDSAEmbed from "@/app/components/ui/DailyDSAEmbed"; import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const QueueStepDiagram = ({ values, @@ -561,8 +562,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/searching/binarysearch/content.jsx b/app/visualizer/searching/binarysearch/content.jsx index fb2265b..84c011f 100755 --- a/app/visualizer/searching/binarysearch/content.jsx +++ b/app/visualizer/searching/binarysearch/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import { useEffect, useState } from "react"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const RangeDiagram = ({ values, low, high, mid, found, keyPrefix }) => { const boxSize = 40; @@ -318,8 +319,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/searching/linearsearch/content.jsx b/app/visualizer/searching/linearsearch/content.jsx index b253f84..3881160 100755 --- a/app/visualizer/searching/linearsearch/content.jsx +++ b/app/visualizer/searching/linearsearch/content.jsx @@ -5,6 +5,7 @@ import { useTheme } from "@/app/contexts/ThemeContext"; import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const ArrayCheckDiagram = ({ values, current, checked, found, keyPrefix }) => { const boxSize = 40; @@ -301,8 +302,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/sorting/bubblesort/content.jsx b/app/visualizer/sorting/bubblesort/content.jsx index e4e71a7..04a6546 100755 --- a/app/visualizer/sorting/bubblesort/content.jsx +++ b/app/visualizer/sorting/bubblesort/content.jsx @@ -5,6 +5,7 @@ import DailyDSAEmbed from "@/app/components/ui/DailyDSAEmbed"; import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const ArrayStepDiagram = ({ values, i, j, swapped, sortedFrom, keyPrefix }) => { const boxSize = 40; @@ -366,8 +367,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/sorting/insertionsort/content.jsx b/app/visualizer/sorting/insertionsort/content.jsx index 230b654..5fce1ae 100755 --- a/app/visualizer/sorting/insertionsort/content.jsx +++ b/app/visualizer/sorting/insertionsort/content.jsx @@ -5,6 +5,7 @@ import DailyDSAEmbed from "@/app/components/ui/DailyDSAEmbed"; import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const InsertionStepDiagram = ({ values, @@ -418,8 +419,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/sorting/mergesort/content.jsx b/app/visualizer/sorting/mergesort/content.jsx index edb3972..dac85ea 100755 --- a/app/visualizer/sorting/mergesort/content.jsx +++ b/app/visualizer/sorting/mergesort/content.jsx @@ -5,6 +5,7 @@ import DailyDSAEmbed from "@/app/components/ui/DailyDSAEmbed"; import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const BOX = 34; const GAP = 6; @@ -721,8 +722,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/sorting/quicksort/content.jsx b/app/visualizer/sorting/quicksort/content.jsx index 9c333cc..097c5d0 100755 --- a/app/visualizer/sorting/quicksort/content.jsx +++ b/app/visualizer/sorting/quicksort/content.jsx @@ -5,6 +5,7 @@ import DailyDSAEmbed from "@/app/components/ui/DailyDSAEmbed"; import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const MiniArrayGroup = ({ values, keyPrefix, accent }) => { const boxSize = 34; @@ -600,8 +601,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/sorting/selectionsort/content.jsx b/app/visualizer/sorting/selectionsort/content.jsx index bb323e6..c73001b 100755 --- a/app/visualizer/sorting/selectionsort/content.jsx +++ b/app/visualizer/sorting/selectionsort/content.jsx @@ -5,6 +5,7 @@ import DailyDSAEmbed from "@/app/components/ui/DailyDSAEmbed"; import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const SelectionStepDiagram = ({ values, @@ -456,8 +457,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/stack/implementation/usingArray/content.jsx b/app/visualizer/stack/implementation/usingArray/content.jsx index 306529f..83f67bc 100755 --- a/app/visualizer/stack/implementation/usingArray/content.jsx +++ b/app/visualizer/stack/implementation/usingArray/content.jsx @@ -5,6 +5,7 @@ import DailyDSAEmbed from "@/app/components/ui/DailyDSAEmbed"; import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const CAPACITY = 6; @@ -251,8 +252,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/stack/isempty/content.jsx b/app/visualizer/stack/isempty/content.jsx index c8729c9..bfa1738 100755 --- a/app/visualizer/stack/isempty/content.jsx +++ b/app/visualizer/stack/isempty/content.jsx @@ -5,6 +5,7 @@ import DailyDSAEmbed from "@/app/components/ui/DailyDSAEmbed"; import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const StackEmptyDiagram = ({ values, result, keyPrefix }) => { const boxWidth = 84; @@ -385,8 +386,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/stack/isfull/content.jsx b/app/visualizer/stack/isfull/content.jsx index 0195d04..d31ea98 100755 --- a/app/visualizer/stack/isfull/content.jsx +++ b/app/visualizer/stack/isfull/content.jsx @@ -2,9 +2,9 @@ import ComplexityGraph from "@/app/components/ui/graph"; import { useTheme } from "@/app/contexts/ThemeContext"; import DailyDSAEmbed from "@/app/components/ui/DailyDSAEmbed"; -import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const StackFullDiagram = ({ values, capacity, keyPrefix }) => { const boxWidth = 84; @@ -388,8 +388,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/stack/peek/content.jsx b/app/visualizer/stack/peek/content.jsx index 3bbef1d..4e8e522 100755 --- a/app/visualizer/stack/peek/content.jsx +++ b/app/visualizer/stack/peek/content.jsx @@ -2,9 +2,9 @@ import ComplexityGraph from "@/app/components/ui/graph"; import { useTheme } from "@/app/contexts/ThemeContext"; import DailyDSAEmbed from "@/app/components/ui/DailyDSAEmbed"; -import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const StackPeekDiagram = ({ values, highlight, returned, keyPrefix }) => { const boxWidth = 84; @@ -313,8 +313,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/stack/polish/postfix/content.jsx b/app/visualizer/stack/polish/postfix/content.jsx index 2938ef1..82b87c4 100755 --- a/app/visualizer/stack/polish/postfix/content.jsx +++ b/app/visualizer/stack/polish/postfix/content.jsx @@ -1,9 +1,9 @@ "use client"; import { useTheme } from "@/app/contexts/ThemeContext"; import DailyDSAEmbed from "@/app/components/ui/DailyDSAEmbed"; -import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const PRECEDENCE = { "^": 4, "%": 4, "*": 3, "/": 3, "+": 2, "-": 2 }; const isOperator = (token) => token in PRECEDENCE; @@ -430,8 +430,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/stack/polish/prefix/content.jsx b/app/visualizer/stack/polish/prefix/content.jsx index a383759..12afbaf 100755 --- a/app/visualizer/stack/polish/prefix/content.jsx +++ b/app/visualizer/stack/polish/prefix/content.jsx @@ -1,9 +1,9 @@ "use client"; import { useTheme } from "@/app/contexts/ThemeContext"; import DailyDSAEmbed from "@/app/components/ui/DailyDSAEmbed"; -import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const PRECEDENCE = { "^": 4, "%": 4, "*": 3, "/": 3, "+": 2, "-": 2 }; const isOperator = (token) => token in PRECEDENCE; @@ -582,8 +582,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/stack/push-pop/content.jsx b/app/visualizer/stack/push-pop/content.jsx index fa08ea7..5b0a042 100755 --- a/app/visualizer/stack/push-pop/content.jsx +++ b/app/visualizer/stack/push-pop/content.jsx @@ -2,9 +2,9 @@ import ComplexityGraph from "@/app/components/ui/graph"; import { useTheme } from "@/app/contexts/ThemeContext"; import DailyDSAEmbed from "@/app/components/ui/DailyDSAEmbed"; -import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const StackDiagram = ({ values, highlight, keyPrefix }) => { const boxWidth = 84; @@ -343,8 +343,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/trees/advanced/b-trees/content.jsx b/app/visualizer/trees/advanced/b-trees/content.jsx index aee550f..945a4b6 100755 --- a/app/visualizer/trees/advanced/b-trees/content.jsx +++ b/app/visualizer/trees/advanced/b-trees/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const KEY_W = 36; const NODE_H = 30; @@ -263,8 +264,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/trees/advanced/fenwick-tree/content.jsx b/app/visualizer/trees/advanced/fenwick-tree/content.jsx index 00310ae..34c58cc 100755 --- a/app/visualizer/trees/advanced/fenwick-tree/content.jsx +++ b/app/visualizer/trees/advanced/fenwick-tree/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const lowbit = (i) => i & -i; const BOX = 30; @@ -200,8 +201,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/trees/advanced/prefix-tree/content.jsx b/app/visualizer/trees/advanced/prefix-tree/content.jsx index 4d6c299..1a5d483 100755 --- a/app/visualizer/trees/advanced/prefix-tree/content.jsx +++ b/app/visualizer/trees/advanced/prefix-tree/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const TrieDiagram = () => { const nodes = [ @@ -215,8 +216,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/trees/advanced/red-black/content.jsx b/app/visualizer/trees/advanced/red-black/content.jsx index 398dad5..c8d2da8 100755 --- a/app/visualizer/trees/advanced/red-black/content.jsx +++ b/app/visualizer/trees/advanced/red-black/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const MiniTree = ({ nodes, edges, keyPrefix }) => { const byId = Object.fromEntries(nodes.map((n) => [n.id, n])); @@ -271,8 +272,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/trees/advanced/segment-trees/content.jsx b/app/visualizer/trees/advanced/segment-trees/content.jsx index 735edfa..499470b 100755 --- a/app/visualizer/trees/advanced/segment-trees/content.jsx +++ b/app/visualizer/trees/advanced/segment-trees/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const BuildDiagram = () => { const nodes = [ @@ -232,8 +233,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/trees/algorithms/lowest-common-ancestor/content.jsx b/app/visualizer/trees/algorithms/lowest-common-ancestor/content.jsx index 8a729c0..2511d86 100755 --- a/app/visualizer/trees/algorithms/lowest-common-ancestor/content.jsx +++ b/app/visualizer/trees/algorithms/lowest-common-ancestor/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const WalkthroughDiagram = () => { const nodes = [ @@ -228,8 +229,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/trees/algorithms/serialize-deserialize/content.jsx b/app/visualizer/trees/algorithms/serialize-deserialize/content.jsx index 2a88c1b..6e20887 100755 --- a/app/visualizer/trees/algorithms/serialize-deserialize/content.jsx +++ b/app/visualizer/trees/algorithms/serialize-deserialize/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const WalkthroughDiagram = () => { const nodes = [ @@ -224,8 +225,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/trees/algorithms/tree-diameter/content.jsx b/app/visualizer/trees/algorithms/tree-diameter/content.jsx index e6f91ba..1b2268f 100755 --- a/app/visualizer/trees/algorithms/tree-diameter/content.jsx +++ b/app/visualizer/trees/algorithms/tree-diameter/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const WalkthroughDiagram = () => { const nodes = [ @@ -233,8 +234,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/trees/algorithms/tree-isomorphism/content.jsx b/app/visualizer/trees/algorithms/tree-isomorphism/content.jsx index d0e29af..3050370 100755 --- a/app/visualizer/trees/algorithms/tree-isomorphism/content.jsx +++ b/app/visualizer/trees/algorithms/tree-isomorphism/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const MiniTree = ({ nodes, edges, x0 }) => { const byId = Object.fromEntries(nodes.map((n) => [n.id, n])); @@ -239,8 +240,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/trees/applications/decision-trees/content.jsx b/app/visualizer/trees/applications/decision-trees/content.jsx index 18037ec..b0a12c4 100755 --- a/app/visualizer/trees/applications/decision-trees/content.jsx +++ b/app/visualizer/trees/applications/decision-trees/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const WalkthroughDiagram = () => { const nodes = [ @@ -226,8 +227,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/trees/applications/heap-sort/content.jsx b/app/visualizer/trees/applications/heap-sort/content.jsx index 547eab5..2d5f7ba 100755 --- a/app/visualizer/trees/applications/heap-sort/content.jsx +++ b/app/visualizer/trees/applications/heap-sort/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const WalkthroughDiagram = () => { const nodes = [ @@ -235,8 +236,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/trees/applications/huffman-coding/content.jsx b/app/visualizer/trees/applications/huffman-coding/content.jsx index 34baf33..13fdd36 100755 --- a/app/visualizer/trees/applications/huffman-coding/content.jsx +++ b/app/visualizer/trees/applications/huffman-coding/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const WalkthroughDiagram = () => { const nodes = [ @@ -223,8 +224,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/trees/applications/syntax-trees/content.jsx b/app/visualizer/trees/applications/syntax-trees/content.jsx index b1fbfb9..f340eb3 100755 --- a/app/visualizer/trees/applications/syntax-trees/content.jsx +++ b/app/visualizer/trees/applications/syntax-trees/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const WalkthroughDiagram = () => { const nodes = [ @@ -210,8 +211,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/trees/binaryTree/properties/content.jsx b/app/visualizer/trees/binaryTree/properties/content.jsx index 20701e6..d3955db 100755 --- a/app/visualizer/trees/binaryTree/properties/content.jsx +++ b/app/visualizer/trees/binaryTree/properties/content.jsx @@ -2,10 +2,10 @@ import ComplexityGraph from "@/app/components/ui/graph"; import { useTheme } from "@/app/contexts/ThemeContext"; import DailyDSAEmbed from "@/app/components/ui/DailyDSAEmbed"; -import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const LabeledTreeDiagram = () => { const nodes = [ @@ -311,8 +311,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/trees/binaryTree/types/content.jsx b/app/visualizer/trees/binaryTree/types/content.jsx index 3a13506..5d9225a 100755 --- a/app/visualizer/trees/binaryTree/types/content.jsx +++ b/app/visualizer/trees/binaryTree/types/content.jsx @@ -2,10 +2,10 @@ import { useEffect, useRef } from "react"; import { gsap } from "gsap"; import { useTheme } from "@/app/contexts/ThemeContext"; -import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import DailyDSAEmbed from "@/app/components/ui/DailyDSAEmbed"; import InContentAd from "@/app/components/ads/InContentAd"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const NODE_GRAD_ID = "bt-types-node-grad"; const SHADOW_FILTER_ID = "bt-types-node-shadow"; @@ -324,8 +324,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/trees/bst/avl/content.jsx b/app/visualizer/trees/bst/avl/content.jsx index 4fceb8a..4a8d02e 100755 --- a/app/visualizer/trees/bst/avl/content.jsx +++ b/app/visualizer/trees/bst/avl/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const MiniTree = ({ nodes, edges, keyPrefix }) => { const byId = Object.fromEntries(nodes.map((n) => [n.id, n])); @@ -275,8 +276,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/trees/bst/deletion/content.jsx b/app/visualizer/trees/bst/deletion/content.jsx index abbe210..ad87903 100755 --- a/app/visualizer/trees/bst/deletion/content.jsx +++ b/app/visualizer/trees/bst/deletion/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const MiniTree = ({ nodes, edges, keyPrefix }) => { const byId = Object.fromEntries(nodes.map((n) => [n.id, n])); @@ -287,8 +288,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/trees/bst/insertion/content.jsx b/app/visualizer/trees/bst/insertion/content.jsx index e715f13..15b2098 100755 --- a/app/visualizer/trees/bst/insertion/content.jsx +++ b/app/visualizer/trees/bst/insertion/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const WalkthroughDiagram = () => { const nodes = [ @@ -249,8 +250,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/trees/bst/searching/content.jsx b/app/visualizer/trees/bst/searching/content.jsx index ef7c8e2..d465268 100755 --- a/app/visualizer/trees/bst/searching/content.jsx +++ b/app/visualizer/trees/bst/searching/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const WalkthroughDiagram = () => { const nodes = [ @@ -270,8 +271,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/trees/traversal/in-order/content.jsx b/app/visualizer/trees/traversal/in-order/content.jsx index 8475ff4..6ef4aca 100755 --- a/app/visualizer/trees/traversal/in-order/content.jsx +++ b/app/visualizer/trees/traversal/in-order/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const WalkthroughDiagram = () => { const nodes = [ @@ -217,8 +218,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/trees/traversal/level-order/content.jsx b/app/visualizer/trees/traversal/level-order/content.jsx index f75a312..e122464 100755 --- a/app/visualizer/trees/traversal/level-order/content.jsx +++ b/app/visualizer/trees/traversal/level-order/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const WalkthroughDiagram = () => { const nodes = [ @@ -238,8 +239,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/trees/traversal/morris/content.jsx b/app/visualizer/trees/traversal/morris/content.jsx index 71d2231..1905458 100755 --- a/app/visualizer/trees/traversal/morris/content.jsx +++ b/app/visualizer/trees/traversal/morris/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const ThreadDiagram = () => { const nodes = [ @@ -236,8 +237,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/trees/traversal/post-order/content.jsx b/app/visualizer/trees/traversal/post-order/content.jsx index 5edbed5..247a41f 100755 --- a/app/visualizer/trees/traversal/post-order/content.jsx +++ b/app/visualizer/trees/traversal/post-order/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const WalkthroughDiagram = () => { const nodes = [ @@ -217,8 +218,7 @@ const Content = () => { - - + ); }; diff --git a/app/visualizer/trees/traversal/pre-order/content.jsx b/app/visualizer/trees/traversal/pre-order/content.jsx index e3ec047..98a178c 100755 --- a/app/visualizer/trees/traversal/pre-order/content.jsx +++ b/app/visualizer/trees/traversal/pre-order/content.jsx @@ -6,6 +6,7 @@ import NewsletterEmbed from "@/app/components/ui/NewsletterEmbed"; import BackendEngineerCard from "@/app/components/ui/BackendEngineerCard"; import InContentAd from "@/app/components/ads/InContentAd"; import { motion } from "framer-motion"; +import MobileEmbedCarousel from "@/app/components/ui/MobileEmbedCarousel"; const WalkthroughDiagram = () => { const nodes = [ @@ -216,8 +217,7 @@ const Content = () => { - - + ); }; diff --git a/public/sitemap-0.xml b/public/sitemap-0.xml index ba539cc..12bfcca 100755 --- a/public/sitemap-0.xml +++ b/public/sitemap-0.xml @@ -11,14 +11,14 @@ https://www.dsavisualizer.in/blogs/Content/whatIsServer2026-09-19T22:32:38+05:30 https://www.dsavisualizer.in/contact2026-08-22T00:21:56+05:30 https://www.dsavisualizer.in/cookies2026-08-22T00:21:56+05:30 -https://www.dsavisualizer.in/design-algorithm2026-09-11T11:27:37+05:30 -https://www.dsavisualizer.in/design-algorithm/divide-and-conquer/introduction2026-09-20T08:06:22.898Z -https://www.dsavisualizer.in/design-algorithm/fundamentals/amortized-analysis2026-09-11T11:27:37+05:30 -https://www.dsavisualizer.in/design-algorithm/fundamentals/basics/asymptotic-notation2026-09-11T11:27:37+05:30 -https://www.dsavisualizer.in/design-algorithm/fundamentals/basics/time-space-complexity2026-09-11T11:27:37+05:30 -https://www.dsavisualizer.in/design-algorithm/fundamentals/recurrence-relations/master-theorem2026-09-11T11:27:37+05:30 -https://www.dsavisualizer.in/design-algorithm/fundamentals/recurrence-relations/recursion-tree2026-09-11T11:27:37+05:30 -https://www.dsavisualizer.in/design-algorithm/fundamentals/recurrence-relations/substitution-method2026-09-11T11:27:37+05:30 +https://www.dsavisualizer.in/design-algorithm2026-09-20T13:53:02+05:30 +https://www.dsavisualizer.in/design-algorithm/divide-and-conquer/introduction2026-09-20T13:53:02+05:30 +https://www.dsavisualizer.in/design-algorithm/fundamentals/amortized-analysis2026-09-20T13:53:02+05:30 +https://www.dsavisualizer.in/design-algorithm/fundamentals/basics/asymptotic-notation2026-09-20T13:53:02+05:30 +https://www.dsavisualizer.in/design-algorithm/fundamentals/basics/time-space-complexity2026-09-20T13:53:02+05:30 +https://www.dsavisualizer.in/design-algorithm/fundamentals/recurrence-relations/master-theorem2026-09-20T13:53:02+05:30 +https://www.dsavisualizer.in/design-algorithm/fundamentals/recurrence-relations/recursion-tree2026-09-20T13:53:02+05:30 +https://www.dsavisualizer.in/design-algorithm/fundamentals/recurrence-relations/substitution-method2026-09-20T13:53:02+05:30 https://www.dsavisualizer.in/privacy2026-08-22T00:21:56+05:30 https://www.dsavisualizer.in/terms2026-08-22T00:21:56+05:30 https://www.dsavisualizer.in/visualizer2026-08-22T00:21:56+05:30 @@ -46,17 +46,17 @@ https://www.dsavisualizer.in/visualizer/queue/operations/isempty2026-09-10T21:12:21+05:30 https://www.dsavisualizer.in/visualizer/queue/operations/isfull2026-09-10T21:12:21+05:30 https://www.dsavisualizer.in/visualizer/queue/operations/peek-front2026-09-10T21:12:21+05:30 -https://www.dsavisualizer.in/visualizer/queue/types/circular2026-09-10T21:12:21+05:30 -https://www.dsavisualizer.in/visualizer/queue/types/deque2026-09-10T21:12:21+05:30 -https://www.dsavisualizer.in/visualizer/queue/types/priority2026-09-10T21:12:21+05:30 -https://www.dsavisualizer.in/visualizer/queue/types/singleEnded2026-09-10T21:12:21+05:30 +https://www.dsavisualizer.in/visualizer/queue/types/circular2026-09-20T13:53:02+05:30 +https://www.dsavisualizer.in/visualizer/queue/types/deque2026-09-20T13:53:02+05:30 +https://www.dsavisualizer.in/visualizer/queue/types/priority2026-09-20T13:53:02+05:30 +https://www.dsavisualizer.in/visualizer/queue/types/singleEnded2026-09-20T13:53:02+05:30 https://www.dsavisualizer.in/visualizer/searching/binarysearch2026-09-10T21:12:21+05:30 https://www.dsavisualizer.in/visualizer/searching/linearsearch2026-09-10T21:12:21+05:30 -https://www.dsavisualizer.in/visualizer/sorting/bubblesort2026-09-10T21:12:21+05:30 -https://www.dsavisualizer.in/visualizer/sorting/insertionsort2026-09-10T21:12:21+05:30 -https://www.dsavisualizer.in/visualizer/sorting/mergesort2026-09-10T21:12:21+05:30 -https://www.dsavisualizer.in/visualizer/sorting/quicksort2026-09-10T21:12:21+05:30 -https://www.dsavisualizer.in/visualizer/sorting/selectionsort2026-09-10T21:12:21+05:30 +https://www.dsavisualizer.in/visualizer/sorting/bubblesort2026-09-20T13:53:02+05:30 +https://www.dsavisualizer.in/visualizer/sorting/insertionsort2026-09-20T13:53:02+05:30 +https://www.dsavisualizer.in/visualizer/sorting/mergesort2026-09-20T13:53:02+05:30 +https://www.dsavisualizer.in/visualizer/sorting/quicksort2026-09-20T13:53:02+05:30 +https://www.dsavisualizer.in/visualizer/sorting/selectionsort2026-09-20T13:53:02+05:30 https://www.dsavisualizer.in/visualizer/stack/implementation/usingArray2026-09-10T21:12:21+05:30 https://www.dsavisualizer.in/visualizer/stack/implementation/usingLinkedList2026-09-10T21:12:21+05:30 https://www.dsavisualizer.in/visualizer/stack/isempty2026-09-10T21:12:21+05:30 @@ -84,9 +84,9 @@ https://www.dsavisualizer.in/visualizer/trees/bst/deletion2026-09-10T21:12:21+05:30 https://www.dsavisualizer.in/visualizer/trees/bst/insertion2026-09-10T21:12:21+05:30 https://www.dsavisualizer.in/visualizer/trees/bst/searching2026-09-10T21:12:21+05:30 -https://www.dsavisualizer.in/visualizer/trees/traversal/in-order2026-09-10T21:12:21+05:30 -https://www.dsavisualizer.in/visualizer/trees/traversal/level-order2026-09-10T21:12:21+05:30 -https://www.dsavisualizer.in/visualizer/trees/traversal/morris2026-09-10T21:12:21+05:30 -https://www.dsavisualizer.in/visualizer/trees/traversal/post-order2026-09-10T21:12:21+05:30 -https://www.dsavisualizer.in/visualizer/trees/traversal/pre-order2026-09-10T21:12:21+05:30 +https://www.dsavisualizer.in/visualizer/trees/traversal/in-order2026-09-20T13:53:02+05:30 +https://www.dsavisualizer.in/visualizer/trees/traversal/level-order2026-09-20T13:53:02+05:30 +https://www.dsavisualizer.in/visualizer/trees/traversal/morris2026-09-20T13:53:02+05:30 +https://www.dsavisualizer.in/visualizer/trees/traversal/post-order2026-09-20T13:53:02+05:30 +https://www.dsavisualizer.in/visualizer/trees/traversal/pre-order2026-09-20T13:53:02+05:30 \ No newline at end of file