Live Mock Interview | Technical Round - Product Based Companies

Поделиться
HTML-код
  • Опубликовано: 8 ноя 2024

Комментарии • 61

  • @siddhantpathak2063
    @siddhantpathak2063 3 года назад +153

    This guy is next level actor he knew prime sieve and still acted like noob giving other approaches.

    • @dhruvmittal4992
      @dhruvmittal4992 3 года назад +14

      Exactly, are these mock interview scripted?

    • @siddhantpathak2063
      @siddhantpathak2063 3 года назад +13

      @@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.

    • @muktadirkhan6674
      @muktadirkhan6674 2 года назад +14

      That's how interviews are supposed to be

    • @chandrahas05u29
      @chandrahas05u29 2 года назад +1

      @@muktadirkhan6674 Yeah ! Absolutely

    • @realdaakuu1843
      @realdaakuu1843 2 года назад +1

      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.

  • @anishsuman1371
    @anishsuman1371 3 года назад +13

    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

  • @Sarkar.editsz
    @Sarkar.editsz 2 года назад +13

    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-lz1zq
      @PIYUSH-lz1zq 2 года назад

      Bro , can you suggest some good mock interview videos ??

  • @FunnyVideos-yt6sm
    @FunnyVideos-yt6sm 3 года назад +20

    This dude is not even thinking 🙂 just talking answers. All my fellow noobs be patient with your grind. We can do this!! Lessgoo

    • @PIYUSH-lz1zq
      @PIYUSH-lz1zq 2 года назад +2

      Bro , can you suggest some good mock interview videos ??

  • @vivektadpatri7413
    @vivektadpatri7413 3 года назад +54

    For majority element, without sorting, I presume the interviewer was looking for Boyer Moore voting algorithm

    • @trevorPhillips284
      @trevorPhillips284 2 года назад +3

      he gave moores vooting algo i think the interviewer wanted to confuse him with sorting

    • @iUttamRao
      @iUttamRao 2 года назад

      Yeah

  • @gauravkungwani
    @gauravkungwani 3 года назад +30

    1st question- this is what i do when i know the solution.
    2nd question-- this is what happens when i dont know the solution.

  • @AtulMishra101
    @AtulMishra101 2 года назад +7

    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.

  • @vinayakhaunsnur1327
    @vinayakhaunsnur1327 Год назад

    Q . Print prime numbers in a range
    Naive approach : 2 loops
    TimeC: o(n*n)
    Best cases : sieve of eratosthenes
    Time: o(nloglogn)

  • @jatinnandwani6678
    @jatinnandwani6678 2 года назад +3

    Excellent, just excellent.. How well groomed this guy is.. churning out solutions on solutions.. wow
    This is quite helpful

  • @rajat2545
    @rajat2545 3 года назад +19

    a great initiative by GFG. please make more such mock interviews

  • @shivampandey1978
    @shivampandey1978 2 года назад +6

    Yeahhh!.. This guy is really next level actor he knew prime sieve and majority element and still acted like noob giving other approaches.

  • @jayeshyadav07
    @jayeshyadav07 3 года назад +8

    As a subscriber of yogesh RUclips channel , Nice 🙂 Interview

  • @19csead17
    @19csead17 3 года назад +2

    Search till half the length of the array.

  • @Anonymous-2-0-1-2
    @Anonymous-2-0-1-2 2 года назад +6

    OMG , same question in same order asked
    to me . 🤣🤣

  • @strangesoul31
    @strangesoul31 3 года назад +6

    What would be the selection chance if someone can answer 1st and 2nd questions with optimization but can't able to solve 3rd.

    • @trevorPhillips284
      @trevorPhillips284 2 года назад +1

      weak chances considering burining tree is a common questions and other candidates would solve that problem.

    • @PIYUSH-lz1zq
      @PIYUSH-lz1zq 2 года назад

      Bro , can you suggest some good mock interview videos ??

  • @abhijitburman1260
    @abhijitburman1260 3 года назад +4

    3rd question I think was a direct question on diameter of a binary tree

    • @immortal7167
      @immortal7167 3 года назад

      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

  • @niranjannayak4154
    @niranjannayak4154 3 года назад +3

    It's a good one for aspirants

    • @PIYUSH-lz1zq
      @PIYUSH-lz1zq 2 года назад

      Bro , can you suggest some good mock interview videos ??

  • @cloud_Engineer
    @cloud_Engineer 2 года назад +1

    Time complexity will be nlogn first soln

  • @rohitkewat152
    @rohitkewat152 3 года назад +1

    Piyush sir great

  • @vinayakhaunsnur1327
    @vinayakhaunsnur1327 Год назад

    Q how to check wether array contains majority element
    :Boyer-Moore majority vote algorithm

  • @hiteshusingh8571
    @hiteshusingh8571 3 года назад +2

    Very nice interview

  • @vedantkulkarni5437
    @vedantkulkarni5437 Год назад

    35:03 ...bhai sir ne sidhe binary search use karne ko bola he 😂

  • @arnavsingh7015
    @arnavsingh7015 Год назад +1

    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

  • @JainNamit
    @JainNamit 3 года назад +12

    Why dont he use boolean ...rather than he is always using int with 0 and 1....strange for me....

  • @greatred2558
    @greatred2558 2 года назад

    wah gfg mauj kra di

  • @Tanm0609
    @Tanm0609 3 года назад

    Tips for the students aaaaa aaaaa aaaaa can you aaaaaa help them aaaaaaaaa

  • @hemantmehra1981
    @hemantmehra1981 3 года назад

    Koi... web backend ka telegram share karo..

  • @faizansaiyed8521
    @faizansaiyed8521 Год назад

    9:00

  • @susakshamjain1926
    @susakshamjain1926 Год назад

    According to me his basics are not good.

  • @hemantmehra1981
    @hemantmehra1981 3 года назад

    Koi dsa ka telegram dedo

  • @ayushthakur2896
    @ayushthakur2896 2 года назад

    bhai kya acting kr rha hai yogesh hahaha

  • @debdutsaha4316
    @debdutsaha4316 3 года назад +3

    I WANT TO GIVE A MOCK INTERVIEW.