This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { ErrorBoundary } from "react-error-boundary"; | |
import Sidebar from "./Sidebar"; | |
import { Navbar } from "./Navbar"; | |
interface DashboadLayoutProps { | |
children: React.ReactNode; | |
} | |
const DashboadLayout = ({ children }: DashboadLayoutProps) => { | |
return ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdbool.h> | |
int main() | |
{ | |
printf(" Truth Table\n"); | |
printf("----------------------------------------\n"); | |
printf("| x | y | x AND y | x OR y | NOT x |\n"); | |
printf("----------------------------------------\n"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const L = {'2':"abc",'3':"def",'4':"ghi",'5':"jkl", | |
'6':"mno",'7':"pqrs",'8':"tuv",'9':"wxyz"} | |
var letterCombinations = function(D) { | |
let len = D.length, ans = [] | |
if (!len) return [] | |
const bfs = (pos, str) => { | |
if (pos === len) ans.push(str) | |
else { | |
let letters = L[D[pos]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# M CHADO-CODEINN practice | |
import turtle | |
import time | |
wn = turtle.Screen() | |
wn.title("A demo traffic light") | |
wn.bgcolor("black") | |