This guy is next level actor he knew prime sieve and still acted like noob giving other approaches.
@dhruvmittal49923 жыл бұрын
Exactly, are these mock interview scripted?
@siddhantpathak20633 жыл бұрын
@@dhruvmittal4992 not sure about other interviews but this one is probably not. The guy who gave interview is having you tube channel and he solves coding problems.
@muktadirkhan66742 жыл бұрын
That's how interviews are supposed to be
@chandrahas05u292 жыл бұрын
@@muktadirkhan6674 Yeah ! Absolutely
@realdaakuu18432 жыл бұрын
Haha 😆, hackerrank mai problem setter hai aur acting aise kar rha jaise uske dimaag mai naye naye approach prakat ho rahe hai. Ek ek algo rata hua hai isko.
@anishsuman13713 жыл бұрын
In sorted for majority of answer exist it will be middle element,now count frequency of that middle element using binary search 0(logn) like first occurence and last occurrence and verify is it greater than n/2and done
@vivektadpatri74133 жыл бұрын
For majority element, without sorting, I presume the interviewer was looking for Boyer Moore voting algorithm
@trevorPhillips2842 жыл бұрын
he gave moores vooting algo i think the interviewer wanted to confuse him with sorting
@iUttamRao2 жыл бұрын
Yeah
@FunnyVideos-yt6sm3 жыл бұрын
This dude is not even thinking 🙂 just talking answers. All my fellow noobs be patient with your grind. We can do this!! Lessgoo
@PIYUSH-lz1zq2 жыл бұрын
Bro , can you suggest some good mock interview videos ??
@gauravkungwani3 жыл бұрын
1st question- this is what i do when i know the solution. 2nd question-- this is what happens when i dont know the solution.
@Rajkumar-sm6bi3 жыл бұрын
Lol
@Sarkar.editsz2 жыл бұрын
Guys , the guy giving interview is from our college , academy of technology , west bengal , proud of you big brother ❤️, you are motivation 🔥for all the juniors
@PIYUSH-lz1zq2 жыл бұрын
Bro , can you suggest some good mock interview videos ??
@jatinnandwani66782 жыл бұрын
Excellent, just excellent.. How well groomed this guy is.. churning out solutions on solutions.. wow This is quite helpful
@shivampandey19782 жыл бұрын
Yeahhh!.. This guy is really next level actor he knew prime sieve and majority element and still acted like noob giving other approaches.
@vinayakhaunsnur1327 Жыл бұрын
Q . Print prime numbers in a range Naive approach : 2 loops TimeC: o(n*n) Best cases : sieve of eratosthenes Time: o(nloglogn)
@rajat25453 жыл бұрын
a great initiative by GFG. please make more such mock interviews
@19csead173 жыл бұрын
Search till half the length of the array.
@AtulMishra1012 жыл бұрын
Try to ask Question before JUMPING into problem : For ex in majority problem(problem number 2 ) : 1 - He could have asked is array sorted or not ? 2 - values in array will be in range (1,N) or not ? 3 - Also after providing some solution and interview is looking for something better - can check with him what are trade offs he i looking for in solution ? Overall can say that good job done here to explain interview experiences. Kudos to GeeksforGeek for sharing this.
@jayeshyadav073 жыл бұрын
As a subscriber of yogesh KZbin channel , Nice 🙂 Interview
@strangesoul313 жыл бұрын
What would be the selection chance if someone can answer 1st and 2nd questions with optimization but can't able to solve 3rd.
@trevorPhillips2842 жыл бұрын
weak chances considering burining tree is a common questions and other candidates would solve that problem.
@PIYUSH-lz1zq2 жыл бұрын
Bro , can you suggest some good mock interview videos ??
@cloud_Engineer3 жыл бұрын
Time complexity will be nlogn first soln
@Anonymous-2-0-1-22 жыл бұрын
OMG , same question in same order asked to me . 🤣🤣
@MohitSharma-rz1uq2 жыл бұрын
Which company?
@PIYUSH-lz1zq2 жыл бұрын
Bro , can you suggest some good mock interview videos ??
@suryanarayanan51582 жыл бұрын
these interviewers are so lazy
@niranjannayak41543 жыл бұрын
It's a good one for aspirants
@PIYUSH-lz1zq2 жыл бұрын
Bro , can you suggest some good mock interview videos ??
@hemantmehra19813 жыл бұрын
Koi... web backend ka telegram share karo..
@rohitkewat1523 жыл бұрын
Piyush sir great
@hiteshusingh85713 жыл бұрын
Very nice interview
@hemantmehra19813 жыл бұрын
Koi dsa ka telegram dedo
@vedantkulkarni5437 Жыл бұрын
35:03 ...bhai sir ne sidhe binary search use karne ko bola he 😂
@faizansaiyed8521 Жыл бұрын
9:00
@abhijitburman12603 жыл бұрын
3rd question I think was a direct question on diameter of a binary tree
@immortal71673 жыл бұрын
no, check if the the 2nd test case if another leaf node was present on the node 8, the burning would still remain same from the node 10. Hope you understand
@vinayakhaunsnur1327 Жыл бұрын
Q how to check wether array contains majority element :Boyer-Moore majority vote algorithm
@JainNamit3 жыл бұрын
Why dont he use boolean ...rather than he is always using int with 0 and 1....strange for me....
@kausachan41673 жыл бұрын
Not everyone are same
@THEkarankaira3 жыл бұрын
uski mazi bro
@kshitij7963 жыл бұрын
more or less the same
@gauravkungwani3 жыл бұрын
in cp it doesnt matter
@Tanm06093 жыл бұрын
Tips for the students aaaaa aaaaa aaaaa can you aaaaaa help them aaaaaaaaa
@greatred25582 жыл бұрын
wah gfg mauj kra di
@arnavsingh7015 Жыл бұрын
Fake af …real interviews are much more nerve cracking…straight away he starts giving solution without even asking single cross questions …striver did an interview which was 100% realistic than this
@ayushthakur28962 жыл бұрын
bhai kya acting kr rha hai yogesh hahaha
@susakshamjain1926 Жыл бұрын
According to me his basics are not good.
@debdutsaha43163 жыл бұрын
I WANT TO GIVE A MOCK INTERVIEW.
@gauravkungwani3 жыл бұрын
give it on "pramp"
@PIYUSH-lz1zq2 жыл бұрын
Bro , can you suggest some good mock interview videos ??