Lead Coding 2.0
9.32K subscribers
2 photos
123 links
I am Mohammad Fraz.
This channel is for Interview Preparation
You can check out the main channel (Lead Coding)
Download Telegram
Q-Kth largest element in a stream
We will start another series soon

Is vali ka feedback dedo jaldi se
Can we have our old TAs here
Will start soon
Those who want to be TAs please ping here
Like zaroor kardena and notification on krlo
Will start at 9
Aajao sab 🔥🔥
Full power
Class 1 went well 🔥
Solve these

1)
int i, j;
for (i = 1; i <= n; i++)
for (j = 1; j <= n; j++)
cout << "Fraz Bhaiya";


2)

int a = 0;
for (i = 0; i < N; i++) {
a = a + i;
}

3)

int a = 0;
for (i = 0; i < N; i++) {
for (j = N; j > i; j--) {
a = a + i + j;
}
}



4)

int i, j, k = 0;
for (i = 1; i <= n; i++) {
for (j = 1; j <= n; j = j * 2) {
k = k + n / 2;
}
}



5)
int k = 1;
for(int i=0;i<n;i++){
i*=k;
}

6)

int i, j;
for (i = 1; i <= n; i++)
for (j = 1; j <= log(i); j++)
cout << "Fraz Bhaiya";



7)

for(int i=0;i<n;i++){
for(int j=0;j<n;j++){
for(int k=0;k<n;k++){
cout<<"Keep Smiling";
}
}
}

8)

for(int i=0;i<n*n;i++){
cout<<"Awesome"
}


9)

sqrt => means Square root

for(int i=0;i<sqrt(n);i++){
cout<<"Square Root Function";
}

10)

for(int i=0;i<n;i++){
for(int j=0;j<sqrt(n);j++){
cout<<j;
}

11)
for(int i=1;i<=n;i=i*i){
cout<< i;
}

12)
for(int i=1;i<=n;i = i*i*i){
cout<<i;
}

13)
for(int i=1;i<=n;i++){
for(int j=1;j<n;j=j*j){
cout<< "Hello , Fraz Bhaiya";
}
}

14)
for(int i=1;i<=n;i++){
for(int j=1;j<=n;j=i*i*i){
cout<<"Hello World";
}
}

15)
for(int i=1;i<=n;i++){
for(int j=1;j<n;i++){
cout<<"*";
}
}

16)
for(int i=0;i<n;i++){
for( ; i<n;i++){
cout<<"Hi ";
}
}

17)
for(int i=n;i>0;i++){
cout<<"I am iron man";
}

18)
for(int i=n*n;i>i;i--){
cout<<"I am Groot!!!";
}

19)
for(int i=n*n;i>0;i--){
for(int j=0;j<n;j++){
cout<<"I am Peter Parker!!!";
}
}

20)
for(int i=0;i<n;i=i+n){
for(int j=0;j<n;j++){
cout<<"I am inevitable!!!";
}
}
Sab log notification on krlena
And like krdena
Class 2 went well
2 classes ho chuki hai, Aaj 3rd class hogi.
I am teaching in the simplest way possible.

Please jisne bhi nahi dekhe hai lectures Aaj dekh lo

Aaj raat bhi maths for DSA hi karenge.
Class started
Class 3 went well