No video

Interchanging The Rows of a Matrix | @GeeksforGeeks | Competitive Programming for Beginners

  Рет қаралды 7,668

Hello World

Hello World

Күн бұрын

In this video, I am going to discuss or solve Interchanging The Rows of a Matrix. I showed step by step process with Theory and code.
Given a matrix of dimensions n1 x m1. Interchange its rows in-place such that the first row will become the last row and so on.
We also Provide courses on Competitive Programming and Data structure and Algorithms. Please see our Full Playlist on our Channel.
----------------------------------------------------------------------------------------
Homework: practice.geeks...
Interchanging The Rows of a Matrix: practice.geeks...
Pdf of Interchanging The Rows of a Matrix: github.com/Pri...
Code of Interchanging The Rows of a Matrix: 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

Пікірлер: 33
@akhilmehta8248
@akhilmehta8248 3 жыл бұрын
Please keep updating the LEETCODE playlist as well, specifically array related questions. 2-3 questions per week will be good for us. Looking forward to more of these.
@indianindian6001
@indianindian6001 3 жыл бұрын
You can motivate us in youtube shorts... U really do it well
@akhilmehta8248
@akhilmehta8248 3 жыл бұрын
Completed the question - Matrix Interchange. So simple after watching your series.
@masumali8356
@masumali8356 Жыл бұрын
Inspirational+ facts+ important coding points + placement related things etc...masum.
@vivekjaiswal4391
@vivekjaiswal4391 Жыл бұрын
Inspirational+ facts+ important coding points + placement related things etc
@HelloWorldbyprince
@HelloWorldbyprince Жыл бұрын
amazing points ✅
@BeingUnplugged
@BeingUnplugged 3 жыл бұрын
Problem Statement: 1. Implement the following function: def MaxReminder(n, m): The function accepts two integers “n” and “m” as its argument. Implement the function to find and return the maximum reminders obtained by dividing n by all numbers starting from 1 up to m (both inclusive). Assumption: m>=1 and n>=0 Note: Return -1, if n=0 Can you please explain this types of competitive problems ??? if possible thank you love from Tripura
@HelloWorldbyprince
@HelloWorldbyprince 3 жыл бұрын
Yeah sure 😊
@cr7johnChan
@cr7johnChan 2 жыл бұрын
//M don't have access to the problem but //Complexity O(row size) int i=0,j=row-1; while(i
@HelloWorldbyprince
@HelloWorldbyprince 2 жыл бұрын
You are doing great 👍
@manojgollapelli9856
@manojgollapelli9856 Жыл бұрын
I was able to solve this type of questions!! without any help.. Thank you prince sir
@HelloWorldbyprince
@HelloWorldbyprince Жыл бұрын
Great 👍 Please, share this channel in your college, groups, or LinkedIn bcoz it's cost nothing to you 😀
@raghavagrawal6263
@raghavagrawal6263 2 жыл бұрын
completed the question. This we have already done in rotate by 90
@Iconoclast601
@Iconoclast601 3 жыл бұрын
algorithm represntation in shorts will be the best thing, like pictorial representation of algorithm how they are working.
@BooksBelievers09
@BooksBelievers09 3 жыл бұрын
bhaiya aap bhut axa padate ho thank you so much doing great work
@HelloWorldbyprince
@HelloWorldbyprince 2 жыл бұрын
It's my pleasure
@someshkumargupta4304
@someshkumargupta4304 3 жыл бұрын
void interchangeRows(vector &matrix) { // code here int top = 0; int k = matrix.size(); int bottom = k - 1; while(top
@vivekjaiswal4391
@vivekjaiswal4391 Жыл бұрын
Awesome
@HelloWorldbyprince
@HelloWorldbyprince Жыл бұрын
Please, share this channel in your college, groups, or LinkedIn bcoz it's cost nothing to you 😀
@GauravKumar-ux1os
@GauravKumar-ux1os 3 жыл бұрын
How to make magic matrix ?plz make a video on this.
@tilakdatla1715
@tilakdatla1715 9 ай бұрын
update the link of the questions in discription . some questions link is not opening on greeks for greeks.thank u
@HelloWorldbyprince
@HelloWorldbyprince 9 ай бұрын
Ohh sure i will do that
@harshitgarg596
@harshitgarg596 3 жыл бұрын
My python code didnt worked for HW problrm def interchange(self,matrix,r,c): for i in range(r): matrix[i][0],matrix[i][-1]=matrix[i][-1],matrix[i][0] print(matrix[i])
@anshullawankar7681
@anshullawankar7681 Жыл бұрын
Links for both questions(homework & in this video) have expired.
@_sanskriti903
@_sanskriti903 Жыл бұрын
Yess
@RAHULSHARMA-dl1jc
@RAHULSHARMA-dl1jc 3 жыл бұрын
Bhaiya can we use three loops in this code??
@piyushpathak7311
@piyushpathak7311 3 жыл бұрын
Sir plz upload more problems..
@intromaker400
@intromaker400 7 ай бұрын
Bhaiya also given the code in java
@UnKnown-id7ih
@UnKnown-id7ih 2 жыл бұрын
homework kr liya bhiya
@HelloWorldbyprince
@HelloWorldbyprince 2 жыл бұрын
Amazing 🤩
He bought this so I can drive too🥹😭 #tiktok #elsarca
00:22
Elsa Arca
Рет қаралды 43 МЛН
Just Give me my Money!
00:18
GL Show Russian
Рет қаралды 990 М.
WILL IT BURST?
00:31
Natan por Aí
Рет қаралды 40 МЛН
Google Coding Interview With A High School Student
57:24
Clément Mihailescu
Рет қаралды 4,1 МЛН
Acing Google Coding Interview as an 18 year old High School Student
48:57
C_58 Program to print Sum of individual Rows and Columns of a Matrix | C Programming
16:40
He bought this so I can drive too🥹😭 #tiktok #elsarca
00:22
Elsa Arca
Рет қаралды 43 МЛН