Add binary search interactive
Recreate the binary search interactive, add a popup explanation, social sharing, and green screen versions. Place it under Data Structures.
This commit is contained in:
parent
ee4f62434e
commit
dda00627f8
6 changed files with 278 additions and 5 deletions
|
|
@ -4,6 +4,7 @@ import { Input } from '@/components/ui/input';
|
|||
import { Badge } from '@/components/ui/badge';
|
||||
import { Search } from 'lucide-react';
|
||||
import BinaryNumberGame from '@/components/BinaryNumberGame';
|
||||
import BinarySearchTrick from '@/components/BinarySearchTrick';
|
||||
|
||||
interface Interactive {
|
||||
id: string;
|
||||
|
|
@ -21,6 +22,13 @@ const interactives: Interactive[] = [
|
|||
tags: ['binary', 'math', 'numbers', 'representation', 'powers-of-two'],
|
||||
component: BinaryNumberGame,
|
||||
},
|
||||
{
|
||||
id: 'binary-search-trick',
|
||||
title: 'Binary Search Magic Trick',
|
||||
description: 'Perform an amazing magic trick that reveals how binary numbers work. Think of a number and watch the magic happen!',
|
||||
tags: ['binary', 'magic', 'numbers', 'trick', 'data-structures'],
|
||||
component: BinarySearchTrick,
|
||||
},
|
||||
];
|
||||
|
||||
const InteractiveGallery = () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue