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

  Рет қаралды 332,737

Apna College

Apna College

Күн бұрын

Пікірлер: 590
@nkjha6625
@nkjha6625 4 жыл бұрын
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 Жыл бұрын
She is shardha didi
@sandippaul468
@sandippaul468 3 ай бұрын
My child, these 3 questions itself were actually easy peasy.
@AvinashKumar-rj2zz
@AvinashKumar-rj2zz 4 жыл бұрын
Awaj Pehchan ke chehra bhi yaad aa gaya Off campus in Microsoft 😍
@UnKnown-by6pu
@UnKnown-by6pu 4 жыл бұрын
Konsi video mein ?
@haiderali0801
@haiderali0801 4 жыл бұрын
Exactly brother!!
@shivanshupadhyay7356
@shivanshupadhyay7356 4 жыл бұрын
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 3 жыл бұрын
Absolutely right
@ojasahirrao3287
@ojasahirrao3287 4 жыл бұрын
Instead of swapping, we can directly do- cout
@manashdas5004
@manashdas5004 4 жыл бұрын
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 4 жыл бұрын
@@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
@vaibhavs2740
@vaibhavs2740 Жыл бұрын
The last problem's code would create a infinite loop because r0 would always be satisfied, so the loop will continue indefinitely.
@arushisinha6742
@arushisinha6742 3 жыл бұрын
Great course!! It's unlike other courses on KZbin as you solved many questions.. Thank you for so much effort ☺
@artirani3806
@artirani3806 4 жыл бұрын
Bhaiya ko dher saara pyaar aur apni kaksha team ko bhi😘💖💖😘
@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....
@AyushKumar-zs6gf
@AyushKumar-zs6gf 2 жыл бұрын
Efficient code for Transpose of a matrix - After taking all inputs int col=0; while (col
@karanbisht7441
@karanbisht7441 8 ай бұрын
🎉 nice
@smrtghosh5072
@smrtghosh5072 3 ай бұрын
Bhai tune to whi kiya h ki arr[j][i] ko print krya h, plus yaha matrix bhi change nhi hua h 🥂
@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
@snighdhagupta9911
@snighdhagupta9911 4 жыл бұрын
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 4 жыл бұрын
He's best one according to me
@prakharjalan7546
@prakharjalan7546 4 жыл бұрын
hey i have doubt in that ques can you help me?
@kumarharsh90
@kumarharsh90 4 жыл бұрын
@@prakharjalan7546 what?
@rameshmalhotra9525
@rameshmalhotra9525 2 жыл бұрын
kzbin.info/www/bejne/a3fWepRqgtVmntE
@tejasdubhir6935
@tejasdubhir6935 4 жыл бұрын
Last question bhot badhiya samajh aaya. Un bhaiya ke aur videos lao please!!!!
@abhinandankainth
@abhinandankainth 4 жыл бұрын
Last wala ques toh boht hi bdia padhaya
@shaileshvashisth9973
@shaileshvashisth9973 4 жыл бұрын
bande ki salary toh badni chahiye jis tarike se badhiya samjhaya hai
@ayushgoel8277
@ayushgoel8277 4 жыл бұрын
Ha last question ne to maje dila die ❤️
@_dassi_
@_dassi_ 4 жыл бұрын
Kainthcool
@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.
@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
@deveshshetkar8106
@deveshshetkar8106 3 жыл бұрын
Top class faculties love you all❤️
@UnKnown-id7ih
@UnKnown-id7ih 4 жыл бұрын
Concept cleared and i think bhiya just listen our query about the speed of teaching and he improved is just mind blowing.
@divyanshuarun7129
@divyanshuarun7129 3 жыл бұрын
Last question bahot ache se explained kia hua hai❤️.
@sohamDevRel
@sohamDevRel 4 жыл бұрын
Please increase the frequency of uploading videos. The content is awesome!
@mdateeque3997
@mdateeque3997 4 жыл бұрын
Hitler reacting to IIT-JEE RESULTS:- kzbin.info/www/bejne/e5rSc2aLgJt8iK8
@mdateeque3997
@mdateeque3997 4 жыл бұрын
200 likes and 0 dislikes (all haters are asleep).
@Shadowxgaming_
@Shadowxgaming_ 3 жыл бұрын
bhaiya who is teaching inthis video is way better then all the previous one
@findyourself8806
@findyourself8806 4 жыл бұрын
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
@shreyaschavhan5522
@shreyaschavhan5522 4 жыл бұрын
Matrix Transpose - == 0:10 == - Matrix Multiplication - == 7:01 == - Matrix Search - == 16:31 == -
@abanerjee3704
@abanerjee3704 4 жыл бұрын
The last approach was just mind blowing.
@prakharjalan7546
@prakharjalan7546 4 жыл бұрын
can you help me with the code i've commented
@abanerjee3704
@abanerjee3704 4 жыл бұрын
@@prakharjalan7546 just saw it. See and do reply the problem.
@aryavbhola3066
@aryavbhola3066 2 жыл бұрын
Matrix Search Question and Explaination was a beauty to watch
@vishalkarmakar418
@vishalkarmakar418 3 жыл бұрын
Last mein konse bhaiya ne smjhaya tha jo bhi h bhot mst smjhaya hain maza aagya 🔥🔥🔥
@rajankpandey
@rajankpandey Жыл бұрын
the person at the end has explained really well
@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
@anubhavgoyal2458
@anubhavgoyal2458 4 жыл бұрын
From O(n*2) to O(n) Love the optimization
@thespecuber1319
@thespecuber1319 5 ай бұрын
Not really
@thespecuber1319
@thespecuber1319 5 ай бұрын
Recognise he used a while loop as well
@dabblu
@dabblu 2 жыл бұрын
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
@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_ex_muslim_sahil_yt
@search_ex_muslim_sahil_yt 3 жыл бұрын
@@ayushsarangi4095 cho p
@vritantjain1161
@vritantjain1161 4 жыл бұрын
Transpose wale mein j ko i+1 se start kre to less time lagega aur output bhi desired mil jayega
@forprofessionalusage2
@forprofessionalusage2 4 жыл бұрын
last guy voice is simple and complex xD very good last bhaiya xD
@pragatigupta1159
@pragatigupta1159 2 жыл бұрын
Thankyou so much bhaiya for your valuable time , aap ke sath coding karna bahut simple hojata hai
@pavitragautam2448
@pavitragautam2448 3 жыл бұрын
THANKS FOR THE VIDEO.... AMAZING EXPLAINATION....
@ayushgoel8277
@ayushgoel8277 4 жыл бұрын
Last question wale bhaiya ke lie to mene subscribe kardia hai
@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 ☺️☺️
@Raghav_362
@Raghav_362 4 жыл бұрын
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
@mukulchambial301
@mukulchambial301 3 жыл бұрын
Thanks for this wonderful lecture 🙌🙌
@fitincubicles
@fitincubicles 3 жыл бұрын
You are life saviour for students like me love you Apna College and Aman bhaiya😍
@sharma_atul_06
@sharma_atul_06 6 ай бұрын
last explanation was superb
@priyanshukunwar
@priyanshukunwar 3 жыл бұрын
Masterpiece course 🔥
@rajansingh1919
@rajansingh1919 3 жыл бұрын
top faculties is the world...👌👌👌👌
@arka6302
@arka6302 4 жыл бұрын
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
@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 !!
@kashishshukla23
@kashishshukla23 3 жыл бұрын
that bhaiyaa (matrix search vaale) explains really well... ^_^
@snehilsinha4689
@snehilsinha4689 4 жыл бұрын
Urvi Goel didi, Rishabh Gupta bhaiya, Shraddha Khapra didi,... and the list goes on... 😁😁. Who's next? 🤔
@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
@manavsharma142
@manavsharma142 2 ай бұрын
Last person explained so well
@sahichezz3934
@sahichezz3934 3 жыл бұрын
Give best explainer award to last bhaiya who teach us matrix search we have only one word for explaining beautifully- cout
@yourbestie4138
@yourbestie4138 4 жыл бұрын
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😂😂
@ujjawalmishra858
@ujjawalmishra858 4 жыл бұрын
Thank You so much bhaiya...and whole team #ApnaCollege
@ManishYadav-lg2qr
@ManishYadav-lg2qr 3 жыл бұрын
Shradha Khapra is love. Great Explanation
@akshitsingh5912
@akshitsingh5912 4 жыл бұрын
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
@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.
@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.
@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.
@amalasebastian9968
@amalasebastian9968 3 жыл бұрын
Aare wah... The last guy was lit.. Seriously
@deepanshsharma5970
@deepanshsharma5970 4 жыл бұрын
Thank you bhaiya and all teachers 😍
@aayush6991
@aayush6991 3 ай бұрын
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
@chetanwarrior3338
@chetanwarrior3338 3 жыл бұрын
Thanks bhaiya for explaining so well
@AbhishekKumar-td5zu
@AbhishekKumar-td5zu 4 жыл бұрын
Tqsm bhaiya ♥️♥️
@deep90402
@deep90402 4 жыл бұрын
Nice video , plz try to share videos daily.
@Roshansingh-yq9vb
@Roshansingh-yq9vb 3 жыл бұрын
explanation was greattt
@sahilsawal
@sahilsawal 4 жыл бұрын
Thank You Ma'am & Sir 😇🙏👍
@nikhilmehra613
@nikhilmehra613 4 жыл бұрын
Ek exact time pr video daala kro plz.But thanks for that content ❤️
@piyushverma415
@piyushverma415 4 жыл бұрын
first ques can be solved using a single while loop to decrease its time complexity...
@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
@pradnyamore7774
@pradnyamore7774 3 жыл бұрын
Excellent explanation mam🧡
@solvinglife6658
@solvinglife6658 2 жыл бұрын
transpose wale me direct a [j][i] se karna better option hoga
@travelJS
@travelJS 4 жыл бұрын
bhai full samaj mai agaya
@vscreation2184
@vscreation2184 2 жыл бұрын
How he used and in while loop generally we && for checking conditions actually this works in python
@tarunakantakumbhar5725
@tarunakantakumbhar5725 3 жыл бұрын
Maja aageya ,thanks 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
@akashthoriya
@akashthoriya 4 жыл бұрын
Great efforts, thank you
@harshitmehra671
@harshitmehra671 2 жыл бұрын
Ohhhhhhhh swap 🤩 I thought it would be hard to transpose
@lifeoeshita
@lifeoeshita 4 жыл бұрын
Bhaiya ak telegram group bana do na. Jis par hum sab doubts puch sake. If you also want then hit like
@aditisharma842
@aditisharma842 3 жыл бұрын
Just print a[j][i] to get transpose no need of swap operation
@rankitgujjar80
@rankitgujjar80 3 жыл бұрын
in the first question just exchange i and j , you will get the transpose
@shivammaurya3451
@shivammaurya3451 4 жыл бұрын
Thank you mam and aman bhaiya best explanation best solution 😃❤🖤
@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!
@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
@bat_man1138
@bat_man1138 3 жыл бұрын
I knew today that temp is for "temporary" lol man
@nikhilguleria4313
@nikhilguleria4313 3 жыл бұрын
Wahoo mja aa gya 👏
@sourishdutta0999
@sourishdutta0999 2 жыл бұрын
4:20 Transpose #include using namespace std; int main(){ int n; coutn; cout
@manaspandey7243
@manaspandey7243 2 жыл бұрын
Simply cout
@syedmizbahuddin9390
@syedmizbahuddin9390 4 жыл бұрын
Sir, What is the time complexity of second algorithm of matrix search problem...?? Is it O(m+n) ...?
@abhinandankainth
@abhinandankainth 4 жыл бұрын
Yes
@mostviewedreels872
@mostviewedreels872 4 жыл бұрын
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
@sunilj3553
@sunilj3553 4 жыл бұрын
Webdevlopment ki classes kab se start hogi ?
@shivamchaturvedi4336
@shivamchaturvedi4336 4 жыл бұрын
lgta h agla google tu hi bnayega
@eshaaislive5741
@eshaaislive5741 3 жыл бұрын
@@shivamchaturvedi4336Nice Joke... 🤣🤣
@joyboy00008
@joyboy00008 4 жыл бұрын
Such a great explanation
@yashwasalwar1031
@yashwasalwar1031 4 жыл бұрын
when will we study stl sort? As per course index it was before 2D arrays
@pranshul..
@pranshul.. 3 жыл бұрын
Iss video mei to apni kaksha wale bhaiya ka bhi samjh aaya kisi ne kaha nahi 😁😅😅😜
@yashsinha6059
@yashsinha6059 4 жыл бұрын
Aaj mera der tk jaagna safal hogaya 😂😂😂😂
@mdateeque3997
@mdateeque3997 4 жыл бұрын
Hitler reacting to IIT-JEE RESULTS:- kzbin.info/www/bejne/e5rSc2aLgJt8iK8
@upamadutta5741
@upamadutta5741 4 жыл бұрын
haa 😂😂😂mai sochi thi aj nai ayegi video
@mdateeque3997
@mdateeque3997 4 жыл бұрын
200 likes and 0 dislikes (all haters are asleep).
@yashsinha6059
@yashsinha6059 4 жыл бұрын
@@upamadutta5741 mujhe bhi yhi lga tha😅😅
@vikasmaurya3905
@vikasmaurya3905 4 жыл бұрын
U R ALL AMAZING 😊😊, THANK U SO MUCH.....
@pritishpattnaik4674
@pritishpattnaik4674 4 жыл бұрын
give more questions from gfg , hacker rank , etc..
@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 ??
@himanshuprem600
@himanshuprem600 3 жыл бұрын
thank you....
@harjassingh8588
@harjassingh8588 3 жыл бұрын
One more approach to the last question- If we traverse along the diagonal from top left to bottom right(because that is also increasing because of the condition)and the element we are searching becomes smaller than the element that we are currently traversing through, then we can linear search it along the current element's row or column.
@onkarnagarkar4693
@onkarnagarkar4693 3 жыл бұрын
try finding target=3 in the below array with the same logic 1 2 3 4 5 6 7 8 9
@hustlewithVaibhav
@hustlewithVaibhav 3 жыл бұрын
Notes are awesome 🙏
@WHOmegalul
@WHOmegalul 4 жыл бұрын
Thanks bhaiya for everything.
@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
@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
10. Character Arrays | C++ Placement Course
12:53
Apna College
Рет қаралды 396 М.
9.1 Two Dimensional Arrays | 2D Arrays | C++ Placement Course
21:24
Apna College
Рет қаралды 564 М.
Try Not To Laugh 😅 the Best of BoxtoxTv 👌
00:18
boxtoxtv
Рет қаралды 7 МЛН
БУ, ИСПУГАЛСЯ?? #shorts
00:22
Паша Осадчий
Рет қаралды 2,1 МЛН
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 81 МЛН
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24
11. Pointers in C++ | Guaranteed Placement Course
19:03
Apna College
Рет қаралды 669 М.
14.2 BIT Manipulation Challenges | C++ Placement Course
15:30
Apna College
Рет қаралды 240 М.
2nd year student cracks Paypal | Off-Campus selection | + PPI
31:29
Apna College
Рет қаралды 191 М.
8.5 Arrays - Q's asked by Top MNC's | C++ Placement Course
23:51
Apna College
Рет қаралды 590 М.
If I Wanted a Software Engineering Placement in 2025, I’d Do This
17:51
13.2 Strings Challenges | C++ Placement Course
11:52
Apna College
Рет қаралды 323 М.
Try Not To Laugh 😅 the Best of BoxtoxTv 👌
00:18
boxtoxtv
Рет қаралды 7 МЛН