Skip to content

Instantly share code, notes, and snippets.

View pathakcodes's full-sized avatar
🚰
Drinking Water

Shivam Kumar Pathak pathakcodes

🚰
Drinking Water
View GitHub Profile
@pathakcodes
pathakcodes / Graph_BFS_DFS.cpp
Created August 18, 2020 09:59
Graph Implemetation and DFS and BFS
/**
coded by - pathakcodes //revamped
**/
#include<bits/stdc++.h>
using namespace std ;
map<int, vector<int>> graph ;
map<int, bool> visited ;
from manimlib.imports import *
def set_background(self):
background = Rectangle(
width = FRAME_WIDTH,
height = FRAME_HEIGHT,
stroke_width = 0,
fill_color = "#145963",
fill_opacity = 1)
self.add(background)
# Share Your Code Please