Top 150 interview question series Majority Element Leetcode problem number 169 JAVA interview programming playlist: • Interview Programming ... Git Repo: github.com/Technosagelearning...
Пікірлер: 38
@sriramongrind9 ай бұрын
Sister the way you explaining blows my mind don't stop teaching you are so good !
@manishjeena6325 Жыл бұрын
I appreciate your way of explaining.....thank you❤🙏
@JaiShriiiiRam10 ай бұрын
Thank you so much mam, for such simple and accurate explaination.
@adolfocarrillo2486 ай бұрын
But the algorithm is limited to work only if two different elements appears on the array, for more than 2 different elements it won't work. It's kind of restricted functionality.
@sppatro94776 ай бұрын
Yes so then what's the solution?
@sppatro94776 ай бұрын
If you know then please reply
@AnjaliYadav-qv4sbАй бұрын
it is very useful...thank you
@nazim4525 Жыл бұрын
Awesome 👍👍👍👍 mam
@iam_phani10 ай бұрын
A big shout out to you Mam. You made topics clear, simple and explanations were on point. A big thank you for all your efforts. If time permits, I humbly request you to please continue the 150 interview leetcode problems.
@TechnosageLearning10 ай бұрын
Hey..i will continue the series very soon..stay tuned
@Harshal-dk2kr4 ай бұрын
will there will be only 2 types of elements in the array ... suppose [1,1,2,3,0,1] here it is 4 diffetnet element ...so what will be output for it.. and 2 or 3 will not try to decrese their point instead of against 1 ..
@AbhayKumar-xp3dy5 ай бұрын
Hey these videos are really helping me .... can you please complete these 150 sheets playlist , turn out to best resource for me till now. please🙂🙂
@ahmadfarhadghafoori3369Ай бұрын
This is only works for these two examples. If the the elements of the array getting longer it won't work.
@krutarthpatel73732 ай бұрын
best
@purushothamanr.bemechanica3288 Жыл бұрын
good
@Nonsense6754 ай бұрын
Hi I'm really grateful for this highly self explanatory piece, one point that I am in need of clarification: the input is supposed to be 'non-zero', , is that correct please ?
@umeshkumarmahato52349 ай бұрын
please continue this series
@TechnosageLearning9 ай бұрын
Sure 😊
@himanshupokhariya91254 ай бұрын
[6,5,5] on that test case answer will be would could you tell me why ??
@mayankarora53452 ай бұрын
Mam,given example me '3' ka count 1 ayya h lekin apne ko more than '1'(n/2) chaiye tha , apne ko pta h ki '3' total 2 times h lekin question m kese pta chla ki 3 more than 1(n/2) times h , kioki last m to count '1' hi bachha tha, mtlb usne compare kese kiya length se?
@nazim4525 Жыл бұрын
Please mam you continue solve LEETCODE questions
@TechnosageLearning Жыл бұрын
Hi..Will upload videos very soon..
@nazim4525 Жыл бұрын
@@TechnosageLearning One day your youtube channel will increase a lot of subscribers
@TechnosageLearning Жыл бұрын
Thank you🙏
@mdayazalam313210 ай бұрын
Mam please upload the Leetcode question no 238 Product of Array Except Self
@ujjwaldas230217 күн бұрын
you dint verified the case that majority element should be more the n/2 ????
@Bagulaff Жыл бұрын
Sir muje VMware me job Leni hai to uske liye kya kya karna padega
@sgautam64683 ай бұрын
The solution does not work for different arrays.
@yash_14h9 ай бұрын
Mam why there are only three types of numbers.?? In array 😢
@TechnosageLearning9 ай бұрын
That is only an example..you can take any type of numbers
@GauravRaj-bi9kg20 күн бұрын
why u have stop the series you may complete it all plzzzzzzzzzz
@TechnosageLearning20 күн бұрын
Hi Starting very soon..working on it..Please stay tuned
@GauravRaj-bi9kg20 күн бұрын
@@TechnosageLearning as soon as possible am waiting
@soumyabrajwasi845 Жыл бұрын
it fails when arr is - 3,3,4
@TechnosageLearning Жыл бұрын
No its not failing ..in this case,majority element is 3 and output is also 3..you can try the code from git repo..You might be missing something
@niggaswildin9 ай бұрын
I'm a beginner. After what topics should i learn time and space complexity maam, also i wrote this code and got the answer: class Solution { public int majorityElement(int[] nums) { int n = nums.length; for(int i=0;i