Common Elements of a Matrix | Geeks for Geeks | Hindi | Problem Solving | FAANG | Shashwat
Вставка
- Опубліковано 16 жов 2024
- Java Plus DSA Complete Placement Course:
• Java and DSA Course Pl...
Problem Statement:
Given an m x n matrix, find all common elements present in all rows in O(mn) time and one traversal of matrix.
Problem Link:
www.geeksforge...
Solution Snippet:
github.com/Tiw...
Company Tags:
Facebook | Amazon | Microsoft | Netflix | Google | LinkedIn | Pega Systems | VMware | Adobe
Instagram Handle: (@shashwat_tiwari_st)
shashwattiwari...
#ShashwatTiwari #coding #problemsolving #leetcode #hackerrank #hackerearth #codechef #codesignal #algorithms #javaprogramming #sde #placement #programming
This is a very old video, for better sound and camera quality DSA videos, learn from the below playlist!
Java Plus DSA ( Java + DSA + Problem Solving )
ua-cam.com/play/PLQ7ZAf76c0ZPVdhV1bAjFv0bQc1xHURzE.html
katai jeher ekdam maja aa gaya bhai itna acha explain kiye ho ki kya hi bole Thanks
Thank you bhaiya
Underrated
Whenever I stuck at any problem I directly jump to your videos.....Really it's a very good way of explaining the things.....continue this
😁Thank you
Your videos ensure the best solution and explanation. No need to watch other solutions!
But sir, i always end up watching the solution as i am unable to solve the DSA problems by my own.. Is it normal?
Thanks 😃, yeah don't worry it's very normal. Coding is something which will require a lot of practice, you just have to keep practicing. Best of luck ✌
@@shashwat_tiwari_st Glad to have a reply! Your channel is damn underrated, but don't stop making videos, one day the UA-cam algorithm may realise how much you deserve! Thankful❤
@@manavmody4959 thankyou brother
Same here bro 😊
@@shashwat_tiwari_st thank you sir 😎
You are such a great man
Keep it up 😎😎😎😎
Thanks brother 😇😇
you have used the same approach that is written in gfg problem solution?
How to sort the output in ascending order ji 🙂 Thanks in advance. Please reply me.
Please make a video on "find a specific pair on matrix" it is given on gfg as hard problem
start at 0:47
NICE SOLUTION BRO,KEEP UP THE GOOD WORK
great content broooo....keeep it up buddy😉💯💯💯💯
Thanks 💯
but bro some interviewers will not allow u to use map.is it true?
yes
Sir pls make vidio on
Rotate Matrix by 90 degrees with clockwise of anticlockwise
Pls sir make it fastly 😊😊
Already made on this.
See here.
ua-cam.com/video/vMXoMRGsjvg/v-deo.html
Don't know why youtube is not showing some of my videos.🥲
@@shashwat_tiwari_st thank you so much sir 😊😊
Hi, it's a very nice solution you have provided but your logic is not working for inputs such as 1 2 1 2 , 2 2 2 1 , 2 1 2 2, 2 1 1 1
Time complexity nhi bataya aapne
sir if I want to solve without data structure how to do plz make videos
Okay, I will share a self explanatory code with you.
Ok
@@pushkarsharma5447 github.com/Tiwarishashwat/InterviewCodes/blob/main/CommonMatrixElements.java see the 2nd code, it is without data structure. The approach is similar to the one discussed in the video.
Thanks bhaiya
Code in c
#include
int seen(int array[],int element,int end)
{
for(int i=0;i
Bhai actually I am mtech datascience iit g student I am from mechanical branch in btech so If u can share something thru which I can clear my doubt from u
Thanks in advance