9.2 "2D Array" Challenges | Asked by Top MNC's | C++ Placement Course

  Рет қаралды 330,377

Apna College

Apna College

Күн бұрын

Notes of this lecture: drive.google.c...

Пікірлер: 591
@nkjha6625
@nkjha6625 3 жыл бұрын
Whoever explained matrix search, his way to explain the concept is so easy and smooth ,thanks 😊😊
@MuhammadAbdullah-vt4wx
@MuhammadAbdullah-vt4wx Жыл бұрын
It's very helpful for me thanks apna college 🤗
@anushkakumari535
@anushkakumari535 10 ай бұрын
She is shardha didi
@sandippaul468
@sandippaul468 Ай бұрын
My child, these 3 questions itself were actually easy peasy.
@ojasahirrao3287
@ojasahirrao3287 3 жыл бұрын
Instead of swapping, we can directly do- cout
@manashdas5004
@manashdas5004 3 жыл бұрын
yeah, that's true. But the method shown in video actually changing the matrix. And the way that you said, is changing the way of print.
@mahesh248
@mahesh248 3 жыл бұрын
@@manashdas5004 Right Bro
@lokeshkumarchaman1106
@lokeshkumarchaman1106 3 жыл бұрын
@@manashdas5004 bhai difference btween changing the matrix and only print??
@manashdas5004
@manashdas5004 3 жыл бұрын
@@lokeshkumarchaman1106 bhai changing the matrix will help you to do operation on swap matrix. But if you only print you can't do anything to the swap matrix. It is just like toy phone and real phone. Toy phone looks like phone but can't perform any operation like real phone. Hope you understand😊😊
@anujsaini4454
@anujsaini4454 3 жыл бұрын
Can anyone tell me ? What is the use of k for loop and how it is work in multiplication of Matrix
@AvinashKumar-rj2zz
@AvinashKumar-rj2zz 3 жыл бұрын
Awaj Pehchan ke chehra bhi yaad aa gaya Off campus in Microsoft 😍
@UnKnown-by6pu
@UnKnown-by6pu 3 жыл бұрын
Konsi video mein ?
@haiderali0801
@haiderali0801 3 жыл бұрын
Exactly brother!!
@shivanshupadhyay7356
@shivanshupadhyay7356 3 жыл бұрын
shraddha di Meri neha ka naam v shraddha h
@ishankbansal9239
@ishankbansal9239 3 жыл бұрын
@@shivanshupadhyay7356 fir toh teri Neha bhi teri bhen huiii
@sarthakbehera8324
@sarthakbehera8324 3 жыл бұрын
microsoft wali didi
@pavankumar-gp9zx
@pavankumar-gp9zx 3 жыл бұрын
0:20 transpose of matrix 7:05 matrix multiplication 16:45 matrix search
@ArvindKumar-iu3rt
@ArvindKumar-iu3rt 2 жыл бұрын
Tbkx
@sunnyroy2818
@sunnyroy2818 2 жыл бұрын
thank u
@uttamkarmakarece3534
@uttamkarmakarece3534 3 жыл бұрын
This college is much much better than my actual college ❤️
@heplotile8016
@heplotile8016 3 жыл бұрын
Really ♥️
@uttamkarmakarece3534
@uttamkarmakarece3534 3 жыл бұрын
@@DeepakKumar-uh9yn very true ☹️
@subhransusekhar7581
@subhransusekhar7581 3 жыл бұрын
Agree bro
@SurajMapariPrivate
@SurajMapariPrivate 3 жыл бұрын
💯 agreed
@mahvishfatima1692
@mahvishfatima1692 2 жыл бұрын
Absolutely right
@vaibhavs2740
@vaibhavs2740 Жыл бұрын
The last problem's code would create a infinite loop because r0 would always be satisfied, so the loop will continue indefinitely.
@11.naghmamahtab.27
@11.naghmamahtab.27 3 жыл бұрын
this c++ course is amazing ......i faced some problem on starting ... bcoz I am beginner...but now I am understanding properly.......thanks to aman sir and team....
@arushisinha6742
@arushisinha6742 3 жыл бұрын
Great course!! It's unlike other courses on KZbin as you solved many questions.. Thank you for so much effort ☺
@AyushKumar-zs6gf
@AyushKumar-zs6gf 2 жыл бұрын
Efficient code for Transpose of a matrix - After taking all inputs int col=0; while (col
@karanbisht7441
@karanbisht7441 7 ай бұрын
🎉 nice
@smrtghosh5072
@smrtghosh5072 Ай бұрын
Bhai tune to whi kiya h ki arr[j][i] ko print krya h, plus yaha matrix bhi change nhi hua h 🥂
@yadavji_official5548
@yadavji_official5548 3 жыл бұрын
In the matrix multiplication question , before the multiplication I think we should check the matrix multiplication rule first i.e if the number of column of the first matrix is equal to number of rows of the second matrix. By the way Thanks for the amazing series!
@aritrisaha5942
@aritrisaha5942 3 жыл бұрын
no bro he has already assumed that the two values are same ie n2
@aritrisaha5942
@aritrisaha5942 3 жыл бұрын
if he would have generalised the sizes of n1 n2 and n3 then he should have compared
@rameshmalhotra9525
@rameshmalhotra9525 2 жыл бұрын
kzbin.info/www/bejne/a3fWepRqgtVmntE
@ashishredhu2379
@ashishredhu2379 2 жыл бұрын
I thought the same thing.
@artirani3806
@artirani3806 3 жыл бұрын
Bhaiya ko dher saara pyaar aur apni kaksha team ko bhi😘💖💖😘
@sadaysamnotra1814
@sadaysamnotra1814 3 жыл бұрын
I tried a solution of the order of O(n), here it is: int main() { int r,c; coutr>>c; int arr[r][c]; //Entering 2D array for(int i=0;iarr[i][j]; } } //Algo for transpose of a matrix int columnStart=0,columnEnd=c-1 ,rowStart=0,rowEnd=r-1; while(columnStart
@tedbundy8712
@tedbundy8712 2 жыл бұрын
Sir frm which year u r ?
@tonystark861
@tonystark861 2 жыл бұрын
O(n^2) aa raha hain
@abhinandankainth
@abhinandankainth 3 жыл бұрын
Last wala ques toh boht hi bdia padhaya
@shaileshvashisth9973
@shaileshvashisth9973 3 жыл бұрын
bande ki salary toh badni chahiye jis tarike se badhiya samjhaya hai
@ayushgoel8277
@ayushgoel8277 3 жыл бұрын
Ha last question ne to maje dila die ❤️
@_dassi_
@_dassi_ 3 жыл бұрын
Kainthcool
@ritikshrivastava9442
@ritikshrivastava9442 3 жыл бұрын
6:52 if in question written like print the transpose matrix then //transpose logic for(int j=0; j
@dopetechman7921
@dopetechman7921 3 жыл бұрын
i cant be equal to 0 cause it will then exchange every no and the same matrix will show again. i should be equal to j
@ritikshrivastava9442
@ritikshrivastava9442 3 жыл бұрын
@@dopetechman7921 first run it then make any comments
@dopetechman7921
@dopetechman7921 3 жыл бұрын
@@ritikshrivastava9442 oh sorry, got it now, hey do u wanna be my coding buddy as it will be helpful as we are learning from same resources. Would be great to learn together. If oke how can I connect with you? I m available on LinkedIn, instagram, twitter etc
@Harshil-Jani
@Harshil-Jani 3 жыл бұрын
@@dopetechman7921 Can we Join ?
@dopetechman7921
@dopetechman7921 3 жыл бұрын
@@Harshil-Jani ya sure, any id of u were i can connect with you
@snighdhagupta9911
@snighdhagupta9911 3 жыл бұрын
Sir who taught Matrix multiplication question has taught with extensive explanation and the best explanation I have ever heard for such questions. Looking forward to learn more from you. Great job guys, keep enlightening students like me. Thank you team Apna College🙏
@kumarharsh90
@kumarharsh90 3 жыл бұрын
He's best one according to me
@prakharjalan7546
@prakharjalan7546 3 жыл бұрын
hey i have doubt in that ques can you help me?
@kumarharsh90
@kumarharsh90 3 жыл бұрын
@@prakharjalan7546 what?
@rameshmalhotra9525
@rameshmalhotra9525 2 жыл бұрын
kzbin.info/www/bejne/a3fWepRqgtVmntE
@kundanraj2690
@kundanraj2690 2 жыл бұрын
we can also do for like arr[j][i] as a output it also take less memory and time complexcity is same 😀
@AliAhmad-if8hi
@AliAhmad-if8hi Жыл бұрын
thought the same thing
@ankushbalhara440
@ankushbalhara440 3 жыл бұрын
(16:00) 27+8=33😂😂 Op calculation. Kisko kya hi pta chalega😂😂🤭 By the way nice content bro❣️❣️
@ayushsarangi4095
@ayushsarangi4095 3 жыл бұрын
CHOMU 25+8 BOLA H
@search_Adam_seeker
@search_Adam_seeker 3 жыл бұрын
@@ayushsarangi4095 cho p
@dabblu
@dabblu Жыл бұрын
I can't belive that I did the 1st Qn on my own...Thank you so much to the WHOLE TEAM of Apna College, I'm so proud of Myself. edit: you might think that the 1st Question was Easy...but I'm still proud of Myself
@vritantjain1161
@vritantjain1161 3 жыл бұрын
Transpose wale mein j ko i+1 se start kre to less time lagega aur output bhi desired mil jayega
@tejasdubhir6935
@tejasdubhir6935 3 жыл бұрын
Last question bhot badhiya samajh aaya. Un bhaiya ke aur videos lao please!!!!
@findyourself8806
@findyourself8806 3 жыл бұрын
Image Transformation Digital images are represented as a matrix and each element in the matrix represents the RGB value of a pixel. Given the pixel values of a nXn image. Write a code to transform the image into another image by alternate swap of edge pixels. That is for example, given a 4 X 4 image as follows: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 The edge elements of the above image are 1, 2, 3, 4, 8, 12, 16, 15, 14, 13, 9 and 5. The following steps are involved in the transformation: 1 and 3 are swapped 1 and 8 are swapped 1 and 16 are swapped 1 and 14 are swapped 1 and 9 are swapped After doing alternate swap of edge elements the pixel values of the image looks as follows: 3 2 8 4 5 6 7 16 1 10 11 12 13 9 15 14 And given an image of dimension 5 X 5 as follows: 2 4 5 6 3 3 11 12 7 9 7 15 13 8 1 2 21 25 13 14 17 10 16 19 3 Should transform as: 5 4 3 6 1 3 11 12 7 9 2 15 13 8 3 2 21 25 13 14 7 10 17 19 16 Input Format First line contains the dimension of the matrix, n Next nxn lines contain the elements of the matrix in row major order. That is the elements in the first row are given followed by second row and so on Output Format Print the transformed nxn matrix in ‘n’ lines Each line contains the elements of a row separated by a tab. Note: There is a tab at the end of each line
@snehilsinha4689
@snehilsinha4689 3 жыл бұрын
Urvi Goel didi, Rishabh Gupta bhaiya, Shraddha Khapra didi,... and the list goes on... 😁😁. Who's next? 🤔
@deveshshetkar8106
@deveshshetkar8106 3 жыл бұрын
Top class faculties love you all❤️
@shivamaggarwal4887
@shivamaggarwal4887 2 жыл бұрын
6:00 would be more efficient if we start inner loop from j=i+1...because when i and j are equal then we dont require swapping
@arkachakraborty843
@arkachakraborty843 Жыл бұрын
Sorry to say but no it is valid only for the 1st row in second row we get i=j for 1 and hence you would check only the numbers beyond i=j=1 and for 3rd row numbers with index beyond i=j=2.
@vishalkarmakar418
@vishalkarmakar418 3 жыл бұрын
Last mein konse bhaiya ne smjhaya tha jo bhi h bhot mst smjhaya hain maza aagya 🔥🔥🔥
@shreyaschavhan5522
@shreyaschavhan5522 3 жыл бұрын
Matrix Transpose - == 0:10 == - Matrix Multiplication - == 7:01 == - Matrix Search - == 16:31 == -
@BTEEEHarshChauhan
@BTEEEHarshChauhan 3 жыл бұрын
Sir, we can start from 0,0 or n,n for searching by forcing our search from either way and then checking the condition.
@Raghav_362
@Raghav_362 3 жыл бұрын
last question can be done as --> only see diagonal elements and check which is dig element is greater than search then search in that rwo and column only
@anubhavgoyal2458
@anubhavgoyal2458 3 жыл бұрын
From O(n*2) to O(n) Love the optimization
@thespecuber1319
@thespecuber1319 3 ай бұрын
Not really
@thespecuber1319
@thespecuber1319 3 ай бұрын
Recognise he used a while loop as well
@UnKnown-id7ih
@UnKnown-id7ih 3 жыл бұрын
Concept cleared and i think bhiya just listen our query about the speed of teaching and he improved is just mind blowing.
@a.s.nurrie5282
@a.s.nurrie5282 3 жыл бұрын
Last wali problem me second if ko agr replace krte hai else if se ton vode run kyo nhi hota🤔🤔🤔
@Go_D_Roger
@Go_D_Roger Жыл бұрын
6:30 in transpose matrix instead of swaping elements by temp, one can just cout arr[j][i]. it works and time complexity is less too
@manishchandrapaneru.o5
@manishchandrapaneru.o5 Жыл бұрын
That will not change original matrix...It only displays transpose
@aayush6991
@aayush6991 Ай бұрын
instead of swapping,we can also create new array to store the transpose here's the code for it #include using namespace std; int main(){ int n; cout
@vscreation2184
@vscreation2184 2 жыл бұрын
How he used and in while loop generally we && for checking conditions actually this works in python
@arka6302
@arka6302 3 жыл бұрын
instead of creating a loop for initializing the ans array in the multplication of matrices question we can just do for(int i=0;i
@sohamDevRel
@sohamDevRel 3 жыл бұрын
Please increase the frequency of uploading videos. The content is awesome!
@mdateeque3997
@mdateeque3997 3 жыл бұрын
Hitler reacting to IIT-JEE RESULTS:- kzbin.info/www/bejne/e5rSc2aLgJt8iK8
@mdateeque3997
@mdateeque3997 3 жыл бұрын
200 likes and 0 dislikes (all haters are asleep).
@yourbestie4138
@yourbestie4138 3 жыл бұрын
at 20:49 bro try to got to 14 from 5...it is not possible ig..but u answerd my doubt at 21:45..thank you😂😂
@rajankpandey
@rajankpandey Жыл бұрын
the person at the end has explained really well
@LLTletslearn
@LLTletslearn 2 жыл бұрын
First of all I learned a lot from this channel thank you 🙏🏻 everyone behind it. Wanna add one more comment “I am in love with your voice “ mam. If the second one hurts you guys in any way please accept my apologies Else keep it. Happy coding ☺️☺️
@sagarmahajan1756
@sagarmahajan1756 3 жыл бұрын
agar ye course 1 saal pahle aagaya hota to mere 5000/- rupaye bach jate but anyways thanks your content is more worthy than that 5000/- paid course!
@forprofessionalusage2
@forprofessionalusage2 3 жыл бұрын
last guy voice is simple and complex xD very good last bhaiya xD
@abanerjee3704
@abanerjee3704 3 жыл бұрын
The last approach was just mind blowing.
@prakharjalan7546
@prakharjalan7546 3 жыл бұрын
can you help me with the code i've commented
@abanerjee3704
@abanerjee3704 3 жыл бұрын
@@prakharjalan7546 just saw it. See and do reply the problem.
@aditisharma842
@aditisharma842 3 жыл бұрын
Just print a[j][i] to get transpose no need of swap operation
@ManishYadav-lg2qr
@ManishYadav-lg2qr 3 жыл бұрын
Shradha Khapra is love. Great Explanation
@sahichezz3934
@sahichezz3934 2 жыл бұрын
Give best explainer award to last bhaiya who teach us matrix search we have only one word for explaining beautifully- cout
@divyanshuarun7129
@divyanshuarun7129 3 жыл бұрын
Last question bahot ache se explained kia hua hai❤️.
@priyanshukunwar
@priyanshukunwar 3 жыл бұрын
Masterpiece course 🔥
@Shadowxgaming_
@Shadowxgaming_ 3 жыл бұрын
bhaiya who is teaching inthis video is way better then all the previous one
@aryavbhola3066
@aryavbhola3066 2 жыл бұрын
Matrix Search Question and Explaination was a beauty to watch
@shreyansh2729
@shreyansh2729 2 жыл бұрын
I did the matrix search problem by binary search on row and columns. But the method explained was way too smoother than binary search !!
@AbhishekKumar-td5zu
@AbhishekKumar-td5zu 3 жыл бұрын
Tqsm bhaiya ♥️♥️
@ujjawalmishra858
@ujjawalmishra858 3 жыл бұрын
Thank You so much bhaiya...and whole team #ApnaCollege
@piyushverma415
@piyushverma415 3 жыл бұрын
first ques can be solved using a single while loop to decrease its time complexity...
@ayushgoel8277
@ayushgoel8277 3 жыл бұрын
Last question wale bhaiya ke lie to mene subscribe kardia hai
@mukulchambial301
@mukulchambial301 3 жыл бұрын
Thanks for this wonderful lecture 🙌🙌
@modern_gurukul_24x7
@modern_gurukul_24x7 3 жыл бұрын
Epic Moment : When you saw that matrix search could be that simple. Meanwhile : Bhaiya's expression ye sab toh bacho ka khel hai.
@soumojitchowdhury151
@soumojitchowdhury151 3 жыл бұрын
Last searching question me if statement ke andar ek break bhi hoga.. nahi to flag true karne ke baad toh woh loop break hi nahi hoga
@pragatigupta1159
@pragatigupta1159 2 жыл бұрын
Thankyou so much bhaiya for your valuable time , aap ke sath coding karna bahut simple hojata hai
@manavsharma142
@manavsharma142 Ай бұрын
Last person explained so well
@sunilj3553
@sunilj3553 3 жыл бұрын
Webdevlopment ki classes kab se start hogi ?
@shivamchaturvedi4336
@shivamchaturvedi4336 3 жыл бұрын
lgta h agla google tu hi bnayega
@eshaaislive5741
@eshaaislive5741 3 жыл бұрын
@@shivamchaturvedi4336Nice Joke... 🤣🤣
@rajansingh1919
@rajansingh1919 3 жыл бұрын
top faculties is the world...👌👌👌👌
@syedmizbahuddin9390
@syedmizbahuddin9390 3 жыл бұрын
Sir, What is the time complexity of second algorithm of matrix search problem...?? Is it O(m+n) ...?
@abhinandankainth
@abhinandankainth 3 жыл бұрын
Yes
@mostviewedreels872
@mostviewedreels872 3 жыл бұрын
Yes
@shreyashagrawal2264
@shreyashagrawal2264 3 жыл бұрын
but for loop ke andar for loop lagaya hai to uska complexity O(nm) hoga na? Can any one explain why time complexity is O (n+m)
@abhishekanavekar1147
@abhishekanavekar1147 3 жыл бұрын
@ Syed Mizbahuddin, It's because we are traversing from top right corner to top left searching for the target by 'n' elements and if not found we go down by 'm' elements, and big O is for the worst case of algorithm so, O(m+n).
@rameshmalhotra9525
@rameshmalhotra9525 2 жыл бұрын
kzbin.info/www/bejne/a3fWepRqgtVmntE
@lifeoeshita
@lifeoeshita 3 жыл бұрын
Bhaiya ak telegram group bana do na. Jis par hum sab doubts puch sake. If you also want then hit like
@akshitsingh5912
@akshitsingh5912 3 жыл бұрын
Am I the only one who is spending ages on Bhaiya's Physics and Chemistry notes and really enjoying them? Bhaiya thanks for everything and please start Python on Apni Kaksha. You're the best Bhaiya!!
@abhinavchaudhary1186
@abhinavchaudhary1186 3 жыл бұрын
Yes, you are the only one
@fitincubicles
@fitincubicles 3 жыл бұрын
You are life saviour for students like me love you Apna College and Aman bhaiya😍
@HiteshKumar-si4ok
@HiteshKumar-si4ok 3 жыл бұрын
For the first prb u can also simply do this for (int j = 0; j < n; j++) { for (int i = 0; i < m; i++) { cout
@trimbakrajitkar4536
@trimbakrajitkar4536 2 жыл бұрын
u are just priting but original matx not changed
@vaibhavs2740
@vaibhavs2740 Жыл бұрын
damn
@divyaalakute5412
@divyaalakute5412 2 жыл бұрын
in the last cout>>a[i][j] is not give proper o/p instead that cout>>a[j][i] gives right ans
@shivansh7407
@shivansh7407 3 жыл бұрын
When is python course gonna upload on this channel... plz plz plz do it fast... if have to sit for placements and wanna learn the data structure and algo. from apna college channel. 🙏🙏🙏 Upload it asap🙂🙂🙂
@mdateeque3997
@mdateeque3997 3 жыл бұрын
Hitler reacting to IIT-JEE RESULTS:- kzbin.info/www/bejne/e5rSc2aLgJt8iK8
@mdateeque3997
@mdateeque3997 3 жыл бұрын
200 likes and 0 dislikes (all haters are asleep).
@ankursahoo3607
@ankursahoo3607 3 жыл бұрын
If its that much urgent for you go for a intigrrated 16hours video of python from youtube
@AKASHSHARMA-wy7mg
@AKASHSHARMA-wy7mg 3 жыл бұрын
bro is python more important than c++ ? i am juinor though...|
@shivansh7407
@shivansh7407 3 жыл бұрын
@@09.arkodevmukherjee24 sure
@yashwasalwar1031
@yashwasalwar1031 3 жыл бұрын
when will we study stl sort? As per course index it was before 2D arrays
@vidheelgujarati2906
@vidheelgujarati2906 3 жыл бұрын
Kindly add an option of skip add for the add which is 9 mins long. 1 or 2 mins is okay, but isn't a 9 mins add too long?
@pavitragautam2448
@pavitragautam2448 3 жыл бұрын
THANKS FOR THE VIDEO.... AMAZING EXPLAINATION....
@sharma_atul_06
@sharma_atul_06 4 ай бұрын
last explanation was superb
@solvinglife6658
@solvinglife6658 2 жыл бұрын
transpose wale me direct a [j][i] se karna better option hoga
@Justdoing185
@Justdoing185 2 жыл бұрын
Matrix search bale bhaiya ap Neo ho In this field (Neo in matrix movie ) Sarbasaktiman Neo bale bhaiya ❤️
@kashishshukla23
@kashishshukla23 3 жыл бұрын
that bhaiyaa (matrix search vaale) explains really well... ^_^
@karanchandak5667
@karanchandak5667 2 жыл бұрын
Matrix Transpose- "THE EASIEST CODE YOU WOULD EVER FIND" #include using namespace std; int main() { int n; cin>>n; int a[n][n]; for(int i=0;ia[i][j]; } } // Transpose for(int i=0;i
@karanchandak5667
@karanchandak5667 2 жыл бұрын
I was doing some random trial and found this🤣🤣 @Apna College
@deepanshsharma5970
@deepanshsharma5970 3 жыл бұрын
Thank you bhaiya and all teachers 😍
@amalasebastian9968
@amalasebastian9968 3 жыл бұрын
Aare wah... The last guy was lit.. Seriously
@priyanshushekharpandey4235
@priyanshushekharpandey4235 3 жыл бұрын
Bhya 1 week of November hogya waiting for Python course u didn't upload it if it will take time I will study from Anuj bhya #pythonplease session are near sooo please replyyyy
@yashvarshney6761
@yashvarshney6761 3 жыл бұрын
it's your choice isse kisi ko koi nuksaan nahi hai.
@priyanshushekharpandey4235
@priyanshushekharpandey4235 3 жыл бұрын
@@yashvarshney6761 bhai ap kaun
@priyeshrajsingh2249
@priyeshrajsingh2249 3 жыл бұрын
Yeh bhi theek hai
@priyanshushekharpandey4235
@priyanshushekharpandey4235 3 жыл бұрын
@@priyeshrajsingh2249 gjb khali ho bhai 😁
@nirbhaisai3421
@nirbhaisai3421 2 жыл бұрын
in matrix searching .. the while loop is an infinite loop.. does this affect the time or space complexity?
@rankitgujjar80
@rankitgujjar80 3 жыл бұрын
in the first question just exchange i and j , you will get the transpose
@sajalgupta3049
@sajalgupta3049 3 жыл бұрын
sir if i use else if loop to check the condition a[i][j]>target ,then my code is not working and i m not getting the output and if i using if condition as mentioned in video then my code is running and getting right output
@himanshugautam9159
@himanshugautam9159 3 жыл бұрын
Same
@nikhilmehra613
@nikhilmehra613 3 жыл бұрын
Ek exact time pr video daala kro plz.But thanks for that content ❤️
@dhairyashah4167
@dhairyashah4167 3 жыл бұрын
for transpose of matrix ig there is a mistake int j=0(i got required output by this one) and not j=i
@utkarshrai101cartoonwala
@utkarshrai101cartoonwala 2 жыл бұрын
Are yar ham search matrix me jaye to 17 element se bhi to start kar skte hai Akhir big , small no. To vha bhi hai n Jis se ki ham vha bhi traverse kar skte hai apni condition ke according
@sahilsawal
@sahilsawal 3 жыл бұрын
Thank You Ma'am & Sir 😇🙏👍
@starkendeavours7072
@starkendeavours7072 3 жыл бұрын
@22:16 did anybody noticed? He is writing " and " in while loop instead "&&", still his code is running correctly, without any compilation error.😲😲😲 LOL...
@mukulchopra3378
@mukulchopra3378 3 жыл бұрын
i'm also thinking this ,.... how ??
@dhruvnaik5317
@dhruvnaik5317 3 жыл бұрын
Can't make new matrix instead of swaping a =d but with same concept of ij=ji and then d matrix print kar denge
@012_mohdsameer7
@012_mohdsameer7 3 жыл бұрын
i think Kainth Bhaiya is the best teacher for this placement course the last question in this video was done by him i read his name on VS CODE
@pritishpattnaik4674
@pritishpattnaik4674 3 жыл бұрын
give more questions from gfg , hacker rank , etc..
@SeotiSen
@SeotiSen 3 жыл бұрын
Bhai, ye kaun hai🙄 jo 1:40am pei vdo mai dislike marne aya; jake soh jao.
@niladriroy1665
@niladriroy1665 3 жыл бұрын
Vai tu 18 hrs Phle kaise comment kiya? Video premier pe tha kya?
@shaileshhacker
@shaileshhacker 2 жыл бұрын
0:00 - 7:00 Only Lengends know that this voice is Our Shradha Didi
@sourishdutta0999
@sourishdutta0999 2 жыл бұрын
4:20 Transpose #include using namespace std; int main(){ int n; coutn; cout
@manaspandey7243
@manaspandey7243 2 жыл бұрын
Simply cout
@bat_man1138
@bat_man1138 3 жыл бұрын
I knew today that temp is for "temporary" lol man
@mehendisworld2606
@mehendisworld2606 2 жыл бұрын
is there any problem with time complexity? N:B: I am very beginner. i have some confusion in "time complexity". Can you please help me ? #include using namespace std; int main(){ int n; cin>>n; int a[n][n]; for(int i=0; ia[i][j]; } cout
@mohdbilal2
@mohdbilal2 Жыл бұрын
no this one okay but only applicable for square matrix
@sampakhan2879
@sampakhan2879 2 жыл бұрын
A little heads up if ur facing problems with the last code Add a break after found=true
@harshitmehra671
@harshitmehra671 2 жыл бұрын
Ohhhhhhhh swap 🤩 I thought it would be hard to transpose
@vikasmaurya3905
@vikasmaurya3905 3 жыл бұрын
U R ALL AMAZING 😊😊, THANK U SO MUCH.....
@shivammaurya3451
@shivammaurya3451 3 жыл бұрын
Thank you mam and aman bhaiya best explanation best solution 😃❤🖤
@harshvardhanyadav7904
@harshvardhanyadav7904 2 жыл бұрын
i have a doubt in optimized search in notes you have initialized r=0 but c=n-1 but i think it should be m-1 casue m no. of columns are there if n is not equal to m then this will be incorrect kindly correct this.
10. Character Arrays | C++ Placement Course
12:53
Apna College
Рет қаралды 392 М.
11. Pointers in C++ | Guaranteed Placement Course
19:03
Apna College
Рет қаралды 653 М.
отомстил?
00:56
История одного вокалиста
Рет қаралды 6 МЛН
Cute
00:16
Oyuncak Avı
Рет қаралды 11 МЛН
Je peux le faire
00:13
Daniil le Russe
Рет қаралды 22 МЛН
I Quit, last note in the poem, AIIMS DELHI ROYAL LIFE !?
8:29
DR.RASHMI SHARMA
Рет қаралды 266 М.
Bjarne Stroustrup: C++ | Lex Fridman Podcast #48
1:47:13
Lex Fridman
Рет қаралды 1 МЛН
Samapti Mam Ke Live Class me दो Neet Topper’s आ gaye❤️
19:56
9.1 Two Dimensional Arrays | 2D Arrays | C++ Placement Course
21:24
Apna College
Рет қаралды 555 М.
13. Strings in C++  | Guaranteed Placement Course | Lecture 13
23:40
Apna College
Рет қаралды 631 М.
What is the future of Software Engineering in next 5 years?
19:03
Apna College
Рет қаралды 436 М.
How To Think Like A Programmer
1:00:07
Coding Tech
Рет қаралды 2 МЛН