Month: June 2017

11
Jun
2017

HAckerearth – HAWKEYE AND FLOODFILL ⇾⚄ (EASY)

code: #include<bits/stdc++.h> using namespace std; int main() { int n; int i,j; long int p; cin>>n>>i>>j>>p; for(int…

09
Jun
2017

Digit Hackerearth

code: #include<bits/stdc++.h> using namespace std; const int N=2e5+55; //max range 10^9 int cnt; string str; int main()…

09
Jun
2017

Stevie Hackerearth

code: #include<bits/stdc++.h> using namespace std; #define ll long long #define pb push_back #define mp make_pair #define ff…

07
Jun
2017

Basics of Implementation – Hackerearth

Vowel count in a string: code: #include<iostream> #include<cstdio> using namespace std; int main() { int a=0,e=0,i=0,o=0,u=0; string…

07
Jun
2017

C++ Vector push_back()…pop_back()

#include<vector> #include<iostream> using namespace std; int main() { vector<string> list; cout<<“Please enter the names, press Q to…

05
Jun
2017

Algo – Linked List

Best Video Explained: code: some bugs  here but understood the implementation: #include<bits/stdc++.h> void display(void); void addatbegin(void); void…