Transpose of Matrix | @GeeksforGeeks | Competitive Programming for Beginners |

  Рет қаралды 26,066

Hello World

Hello World

Күн бұрын

In this video, I am going to discuss the sum of Transpose of Matrix in Multidimensional Arrays in C++ with all the basic concepts and theories.
We also Provide courses on Competitive Programming and Data structure and Algorithms. Please see our Full Playlist on our Channel.
----------------------------------------------------------------------------------------
Transpose of Matrix: practice.geeks...
Pdf of This Video: github.com/Pri...
----------------------------------------------------------------------------------------
*Follow me *
LinkedIn► / iamprince
Facebook► / helloworldofficials
Instagram► / helloworldbyprince
Twitter► / prince_king_
----------------------------------------------------------------------------------------
►Our Playlists on:-
►Competitive Programming: • How to start Competiti...
►C++ Full Course : • L-01 || Introduction a...
►Algorithms: • L-01 || Prefix Sum Arr...
►Data Structure: • Data Structures with C...
------------------------------------------------------------------------
#matrix #geeksforgeeks #programming

Пікірлер: 108
@dipeshsingh2112
@dipeshsingh2112 Жыл бұрын
yes sir actually i don't know why I was facing issues in matrix it was very easy on pen and paper but if we talk about programming it is hard as rock. I thought I am lagging in basics then my friend suggested your channel and your work is actually nice and honest .
@ankitpandey-pg1yn
@ankitpandey-pg1yn 3 жыл бұрын
This channel is underrated. But the explaination level is 1000
@HelloWorldbyprince
@HelloWorldbyprince 3 жыл бұрын
Thanks for your support ❤️ Kindly share my channel with your friends
@GAURAV-cy4hh
@GAURAV-cy4hh Жыл бұрын
Solved the previous video assignment question and transpose of Matrix too.
@yet_trying
@yet_trying 11 ай бұрын
The explanation was crisp and clear... loved it!! Aur sawal ban gaya finally
@HelloWorldbyprince
@HelloWorldbyprince 11 ай бұрын
Thanks a lot
@bhupeshpattanaik7150
@bhupeshpattanaik7150 3 жыл бұрын
I knew I more method, but your method is MUCH MUCH BETTER 🔥🔥😍
@chetankumar1487
@chetankumar1487 3 жыл бұрын
bhai you have done very well in lifting my level in programming aur general and conceptual level ka video bhut aa gya h...ab kch vast level ka hona chahiye....jaise dynamic,greedy,game theory, bit manupulation
@tanya7463
@tanya7463 Жыл бұрын
Very well and explained in simplified way
@shashank3374
@shashank3374 Жыл бұрын
Your explanation slides are just amazing please explain every concept using this way 🙏🙏❤️❤️
@asparshraj9016
@asparshraj9016 9 ай бұрын
My python solution for transpose of matrix question: for i in range(len(a)): for j in range(i+1): a[i][j], a[j][i] = a[j][i], a[i][j]
@asparshraj9016
@asparshraj9016 9 ай бұрын
My python solution for the homework question: for i in range(len(a)): if i%2 == 0: for j in range(len(a[0])): print(a[i][j]) else: for j in range(len(a[0])-1,-1,-1): print(a[i][j])
@Prashant_2_1_0
@Prashant_2_1_0 Жыл бұрын
Bhaiya Aap bahut hi Acchha Samjhaate ho. ❤❤
@prikshit_sharma4071
@prikshit_sharma4071 9 ай бұрын
thank you bhaiya mujhe 2d array jara bi smaj ni aata tha. ab questions banne lg gye hai 😄
@maheshparmar7570
@maheshparmar7570 2 жыл бұрын
I understood the whole concept behind the question thanks bro for clear explanation
@HelloWorldbyprince
@HelloWorldbyprince 2 жыл бұрын
Always welcome
@funcode-tw3cg
@funcode-tw3cg Жыл бұрын
thankyou for explanation sir !
@tbmsahil8850
@tbmsahil8850 Жыл бұрын
bhai plz make a playlist on recursion and strings 🙏🙏🙏
@ishanrai3951
@ishanrai3951 3 жыл бұрын
2:42 I'm sorry to say this but you're wrong there is a transpose even for non-square matrix(rectangular matrix) for example if A is a matrix with single row and 3 columns then it's transpose will have 3 rows and 1 columns.
@CodingSkillsOfficial
@CodingSkillsOfficial 2 жыл бұрын
Hello friends I created a video.. Transpose of matrix so you please watch this video kzbin.info/www/bejne/pXmxm5SQmLSjkNU
@_S_AmitPandey
@_S_AmitPandey 2 жыл бұрын
yesss
@abhigyansharma9108
@abhigyansharma9108 3 жыл бұрын
Bhai apni mehnat krte rho aapke smile se hi aadha sawaal hojata hai
@HelloWorldbyprince
@HelloWorldbyprince 3 жыл бұрын
so sweet always buddy
@kaif2560
@kaif2560 2 ай бұрын
Bhaiya bht bht thanks pura concept acha se clear ho gya
@HelloWorldbyprince
@HelloWorldbyprince 2 ай бұрын
Thanks buddy
@bhupeshpattanaik7150
@bhupeshpattanaik7150 3 жыл бұрын
Yeh question acha ha 😁👌
@RaviShankarMahto-cz5nl
@RaviShankarMahto-cz5nl 2 жыл бұрын
nicely explain thank you sir
@HelloWorldbyprince
@HelloWorldbyprince 2 жыл бұрын
Thanks buddy keep learning Please, share this channel in your college, groups, or LinkedIn bcoz it's cost nothing to you 😀
@yaseerhussain_
@yaseerhussain_ 3 жыл бұрын
Great method
@HelloWorldbyprince
@HelloWorldbyprince 3 жыл бұрын
Thanks for your moral support ❤️
@devansh6772
@devansh6772 2 жыл бұрын
sir thanks . your way of explaining is very nice. and aapke videos ki quality bhi bhot achi h
@HelloWorldbyprince
@HelloWorldbyprince 2 жыл бұрын
Thanks and welcome
@vrushabhzade8468
@vrushabhzade8468 2 жыл бұрын
very good exeplination bro
@HelloWorldbyprince
@HelloWorldbyprince 2 жыл бұрын
Thank you for your support
@mohdhammadsiddiqui7598
@mohdhammadsiddiqui7598 2 жыл бұрын
Thanx sir , it was very helpful i was stucked on this question on leetcode , every time same matrix was coming when i transpose.
@HelloWorldbyprince
@HelloWorldbyprince 2 жыл бұрын
Excellent
@CodeGenius123
@CodeGenius123 Жыл бұрын
void Transpose(int arr[3][3]) { //first loop for colums for (int i = 0; i < 3; i++) { for (int j = 0; j < 3; j++) { cout
@shashank3374
@shashank3374 Жыл бұрын
It works only if row = col.
@abhisekbose1221
@abhisekbose1221 2 жыл бұрын
Thanks bhaiya.. i stuck at the problem for 3 hours. Now i totally understand the concept.
@HelloWorldbyprince
@HelloWorldbyprince 2 жыл бұрын
Happy to help Please, share this channel in your college, groups, or LinkedIn bcoz it's cost nothing to you 😀
@rohitkoshta3798
@rohitkoshta3798 Жыл бұрын
bhaiya snake pattern par ek separate video banao
@asthavarshney4893
@asthavarshney4893 2 жыл бұрын
I got the time taken less than prince bhaiya(=0.08s) I used a single loop CODE: int i=0,j=0,len=0; while(i=n) { i++; len++; j=len; } }
@devansh6772
@devansh6772 2 жыл бұрын
actually its the same thing lol, but yeah it kinda confused me for a second use swap btw
@rahulkarmakar8067
@rahulkarmakar8067 Жыл бұрын
class Solution: def transpose(self, matrix, n): for i in range(1,n): for j in range(0,i): matrix[i][j],matrix[j][i]=matrix[j][i],matrix[i][j]
@KuldeepSahu-sq3cq
@KuldeepSahu-sq3cq 3 жыл бұрын
please make video on determinant of matrix.
@HelloWorldbyprince
@HelloWorldbyprince 3 жыл бұрын
Yeah sure
@CodingSkillsOfficial
@CodingSkillsOfficial 2 жыл бұрын
Hello friends I created a video.. Transpose of matrix so you please watch this video kzbin.info/www/bejne/pXmxm5SQmLSjkNU
@SharvanKumar-ui1kw
@SharvanKumar-ui1kw 3 жыл бұрын
I'm already solved this q prince bhaia
@SharvanKumar-ui1kw
@SharvanKumar-ui1kw 3 жыл бұрын
Make some basic video on graph
@mdnehal2389
@mdnehal2389 3 жыл бұрын
i solve this question thanks for clear the concept ..
@CodingSkillsOfficial
@CodingSkillsOfficial 2 жыл бұрын
Hello friends I created a video.. Transpose of matrix so you please watch this video kzbin.info/www/bejne/pXmxm5SQmLSjkNU
@SharvanKumar-ui1kw
@SharvanKumar-ui1kw 3 жыл бұрын
Make a video on class data type
@HelloWorldbyprince
@HelloWorldbyprince 3 жыл бұрын
Yeah sure 😊
@sarthak7839
@sarthak7839 2 жыл бұрын
what is the time complexity of this approach i am not able to understand it is it O(n2) ?
@HelloWorldbyprince
@HelloWorldbyprince 2 жыл бұрын
because it is 2D matrix
@shubham7668
@shubham7668 2 жыл бұрын
Maaaan you are so underrated
@HelloWorldbyprince
@HelloWorldbyprince 2 жыл бұрын
Thanks a ton mere aur v playlist hai wo v dekhna aap
@gaziehsanulhaque190
@gaziehsanulhaque190 5 ай бұрын
you are amazing
@singh.sawan_
@singh.sawan_ 3 жыл бұрын
Where is playlist of Matrix Series??
@HelloWorldbyprince
@HelloWorldbyprince 3 жыл бұрын
Matrix (Multidimensional Array) Complete guide For Interviews DSA: kzbin.info/aero/PLzjZaW71kMwRff0CCcrB93srEiQhJoOzg
@ABHISHEKKUMAR-wc9ke
@ABHISHEKKUMAR-wc9ke 3 жыл бұрын
ho gya bhaiya
@HelloWorldbyprince
@HelloWorldbyprince 3 жыл бұрын
Waoo nice 👍
@ashishsketch
@ashishsketch 3 жыл бұрын
Graph data structure kab padaoge?
@HelloWorldbyprince
@HelloWorldbyprince 3 жыл бұрын
It will take some time 😌 Ashish Till now, I suggest you, if you didn't watch it then : Data Structure & Algorithms For Beginners by Hello World: kzbin.info/aero/PLzjZaW71kMwQ-JABTOTypnpRk1BnD2Nx4
@ashishsketch
@ashishsketch 3 жыл бұрын
@@HelloWorldbyprince thank you Reply and I m watching your playlist. U r doing great job.
@PushpitKamboj
@PushpitKamboj 4 ай бұрын
hogya tha bhaiya
@udayjordan4262
@udayjordan4262 2 жыл бұрын
its only possible for square matrix but what about rectangular matrix see the code below
@HelloWorldbyprince
@HelloWorldbyprince 2 жыл бұрын
transpose sirf square matrix me hi hota hai
@only_for_fun1234r
@only_for_fun1234r Жыл бұрын
​@@HelloWorldbyprince in letcode the same question for 2*3 matrix and for rectangular matrix also
@technicalshyab5509
@technicalshyab5509 3 жыл бұрын
Sir swap predefined method hai kya matrix me jo call kiye ho aap
@HelloWorldbyprince
@HelloWorldbyprince 3 жыл бұрын
Yess ...swap is inbuilt function in header file
@technicalshyab5509
@technicalshyab5509 3 жыл бұрын
@@HelloWorldbyprince ok sir tq sir apka whatsapp number milega Sir apse bat karna hai toda doubt hi programming se related
@HelloWorldbyprince
@HelloWorldbyprince 3 жыл бұрын
Instagram pe baat karlo aap ... Better rahega My Instagram is: helloworldbyprince
@technicalshyab5509
@technicalshyab5509 3 жыл бұрын
@@HelloWorldbyprince ok sir
@midicine2114
@midicine2114 Жыл бұрын
Why comments and title in english but video is not?
@ishantsethi1
@ishantsethi1 3 жыл бұрын
so, its taking time complexity of O(n^2) in it, is there any way we can transpose it in less than this complexity?
@sunnydewangan2212
@sunnydewangan2212 2 жыл бұрын
not possible, traversing 2d array always requires O(N^2) steps.
@devbhattacharya153
@devbhattacharya153 2 жыл бұрын
Thanks a lot bhaiya :)
@HelloWorldbyprince
@HelloWorldbyprince 2 жыл бұрын
Please, share this channel in your college, groups, or LinkedIn bcoz it's cost nothing to you 😀
@UnKnown-id7ih
@UnKnown-id7ih 2 жыл бұрын
kr liya bhiya pichla wala homework.
@HelloWorldbyprince
@HelloWorldbyprince 2 жыл бұрын
nice
@KARANKUMAR-vp3nq
@KARANKUMAR-vp3nq Жыл бұрын
yes i did
@krushnathakkar1626
@krushnathakkar1626 Жыл бұрын
I did it
@shubhamgautam8593
@shubhamgautam8593 3 жыл бұрын
bhaiya ho ja rhe hai sare..questions
@chinubunny9974
@chinubunny9974 9 ай бұрын
3/9☑ my solution 👇 class Solution { public: //Function to find transpose of a matrix. void transpose(vector& matrix, int n) { // code here vectortemp(n,vector(n,0)); for(int i=0;i
@RadheKrishna-n1z
@RadheKrishna-n1z 8 ай бұрын
Bhai jo bio se ho woh jaise meri tarah 😂😅
@snehildwivedi6141
@snehildwivedi6141 Жыл бұрын
2:29 se solution start hai
@HelloWorldbyprince
@HelloWorldbyprince Жыл бұрын
☺️
@technicalshyab5509
@technicalshyab5509 3 жыл бұрын
Sir code uper se gaya
@AnchityaKumarB22BB009
@AnchityaKumarB22BB009 3 ай бұрын
Hogya
@HelloWorldbyprince
@HelloWorldbyprince 3 ай бұрын
Niceee
@Lalitadevi-yp8gi
@Lalitadevi-yp8gi 2 жыл бұрын
Aur yaha raat ke 12 baj rahe hai aur yaha video dekha ja raha hai
@HelloWorldbyprince
@HelloWorldbyprince 2 жыл бұрын
Aur yaha raat ke 10 baje comment ka reply Diya jaa raha hai 😅😅
@adityakauthkar9701
@adityakauthkar9701 16 күн бұрын
this only works for square matrix . Bro is totally wrong
@navyamogha9062
@navyamogha9062 Жыл бұрын
is it only me who thinks that he looks like Mr Beast 😂
@HelloWorldbyprince
@HelloWorldbyprince Жыл бұрын
😂, nope lots of them told me this earlier
@navyamogha9062
@navyamogha9062 Жыл бұрын
😂😂
@bhanushr
@bhanushr 3 жыл бұрын
matrix maths mein sabse boaring topic tha..ye kun kisi ko accha lagega
@HelloWorldbyprince
@HelloWorldbyprince 3 жыл бұрын
😁
@chetankumar1487
@chetankumar1487 3 жыл бұрын
bhai mjhe ye dar lgta h ki iss channel pe view nhi aa rha h....khi ye banda video dalna band kr na de
@HelloWorldbyprince
@HelloWorldbyprince 3 жыл бұрын
Ye darr to mujhe v hai 😂😂 Please promote my channel with your friends and cross college friends ❤️
@chetankumar1487
@chetankumar1487 3 жыл бұрын
@@HelloWorldbyprince bhai mai apne sare group me daal diya hun 1 saal phle hi.... dynamic ka v video shuru kr do bhai
@HelloWorldbyprince
@HelloWorldbyprince 3 жыл бұрын
Sure brother
@sumanpramanik4862
@sumanpramanik4862 3 жыл бұрын
marathi thamba
@HelloWorldbyprince
@HelloWorldbyprince 3 жыл бұрын
Yeah 😂😂
Transpose of Matrix in Java
8:09
CS CORNER Sunita Rai
Рет қаралды 21 М.
Зу-зу Күлпаш 2. Бригадир.
43:03
ASTANATV Movie
Рет қаралды 729 М.
Миллионер | 1 - серия
34:31
Million Show
Рет қаралды 2,8 МЛН
Who’s the Real Dad Doll Squid? Can You Guess in 60 Seconds? | Roblox 3D
00:34
Transpose Matrix - Leetcode 867 - Python
6:11
NeetCodeIO
Рет қаралды 12 М.
Rotate Matrix/Image by 90 Degrees | Brute - Optimal
17:47
take U forward
Рет қаралды 231 М.
Viral Video of a Man's Crazy Job Interview
16:02
Darryl Vega TV
Рет қаралды 1,3 МЛН
Spiral Traversal of a Matrix | Spiral Matrix
16:33
take U forward
Рет қаралды 222 М.
The Black Box Method: How to Learn Hard Concepts Quickly
14:09
Colin Galen
Рет қаралды 1,1 МЛН
13. Transpose of Sparse Matrix
23:54
Dr. Samaleswari Prasad Nayak
Рет қаралды 14 М.
Зу-зу Күлпаш 2. Бригадир.
43:03
ASTANATV Movie
Рет қаралды 729 М.