Skip to content

Instantly share code, notes, and snippets.

View KishorJena's full-sized avatar
💭
I may be slow to respond.

Kishor Jena KishorJena

💭
I may be slow to respond.
View GitHub Profile
@KishorJena
KishorJena / ResponsiveCarousel.jsx
Last active April 3, 2025 06:20
Responsive carousel using MUI (material-ui) and React
import { Box, Icon, IconButton } from '@mui/material';
import { useEffect, useRef, useState } from 'react';
const items = [1, 2, 3, 4, 5, 6, 7];
const ResponsiveCarousel = () => {
const [visibleItems, setVisibleItems] = useState(4);
const [scrollIndex, setScrollIndex] = useState(0);
const containerRef = useRef(null);
const contentRef = useRef(null);
#include<stdio.h>
#include<conio.h>
#define max 5
int stack[max],i,flag;
int top=-1;
int Peek();
int isEmpty();
int isFull();