Binary Search Template for C++ #define int long long int int low = 0 , high = 1e13 , mid ; int an…
Read moreWiggle Walk | Round C 2019 - Kick Start 2019 Problem Banny has just bought a new programmable robot. Eager to test his…
Read more0-1 Hole Kdane Algorithm Solution and Code You are given an array of N integers. You select all possible contagious s…
Read moreShortest Path Using BFS in a Graph #include < bits/stdc++.h > using namespace std ; class Graph { int v …
Read moreAdjacency List Representation with Node Class Here is the code: #include < bits/stdc++.h > using namespace s…
Read more