Wednesday, January 27, 2021
Home Codes

Codes

Code is poetry? Yes it is! Find all the nail biting codes here!

Number Pattern – 2

5 45 345 2345 12345 #include<bits/stdc++.h> using namespace std;int main() { int i,j; for(i=5;i>=1;i--) { for(j=i;j<=5;j++) { cout<<j; } cout<<endl; } return 0;}  

Number Pattern -1

1 12 123 1234 12345 #include<bits/stdc++.h> using namespace std;int main() { int i,j; for(i=1;i<=5;i++) { for(j=1;j<=i;j++) { cout<<j; } cout<<endl; } return 0;}

Single Linked List Operations

Click here to download/view the files.All the basic operations that can be performed in Single Linked List (C++) namely :Appending nodes in the end Appending nodes in the beginning Appending...