Java Interview| 10+ years experience| Realtime Java Microservices Interview.

Поделиться
HTML-код
  • Опубликовано: 22 июл 2024
  • This video talks about Java, Microservices, and Spring boot interview questions and Spring boot basic features through these interview questions.
    00:00 Intro
    02:00 Microservice Arch
    23:40 Coding Syntax with a basic use case like List Iteration.
    39:40 Basic Programming Exercise.
    #JavaInterviewQuestionsandAnswers​ #JavaInterviewQuestions​ #JavaInterview​ #CoreJavaInterviewQuestions​ #JavaInterviewQuestionsandAnswersForExperienced​ #JavaTutorial​ #JavaProgramming​ #JavaTutorialForBeginners​

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

  • @abhishek2002able
    @abhishek2002able 6 месяцев назад +2

    I dont know who you are or where you work, but the way you articulate a problem statement and the way you never give up on the candidates is truly amazing. More power to you! Lucky are the folks on your team to have a mentor like you.

  • @hectorflores1176
    @hectorflores1176 2 года назад +41

    For all the experts developers that say they can do it better, it is really difficult to code on real time, some of you will get extremely nervious, this is not a way to see the full potential of the candidate. After all, the real potential of a candidate is how he adapts to the team, learn new things, help others! Dont forget all you guys started from some point!

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

      This is the screening process followed by almost all IT companies in India

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

      If starting point is 10+ years then you're in the wrong field my friend.

  • @Pawan76457
    @Pawan76457 Год назад +5

    int index=0;
    For(int i=0;i

  • @MrMikomi
    @MrMikomi Год назад +14

    A 10+ years' experience developer's value does not lie in solving leetcode problems. Their value lies in their ability to work unsupervised, to be self-reliant, assiduous, diligent, trustworthy, able to pick up and develop pieces of work with no previous experience, to communicate well with technical and nontechnical colleagues, to have extensive deep and broad knowledge in many areas, to take responsibility for significant parts of the system on which they work....the list goes on and on. Solving leetcode problems quickly doesn't come into it, not at all.

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

      Well Said.

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

      You are 100% correct.
      Leetcode, hackerrank, codility... are 3rd party money makers on a broken hiring process.

    • @girishpv8193
      @girishpv8193 7 месяцев назад

      "Their value lies in their ability to work unsupervised, to be self-reliant, assiduous, diligent, trustworthy, able to pick up and develop pieces of work with no previous experience". people test coding skills using leetcode problems in a timed environment to test if the candidate has this skill or not...

    • @australiainformationport2907
      @australiainformationport2907 5 месяцев назад

      you said it !

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

    Thanks for sharing experience

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

    very good, thanks

  • @vivektiwari2844
    @vivektiwari2844 10 месяцев назад

    int countZeros = 0;
    // Count the number of zeros
    for (int num : arr) {
    if (num == 0) {
    countZeros++;
    }
    }
    // Overwrite the array with 0s and 1s
    for (int i = 0; i < countZeros; i++) {
    arr[i] = 0;
    }
    for (int i = countZeros; i < arr.length; i++) {
    arr[i] = 1;
    }

  • @rahulchoudhary414
    @rahulchoudhary414 Месяц назад

    I admire your patience , most people would have ended the interview long back ...

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

    Wow this was pretty easy for so much experience.

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

      But was even this answered properly ?

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

      @@stream2learn Nope, specially the core java answers.

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

      @@Fatality_Retired yeah

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

      @@stream2learn that guy didnt seemed seriously prepared

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

    Sorting was easy question ..We could use two pointer algorithm ..initialize first pointer at the start of index and second pointer at the end of index... then we will compare left pointer with right ..if left 0 and right 1 ..increment the left pointer and right pointer ...if left pointer 1 and right 0 we will swap it and increment the left and decrement the right .....if both 0 then increment left leave right as it is ..and if both 1 decrement right and leave left as it is................ Time complexity will be O(n) and space complexity O(1) as everything happened in place

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

      Just loop the array, keep a separate index variable, whenever you encounter 0, insert 0 at the index and increase the index variable. After that in another loop, start with the index’s current value to the array length and insert 1 in the same array.

    • @priyankayadav-ee3ez
      @priyankayadav-ee3ez 2 года назад +1

      Or count 0's and 1's and later fill the array 🙂

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

      @@Fatality_Retired you mean whenever you encounter 1 and not 0

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

      @@anupkumarbaranwal if you have to bring all 1’s at last then you have to insert 0, whenever you encounter 0, so that all 0’s get inserted in the beginning and rest will be filled with 1 as we will have the 0 counter and total array length.

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

      @@priyankayadav-ee3ez 😂hacker

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

    Very interesting, people can't sort an array with function :D Buy answer more complex things..

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

    Company name please ?

  • @arinbose6366
    @arinbose6366 2 года назад +2

    11yrs with this knowledge ,he is faking no jpql knowledge.He just learnt the architecture from someone.

  • @aqilaghamirzayev1070
    @aqilaghamirzayev1070 8 месяцев назад

    10 years of experience or 6 months experience?

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

    anybody who is having less than 3 years experience

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

    11 years of experience but dont know how to sort 0 's and 1's, poor performance

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

      Yes we don't learn algo n code at the night of interview after 11 years of experience, like u "desperate" "coder"

    • @Pawan-fd6wl
      @Pawan-fd6wl Год назад +1

      Bro how much experience you have?? Let's discuss on dsa if u think u r genius

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

      @@Pawan-fd6wl peasant

    • @demchuckdima
      @demchuckdima 11 месяцев назад

      I would create an int to count '0'
      and no sortings

    • @RN-jo8zt
      @RN-jo8zt 10 месяцев назад

      fresher 😄😃just solved few leetcode problems

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

    private static void sortArr(Integer[] inputArr) {
    boolean swapRequired = true;
    while (swapRequired) {
    swapRequired = false;
    for (int i = 0; i < inputArr.length - 1; i++) {
    if(inputArr[i] > inputArr[i+1]) {
    swapRequired = true;
    inputArr[i] = inputArr[i] + inputArr[i+1];
    inputArr[i+1] = inputArr[i] - inputArr[i+1];
    inputArr[i] = inputArr[i] - inputArr[i+1];
    }
    }
    }
    }

  • @demchuckdima
    @demchuckdima 11 месяцев назад +1

    I am interested
    is he hired ?

  • @user-du9mf8rl9u
    @user-du9mf8rl9u 5 месяцев назад

    public static void main (String args[]){

    Integer[] num1 = {0,1,0,1,0,1,0,1,0,1};
    for(int k=0 ; k num1[i + 1]) {
    temp = num1[i];
    num1[i] = num1[i + 1];
    num1[i + 1] = temp;
    }
    }
    }
    for(int j=0;j

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

    Integer[] tab = {0,1,0,1,0,1,0,1,0,1,0,1};
    LinkedList list = new LinkedList();
    for (int val: tab) {
    if(val == 0)
    list.addFirst(val);
    else
    list.addLast(val);
    }
    System.out.println(list);

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

      Excellent. What would be the performance of this ?

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

      can also use deque...
      for ( ... )
      {
      if 0 dq.add(0) else dq.addLast(1)
      }

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

      This is not an efficient algorithm as per space complexity will be O(n).

    • @varungudisena9463
      @varungudisena9463 8 месяцев назад

      Excellent

  • @niharikab5202
    @niharikab5202 6 месяцев назад +1

    Is he selected???

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

    what an inefficient approach to sort 0(s) and 1(s)
    simply you can count and rearrange the integer array without creating not extra space and with O(n) Time Complexity
    Integer[] arr = new Integer[]{0, 1, 0, 1, 0, 1, 0};
    int zeroCount = 0;
    for (Integer integer : arr) {
    if (integer == 0) zeroCount++;
    }
    int counter = 0;
    while (counter < arr.length) {
    if (zeroCount-- > 0) {
    arr[counter++] = 0;
    } else {
    arr[counter++] = 1;
    }
    }

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

    has he selected?

  • @onestopreferralOfficial-lv7sp
    @onestopreferralOfficial-lv7sp 7 дней назад

    Rejected

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

    selected?

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

      What do you think ? After Judging his skills.

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

    Routing questions to somewhere else. Seems explaining anything he finds relevant.

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

    he should be rejected
    bad perfornamce.

  • @harshpalsingh1145
    @harshpalsingh1145 Год назад +2

    Bro needs to go back to college.

  • @vivektiwari2844
    @vivektiwari2844 10 месяцев назад

    persons.stream()
    .filter(person -> person.getAge() >= 45)
    .forEach(System.out::println);

  • @user-du9mf8rl9u
    @user-du9mf8rl9u 5 месяцев назад +1

    public static void main (String args[]){

    Integer[] num1 = {0,1,0,1,0,1,0,1,0,1};
    for(int k=0 ; k num1[i + 1]) {
    temp = num1[i];
    num1[i] = num1[i + 1];
    num1[i + 1] = temp;
    }
    }
    }
    for(int j=0;j