TIME STAMPS: 00:00 Introduction 03:34 What is an Array? 08:40 Syntax and Declaration 13:10 Indexing in Arrays 16:08 Accessing Array elements 24:07 Output and Input using LOOPS 38:49 Prob 1 : Given array of marks, print marks less than 35 45:00 Prob 2 : Find the correct declarations 48:47 Prob 3 : Indexing based question 49:39 Memory allocation in Arrays 1:00:48 Prob 4 : Predict the output - 1 1:03:10 Prob 5 : Predict the output - 2 1:07:37 Garbage Values 1:09:04 Prob 6 : Find the error - 1 1:12:13 Prob 7 : Find the error - 2 1:13:17 Prob 8 : Print the sum of elements in given array 1:18:14 HW 1 : Print the product of elements in given array 1:19:11 Prob 9 : Print the maximum element in given array 1:31:26 HW 2 : Print the minimum element in given array 1:31:36 Prob 10 : MCQ - 1 1:33:01 Prob 11 : MCQ - 2 1:34:56 Prob 12 : MCQ - 3 1:35:14 Passing ARRAYS to FUNCTIONS 1:44:36 Prob 13 : State True or False 1:45:47 Prob 14 : Multiply odd indexed elements by 2 and add 10 to the even elements 1:52:38 HW 3 : Print elements greater than x 1:53:59 Prob 15 : Print difference b/w odd indexed and even indexed elements 1:58:12 Prob 16 : Find total number of pairs whose sum add up to x 2:07:07 Prob 17 : Find total number of triplets whose sum add up to x 2:12:50 Prob 18 : Find the second largest element in Array 2:19:28 **Prob 19 : Find second largest element in single pass of array 2:42:15 Prob 20 : WAP to copy elements of array to another array in reverse order 2:46:06 *Prob 21 : Reverse the Array without using extra array 2:53:35 HW 4 : Check if given Array is Palindrome or not 2:54:52 **Prob 22 : Rotate the given Array by ‘k’ steps 3:18:55 Prob 23 : Check if the given element in present in Array or not 3:35:42 HW 5 : Find the missing element in given range 3:39:40 Prob 24 : Find the duplicate element in given array 3:44:15 Prob 25 : Find unique number, where all other elements are duplicate 3:59:30 Comment kardo na fir ki - Maza aa gaya
1:06:53 Sir, yahan par i ki value starting wali nahi hogi i.e. 1 ..... balki loop 0 se 48 baar chalega aur finally i = 49 par loop exit ho jyega toh lastly i me 49 value assign ho jyegi.... So output par 49 print hoga ❤❤❤
you are right but can you explain me more. loop 48 times tak kyu chakega jab for loop ke age semicolun hai to use pahaki baar me hi tarminate ho jana chahiye na or last me i ki value 49 kase hui.
49:50 actually memory allocation depends on the architecture of your system.. if you have a 32 bit system then the size will be 2 bytes(integer) and 4 bytes 64 bit system...
3:44:26 Sir last question mai agar unique element last index pr hoga to ye code nhi chlega sir to agr please kisi ko pta hai ki kya changes krne hai code mai to please reply kr do bhai
Last bale question me agar multiple unique element hoga to break statement nhi lagayenge but uske karan Loop aage chalega aur repeated elements ko bhi unique bata dega kyuki aage repeatation hoga hi nhi.
Bro he literally built up my basic concepts when i started coding. i used to struggle in pattern printing he made me comfortable in it🙌🤩@@alifaisal77616
Yes bro u are right .....coz 32nd vali bit already 1 ya 0 se occupied rehti h .... for negative numbers its 1 and for positive number its already occupied with 0....
Sir Maza aa gya, mai first time programming kr rha hu to thodi dikkat aayi but aapke saath bana rha to sab samjh aa gya, THANK YOU FOR SUCK QUALITY QUESTIONS..
3:48:41 No sir, yaha par thora sa misconception ho gya hai ...... Agar aap wo break keyword waha use karoge toh condition true hone par nearest loop yani sirf inner for loop se exit hoga naaki dono for loop se ..... 🙂
1:19:34 question 1:40:58 array to functions 1:49:14 see this again prob 14 2:00:46 prob 16 2:16:00 prob 18 and 19..see this Qs. again 2:52:30 prob 21 ...i 3:04:10 prob 22 ...reverse array
@@susmitaghosh6539 I was just a noob at that time but actually in c language when the terminator comes after the loop condition the loop breaks and the compiler continues to compile a new line.
1:07:23 Here 49 will be the output instead of 0 Here's why 49 is printed instead of 0: Empty Loop Execution: With the semicolon (;) right after for(i=0; i
sir last vala question ka code har bar kam nhi karega kyunki agar hum asa example le {1,3,2,1,4,2,3} to kam nhi kar rha apka code . BTW accha padhaya sir apne maja a gya . Thankyou sir
1:03:44 there is a mistake even if there is a ; at the end of the for loop the loop will run just the thing is that the loop will not have any body so because the loop will run completely so it it will make the change the value of i from 0 to 48 and at the end of loop the value of will be 49 to break the loop so the final value that will be the output is 49 not 0
2:05:15 pe ek galti h j ki value i+1 nhi ayegi agar i+1 rakho ge to jaise ki example 2 ka pair chaiye to vo 1,1 nhi dega j ki value bhi 0 se start hogi shi answer kr lie
1:07:28 the output will be 49 instead of 0 as the loop will work and go to 48 then 48++ which is 49 but 49>48 Therefore out of the for loop then value of i =49 Therefore ans is 49 ❤
@@vaishnavinalabolu9603 there is nothing in for loop but still loop will execute till end. If there is anything in loop then this will execute but it this case there is nothing to execute in loop
@@SanketMotewar-nx9zo if the condition is true it will go to inner statement but in this case semicolon is there after condition so it will not go further that's why ans is zero.
@@vaishnavinalabolu9603 if we use semicolon just after loop then it will not consider line under it It is same like For(____ _____ _____) ; If we write statement in it For(____ _____ _____) Printf(); Firstly loop will initialise with first value and then it will check condition if true then execute below statements but in this there is not any statements so nothing will execute it again goes in loop then ++ then again check and so on ......... So ...........(refer first comment)
At 3:55:56 I am feeling that there is a flaw in this algorithm as If The Digit '1' at Index no 4 was at Index no 3 and The Digit '4' was at Index no 4 . In short both the numbers were just swapped , at that point there will arise an error as when Value of 'i' will become 3 the variable we are using to check for the duplicates i.e. 'j' will never be able to tell that there is a duplicate of digit '1' is present at index no '0' because it is always starting from j=i+1. Please Clear this Doubt of Mine If anyone Can?
TIME STAMPS 00:00 Introduction 03:34 What is an Array? 08:40 Syntax and Declaration 13:10 Indexing in Arrays 16:08 Accessing Array elements 24:07 Output and Input using LOOPS 38:49 Prob 1 : Given array of marks, print marks less than 35 45:00 Prob 2 : Find the correct declarations 48:47 Prob 3 : Indexing based question 49:39 Memory allocation in Arrays 1:00:48 Prob 4 : Predict the output - 1 1:03:10 Prob 5 : Predict the output - 2 1:07:37 Garbage Values 1:09:04 Prob 6 : Find the error - 1 1:12:13 Prob 7 : Find the error - 2 1:13:17 Prob 8 : Print the sum of elements in given array 1:18:14 HW 1 : Print the product of elements in given array 1:19:11 Prob 9 : Print the maximum element in given array 1:31:26 HW 2 : Print the minimum element in given array 1:31:36 Prob 10 : MCQ - 1 1:33:01 Prob 11 : MCQ - 2 1:34:56 Prob 12 : MCQ - 3 1:35:14 Passing ARRAYS to FUNCTIONS 1:44:36 Prob 13 : State True or False 1:45:47 Prob 14 : Multiply odd indexed elements by 2 and add 10 to the even elements 1:52:38 HW 3 : Print elements greater than x 1:53:59 Prob 15 : Print difference b/w odd indexed and even indexed elements 1:58:12 Prob 16 : Find total number of pairs whose sum add up to x 2:07:07 Prob 17 : Find total number of triplets whose sum add up to x 2:12:50 Prob 18 : Find the second largest element in Array 2:19:28 **Prob 19 : Find second largest element in single pass of array 2:42:15 Prob 20 : WAP to copy elements of array to another array in reverse order 2:46:06 *Prob 21 : Reverse the Array without using extra array 2:53:35 HW 4 : Check if given Array is Palindrome or not 2:54:52 **Prob 22 : Rotate the given Array by ‘k’ steps 3:18:55 Prob 23 : Check if the given element in present in Array or not 3:35:42 HW 5 : Find the missing element in given range 3:39:40 Prob 24 : Find the duplicate element in given array 3:44:15 Prob 25 : Find unique number, where all other elements are duplicate 3:59:30 Comment kardo na fir ki - Maza aa gaya
Yeah I noticed that too. In that case, it works if we run the second loop from j=0 (instead of j= i+1) and the " if " condition inside the second loop is put inside the loop if (i != j) {}. Now the code works for any type of array even if the elements are repeated consecutively.
[2].I have seen this lecture today.I have completely understood all the concepts you explained in class. Your teaching method was very simple and effective, which made me understand everything easily. I am very grateful to you for your guidance and hard work. Your student, [Ayush ]...🫡❤️😊 12TH DECEMBER 2024...
@@niyatiraj1883 Sir has explained it very well the only problem is compilers are correcting it by removing the semicolon automatically. Otherwise, if you dry run the code u will get output as 1.
Sir in question no. 24 find the duplicate element in array wala sir in this question if the elements of the given array is of type {1,2,4,1,3,1,5,6} then sir according to your solution the compiler prints the same think 2 time.
I m so confused why c lang is taught very clearly and with in depth knowledge only in GATE videos why not in placement type videos and I really appreciate the knowledge I get from GATE prep because they teach everything that little in depth concepts help a lot when we sit for coding. By the way you teach great 👏👏🔥
2:02:00 actually जिस इंडेक्स पर की वैल्यू में कितना कम पड़ता है 12 होने के लिए वो ही loop चलाना था और जो डिफरेंस आए वो array मे है की नही वो ही ढूंढना था
M 7 lecture complete dekh chuka huu Bhutt ache se smj aa rha h Tower of hanoi ka printing code smj ni aaya bs Baki aap bhutt Acha pdha rhe h mjaa aa rha hai abhi tak
📗 Enroll Now in Decode Batches and become JOB READY:
📌 Python with DSA: bit.ly/4bXv5xF
📌 Java with DSA: bit.ly/49vEQkZ
📌 C++ with DSA: bit.ly/49NnNKT
Sir java video 3
maja aa gaya❤
Sir aap c++ bhi padha doo bhott acchha padata ho.👍
Pdf dijiye
Sir PDF
Hands down, One of the best lectures on C, keep it up
Maza aa gya
TIME STAMPS:
00:00 Introduction
03:34 What is an Array?
08:40 Syntax and Declaration
13:10 Indexing in Arrays
16:08 Accessing Array elements
24:07 Output and Input using LOOPS
38:49 Prob 1 : Given array of marks, print marks less than 35
45:00 Prob 2 : Find the correct declarations
48:47 Prob 3 : Indexing based question
49:39 Memory allocation in Arrays
1:00:48 Prob 4 : Predict the output - 1
1:03:10 Prob 5 : Predict the output - 2
1:07:37 Garbage Values
1:09:04 Prob 6 : Find the error - 1
1:12:13 Prob 7 : Find the error - 2
1:13:17 Prob 8 : Print the sum of elements in given array
1:18:14 HW 1 : Print the product of elements in given array
1:19:11 Prob 9 : Print the maximum element in given array
1:31:26 HW 2 : Print the minimum element in given array
1:31:36 Prob 10 : MCQ - 1
1:33:01 Prob 11 : MCQ - 2
1:34:56 Prob 12 : MCQ - 3
1:35:14 Passing ARRAYS to FUNCTIONS
1:44:36 Prob 13 : State True or False
1:45:47 Prob 14 : Multiply odd indexed elements by 2 and add 10 to the even elements
1:52:38 HW 3 : Print elements greater than x
1:53:59 Prob 15 : Print difference b/w odd indexed and even indexed elements
1:58:12 Prob 16 : Find total number of pairs whose sum add up to x
2:07:07 Prob 17 : Find total number of triplets whose sum add up to x
2:12:50 Prob 18 : Find the second largest element in Array
2:19:28 **Prob 19 : Find second largest element in single pass of array
2:42:15 Prob 20 : WAP to copy elements of array to another array in reverse order
2:46:06 *Prob 21 : Reverse the Array without using extra array
2:53:35 HW 4 : Check if given Array is Palindrome or not
2:54:52 **Prob 22 : Rotate the given Array by ‘k’ steps
3:18:55 Prob 23 : Check if the given element in present in Array or not
3:35:42 HW 5 : Find the missing element in given range
3:39:40 Prob 24 : Find the duplicate element in given array
3:44:15 Prob 25 : Find unique number, where all other elements are duplicate
3:59:30 Comment kardo na fir ki - Maza aa gaya
Thanks ❤
Tysm bro 🤝
Thanks bhai
Thanks bhai
class notes
mind blowing...... so detailed lectures, anyone who wants to start his programming journey can definitely start with this c programing lectures...
bhai notes bana hai tu pin kar do comment me
BRUH DOES HE COVERED DSA IN THIS SERIES
@@teamsynum9986 NO THERE IS SEPERATE SERIES FOR IT!
Ma dawa kr sakta hu ki iss channel se acchi c programming koi or channel nhi padha rah what a explanation 🔥
1:06:53 Sir, yahan par i ki value starting wali nahi hogi i.e. 1 ..... balki loop 0 se 48 baar chalega aur finally i = 49 par loop exit ho jyega toh lastly i me 49 value assign ho jyegi.... So output par 49 print hoga ❤❤❤
yes :)
YES!
yessss
Bilkul 👍
you are right but can you explain me more. loop 48 times tak kyu chakega jab for loop ke age semicolun hai to use pahaki baar me hi tarminate ho jana chahiye na or last me i ki value 49 kase hui.
Sir aap hi C++ ka complete course ka playlist banaye n aap bahut achhe padhate hai please sir please 😢😢😢😢
1:28:39 return fn
1:35:10 passing array to function
2:12:55 second largest
2:46:03 pointers
Sir aap Jaise teacher pura RUclips per kahin nahin
Bahut achha padhate h aap easy language me❤
Brother notes nhi hai kya
@@aryanrajbhar3807 ha
01:07:36 The o/p will be 49 and not 0 because we have declared variable i in main, not in loop
ya
Yah bro
bro if we declare i in loop then it will give error because i is not define for main function
@@soumyajain8994 that's exactly what he said
1:07:35 Output 49
Yes
49:50 actually memory allocation depends on the architecture of your system.. if you have a 32 bit system then the size will be 2 bytes(integer) and 4 bytes 64 bit system...
It depends on the compiler
At 3:23:17 why sir had not written &x, &i
Pl explain.
@@jitendratolani5908because he is printing
@@flaminate3700The @flaminate3700 compiler is installed separately for 32-bit and 64-bit systems.
3:44:26 Sir last question mai agar unique element last index pr hoga to ye code nhi chlega sir to agr please kisi ko pta hai ki kya changes krne hai code mai to please reply kr do bhai
Thank u sir , very helpful for 1st year students !!
I can solve stuffs on my own ! I m proud of this achievement Thanks CW
I understand coding because of You✨️❤️ thank You sir
Sir you are the best teacher. I'll recommend this playlist to everyone who wants to learn C in depth.
Thankyou so much for the amazing lecture sir !! I am so grateful to you !! You teach soooo good 😀😀
Bilkul makhan tha sir lecture ka swaad aa gaya....TNKS
Last bale question me agar multiple unique element hoga to break statement nhi lagayenge but uske karan Loop aage chalega aur repeated elements ko bhi unique bata dega kyuki aage repeatation hoga hi nhi.
You are right brother
He wrote the last code wrong
Bro he literally built up my basic concepts when i started coding.
i used to struggle in pattern printing he made me comfortable in it🙌🤩@@alifaisal77616
Yes last code is wrong
1:00:03
Passing elements to arrays
1:33:03
1:30:42 ---- mistake --------> int data type ka range -2^31 se (2^31 - 1) hota.
Yes bro u are right .....coz 32nd vali bit already 1 ya 0 se occupied rehti h .... for negative numbers its 1 and for positive number its already occupied with 0....
1:07:23 sir yha pe 49 print hoga kyunki loop 0-48 yani 49 baar chalega or at the end 49 pe jake ruk jayega aur 49 value hi assign ho jayega
Sir Maza aa gya, mai first time programming kr rha hu to thodi dikkat aayi but aapke saath bana rha to sab samjh aa gya, THANK YOU FOR SUCK QUALITY QUESTIONS..
Very nice sir , most detailed lecture I have ever seen.
tower of hanoi me maza aagyaaa...
literally BAAP of all lectures on recursion.....
i have watched so many c language videos in the internet this is the best and easiest video better than my coaching classes thank you sir ji.
sir 1:07:25 me Question ka answer 49 aa rha hai ;
;
aur lecture me mje aye app ko dhanyavad 🤩💫🙏🙏🙏;
3:48:41 No sir, yaha par thora sa misconception ho gya hai ...... Agar aap wo break keyword waha use karoge toh condition true hone par nearest loop yani sirf inner for loop se exit hoga naaki dono for loop se ..... 🙂
correct i was searching for this comment only lol!!!
Hands down, One of the best lectures on C, keep it up
Maza aa gya ❤ 😊
thankusoo much sir....!!! i think that's the best video i found on internet..!!! You are a very good teacher sir 😊
difficulty starts from here....
but sir explained very very well.....mazaa aa gya
thankyou sir
sir please make a video upon DATA STRUCTURE IN C.... it will be very helpful to us...
1:19:34 question
1:40:58 array to functions
1:49:14 see this again prob 14
2:00:46 prob 16
2:16:00 prob 18 and 19..see this Qs. again
2:52:30 prob 21 ...i
3:04:10 prob 22 ...reverse array
at 02:50:00 can't we use directly
printf("%d",arr[6-i]);
in for loop, we can easily get it.
Int size = ar.size(); is showing error how you have printed that?
@@PATTI_2.0 your code is of python i think.
Will give error for c
Thank you for the best explanations. Amazing. As a token of my appreciation, I watch full adds (don't skip) and click on links in ads.
at 1:07 the output is provided by you is 0 to the code but it will be 49
int sub[50],i;
for(i=0;i
you are right
worng there is semicolon so the valu of i =0; if there is no semicolon the i =0 to 48 only
Correct... due to loop i will be incremented and terminate at i=49. SO answer will be 49 here
@@susmitaghosh6539 I was just a noob at that time but actually in c language when the terminator comes after the loop condition the loop breaks and the compiler continues to compile a new line.
@@mayankkumar4110Right 👍🏻
Achha hai Class but Bilkul basic hai Thoda Advance Questions prectice karaiye... Like Frequency of Each Element And So.. Extra...
bhai sahab I COMPLETED 7 LECTURES, HANDS DOWN THE ONLY BEST LECTURES I HAVE EVER FOUND ON INTERNET
who is watching this video a day before the c-programming exam in december 2024😅
Me before a week of exam
Me one day exam.😅
10 days before
I have been reading it since a month😅😅😅
Me before 15 days of exam
i learnt so many things in this session!!
the last code was really amazing . i felt happy idk why 😊
[7].I have seen this lecture today.lecture is very interesting.
21st August 2023
1:07:23 Here 49 will be the output instead of 0
Here's why 49 is printed instead of 0:
Empty Loop Execution: With the semicolon (;) right after for(i=0; i
Yes, you are right. output is 49 instead of 0
Yes, you are right. output is 49 instead of 0
Most awaited lecture 💫
Thank u very much sir🙏🙏
Thank you so much Sir for this amazing lecture on Arrays. Mazza Aa gya 🔥
Superb lecture sir 💯❤️❤️👏👏🎉🎉Maza aa gaya 🤩🤩🤩 Thank you so much sir 🙏🙏🙏😊❤️❤️
sir last vala question ka code har bar kam nhi karega kyunki agar hum asa example le {1,3,2,1,4,2,3} to kam nhi kar rha apka code . BTW accha padhaya sir apne maja a gya . Thankyou sir
Thank you sir wondfull lecture woth lots of problem solving🎉❤
1:13:14 pe line 6 mein scanf ke baad &arr[i] aana chahiye thaa. That is the 2nd error
Sir HW question at 1:07:13 dummy for loop -> value of i will be 49 -> answer will be 49.
3:53:41 why can't we use Continue Statement? Can Anyone Please Explain?
countinue statement is to skip that part and run the loop but we have to stop once we find the value.
1:03:44 there is a mistake even if there is a ; at the end of the for loop the loop will run just the thing is that the loop will not have any body so because the loop will run completely so it it will make the change the value of i from 0 to 48 and at the end of loop the value of will be 49 to break the loop so the final value that will be the output is 49 not 0
Great teacher i truly liked your teaching style
2:05:15 pe ek galti h j ki value i+1 nhi ayegi agar i+1 rakho ge to jaise ki example 2 ka pair chaiye to vo 1,1 nhi dega j ki value bhi 0 se start hogi shi answer kr lie
yes i also think this
1:07:28 the output will be 49 instead of 0 as the loop will work and go to 48 then 48++ which is 49 but 49>48
Therefore out of the for loop then value of i =49
Therefore ans is 49 ❤
48 ko declare tho nahi Kiya naa
@@vaishnavinalabolu9603 there is nothing in for loop but still loop will execute till end.
If there is anything in loop then this will execute but it this case there is nothing to execute in loop
@@SanketMotewar-nx9zo if the condition is true it will go to inner statement but in this case semicolon is there after condition so it will not go further that's why ans is zero.
@@vaishnavinalabolu9603 if we use semicolon just after loop then it will not consider line under it
It is same like
For(____ _____ _____)
;
If we write statement in it
For(____ _____ _____)
Printf();
Firstly loop will initialise with first value and then it will check condition if true then execute below statements but in this there is not any statements so nothing will execute it again goes in loop then ++ then again check and so on .........
So ...........(refer first comment)
@@SanketMotewar-nx9zo thank you 😊
Wonderful explanation sir
Thank you sir for such a great lecture this is very helpful for us maza aa gyaa sir 🙌🙌
Hey where are you from
At 3:55:56 I am feeling that there is a flaw in this algorithm as If The Digit '1' at Index no 4 was at Index no 3 and The Digit '4' was at Index no 4 . In short both the numbers were just swapped , at that point there will arise an error as when Value of 'i' will become 3 the variable we are using to check for the duplicates i.e. 'j' will never be able to tell that there is a duplicate of digit '1' is present at index no '0' because it is always starting from j=i+1.
Please Clear this Doubt of Mine If anyone Can?
Yes bro I had the same doubt
we can take j starting from 0
And then use if statement i!=j
For condition
if arr(i)==arr (j)
Flag=true;
2:48:00 Instead of using function and pointers
We can simply program it like this :-
for( int i=0; i
You're dum this is not for only printing reverse this is for making array reverse
Maine bhi aise par sahi hai
For(int i=6;i>=0;i--);
Printf("%d",arr[i]);
This is also coorect
@AnshKushwaha-ix5td yes correct
You are wrong here because you are printing the element of the array in reverse but you are not actually reversing the array itself.
TIME STAMPS
00:00 Introduction
03:34 What is an Array?
08:40 Syntax and Declaration
13:10 Indexing in Arrays
16:08 Accessing Array elements
24:07 Output and Input using LOOPS
38:49 Prob 1 : Given array of marks, print marks less than 35
45:00 Prob 2 : Find the correct declarations
48:47 Prob 3 : Indexing based question
49:39 Memory allocation in Arrays
1:00:48 Prob 4 : Predict the output - 1
1:03:10 Prob 5 : Predict the output - 2
1:07:37 Garbage Values
1:09:04 Prob 6 : Find the error - 1
1:12:13 Prob 7 : Find the error - 2
1:13:17 Prob 8 : Print the sum of elements in given array
1:18:14 HW 1 : Print the product of elements in given array
1:19:11 Prob 9 : Print the maximum element in given array
1:31:26 HW 2 : Print the minimum element in given array
1:31:36 Prob 10 : MCQ - 1
1:33:01 Prob 11 : MCQ - 2
1:34:56 Prob 12 : MCQ - 3
1:35:14 Passing ARRAYS to FUNCTIONS
1:44:36 Prob 13 : State True or False
1:45:47 Prob 14 : Multiply odd indexed elements by 2 and add 10 to the even elements
1:52:38 HW 3 : Print elements greater than x
1:53:59 Prob 15 : Print difference b/w odd indexed and even indexed elements
1:58:12 Prob 16 : Find total number of pairs whose sum add up to x
2:07:07 Prob 17 : Find total number of triplets whose sum add up to x
2:12:50 Prob 18 : Find the second largest element in Array
2:19:28 **Prob 19 : Find second largest element in single pass of array
2:42:15 Prob 20 : WAP to copy elements of array to another array in reverse order
2:46:06 *Prob 21 : Reverse the Array without using extra array
2:53:35 HW 4 : Check if given Array is Palindrome or not
2:54:52 **Prob 22 : Rotate the given Array by ‘k’ steps
3:18:55 Prob 23 : Check if the given element in present in Array or not
3:35:42 HW 5 : Find the missing element in given range
3:39:40 Prob 24 : Find the duplicate element in given array
3:44:15 Prob 25 : Find unique number, where all other elements are duplicate
3:59:30 Comment kardo na fir ki - Maza aa gaya
Raghav Bhaiya or PW team ka dil se Shukriya...❣️
BRUH DOES HE COVERED DSA IN THIS SERIES
Salute to the best programming teacher on youtube ❤ maza agua sir
sir last question is only applicable for array which u have chose
for array{1,1,2,4,2,3,3,} this code is not applicable......
Yeah I noticed that too. In that case, it works if we run the second loop from j=0 (instead of j= i+1) and the " if " condition inside the second loop is put inside the loop if (i != j) {}. Now the code works for any type of array even if the elements are repeated consecutively.
+1@@harshadeepdas7830
@@harshadeepdas7830 thanks a lot🔥
[2].I have seen this lecture today.I have completely understood all the concepts you explained in class. Your teaching method was very simple and effective, which made me understand everything easily. I am very grateful to you for your guidance and hard work. Your student, [Ayush ]...🫡❤️😊
12TH DECEMBER 2024...
1:03:10 Prob 5 : Predict the output - 2 ----> output for this question will be 49
yes the output will be 49
Same yar
1:12:08 sir ne kha out put will be 1
1
2
2
3
3
.
.
But it is showing nothing in cmd
@@codexintern-p9c but Sir is correct , the output should be 0
@@aditisamargade1307 how??
Can you explain ??
@@niyatiraj1883 Sir has explained it very well the only problem is compilers are correcting it by removing the semicolon automatically. Otherwise, if you dry run the code u will get output as 1.
Sir in question no. 24 find the duplicate element in array wala sir in this question if the elements of the given array is of type {1,2,4,1,3,1,5,6} then sir according to your solution the compiler prints the same think 2 time.
sir notes open nahi ho rahe he ?
++++++
Sir aap na nam ke aage since lagao , kyu aap brand ho sir ji aur padhate best ho , thank you sir ji.
I m so confused why c lang is taught very clearly and with in depth knowledge only in GATE videos why not in placement type videos and I really appreciate the knowledge I get from GATE prep because they teach everything that little in depth concepts help a lot when we sit for coding. By the way you teach great 👏👏🔥
Because wo gate ke purpose ke liye bana hai
@@priyanshuranjan1986 yes but jo bhi ho GATE ke concepts bahut zyada help krte hai coding ke time pe
At 3:23:17 why sir had not written &x, &i
Pl explain.
@@jitendratolani5908 it will be only written if you take input like as scanf or you are print address....
2:25:53 can we do this to reverse without an extra array--
int arr[5]={1,2,3,4,5};
for(int i=4;i>=0;i--){
printf("%d ",arr[i]);
}
???
notesss ???????//
Mila kya??
@@bb-ko9rebhai is lecture ke nhi h
Keep it up Sir 💯❤😊.
You are great sir❤
Unbelievable teaching 👍
Thank you sir 🙏
Amazing sir ..Thank You very much 🥰🙏
Your efforts raghav sir...🙏🙏🙏
2:02:00 actually जिस इंडेक्स पर की वैल्यू में कितना कम पड़ता है 12 होने के लिए वो ही loop चलाना था और जो डिफरेंस आए वो array मे है की नही वो ही ढूंढना था
Please upload notes of this class.
Well explained sir 👏👏👏👏
Sir pls provides notes
Bhai how can I download notes of this lecture??
@@clashofclns7639Stop asking Questions...
Abe website mein jakar khoj le
@@Tonynch_783_49kaise Bhai plz reply
Pw skills year notes dila dooo
amazing lecture...bahuth hi maza aagaya
Sir please provide notes for this lecture ❤❤.
Great sir completed samjh aa gya 😊
MAZA AAGYA
AGR ARRAY INPUT KRKE KRVATE TABH TO ORGASM HI AAJATA
Maza aagaya bhaiya 🎉
Thank you so much 💐
Sir please provide this class notes 🙏
Maazaaa aaagaiyaaa🎉🎉🎉🎉🎉🎉🎉
3:59:02 mazaa agaya sir
2:50:20 sir say rat ke 1baj gye h 🤗☺
dedication of sir
1:07 output is 49
i am also getting the output as 49
yes 49 is output
Yupp bruh Ur right 💯
BRUH DOES HE COVERED DSA IN THIS SERIES
M 7 lecture complete dekh chuka huu
Bhutt ache se smj aa rha h
Tower of hanoi ka printing code smj ni aaya bs
Baki aap bhutt Acha pdha rhe h mjaa aa rha hai abhi tak
Who are facing trouble for getting notes?
Bro notes mila kahi se
Notes mile to muje batana urgent h
Me
@@Prashant_30_ notes hai tumhare pass
C mai kon notes likhta hai
1:07:31 - Sir the output is 49. The program after running gave the output 49!!!
plz provide notes of this lecture
Keep it up mzza aa gya 👍👍👍👍
from where can I get notes of this lecture?
Did you find the notes?
BRUH DOES HE COVERED DSA IN THIS SERIES
Sir aap both acccha padate ho 💯💯👍👍👍👍👍👍👍👍👍👍👍
1:37:07
I got Very good understanding just by following you thank you air❤❤