Category: ACM
code: #include<bits/stdc++.h> using namespace std; int main() { int t,i,a,n; cin>>t; while(t–) { cin>>a>>n; int arr[n]; for(i=0;…
code: #include<bits/stdc++.h> using namespace std; int main() { int zz,oo; string S; string z=”000000″; string o=”111111″; cin>>S;…
Copied the code from someone’s solutions: #include <stdio.h> int main() { int t; long int n,i,j,k,a[7],sum; char…
Steps: If we want to sort in ascending then we create a min heap If we want…
https://stackoverflow.com/questions/471199/what-is-the-difference-between-%CE%98n-and-on
Algorithm Video: Merge Sort Combines Two Sorted file in a large bigger sorted files: This Merge sort…
Recent Comments