Java Interview| 9+ years experience| Real time Java Microservices Interview.

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ม.ค. 2025

ความคิดเห็น • 33

  • @deepak2all
    @deepak2all 2 ปีที่แล้ว +51

    1. Why we use lambda expression?
    2. Where do we use method reference
    3. Filter a list of elements - how do we do?
    4. What are the major collections used
    5. Stream Vs Parallel stream
    6. Does streaming has any correlation with the cores
    7. If we are reading from a list and if we are writing from the list to another list, can we use parallel stream in that case
    8. Runnable Vs Callable
    9. Futures
    10. Different ways to create multiple threads
    11. After all tasks are finished in executor service, you need to execute something in the main thread. How will you do it?
    12. Need for micro-services, diff between monolithic and micro-services
    13. Design of MS in the project
    14. Eureka service and it's usage
    15. API gateway usage
    16. Handling security stuffs in MS
    17. How do you communicate between the services in your application - Feign client
    18. How to enable Eureka server and register the clients
    19. Annotations used in spring boot
    20. Caching annotations
    21. What's transient (@Transient)
    22. Different bean scope
    23. Singleton pattern
    24. Prototype pattern
    25. Basic Kafka setup
    26. What's the basic adv of Kafka over other messaging queues
    27. Consumer groups in Kafka
    28. If 2 consumers are part of a consumer group, both the consumers will get the same message or only either of them will get the same message
    29. What happens if 2 consumers belong to different consumer groups
    30. Concept of sharding
    31. How do we shard the data? What's shard key?
    32. SQL Vs no SQL database
    33. You have an array of 0's and 1's. Segregate them such that 0's are at left and 1's at right.
    34. How 33 can be done in min time. Pick an algorithm.

    • @stream2learn
      @stream2learn  2 ปีที่แล้ว +1

      Thanks for the detailing mate.

    • @deepak2all
      @deepak2all 2 ปีที่แล้ว +2

      @@stream2learn
      Thanks for your feedback and initiatives. You can also place these questions in the video description, so that everyone would get benefited. Not sure if all the viewers would go over this comment

    • @stream2learn
      @stream2learn  2 ปีที่แล้ว

      @@deepak2all Done.

    • @rexsmithcapgemini9049
      @rexsmithcapgemini9049 9 หลายเดือนก่อน

      For 000 1111 int[] arr =✓{1,0,0,1,0,0,1,1}
      Strung xeros = Stream.of(arr).flatmaptoint(Arrays::stream). filter (a->a ==0)
      .maptoobj(string::valueof).collect(collectors.joining("")) for 0 and same for 1. Join both in Buffer

  • @swarupcodes
    @swarupcodes 2 ปีที่แล้ว +7

    It's really true that number of experience is inversely proportional to the coding efficiency.

  • @gsaravanan41
    @gsaravanan41 2 ปีที่แล้ว +1

    00:58 -
    01:42 -
    02:17 -
    1. Why we use lambda expression?
    2. Where do we use method reference
    3. Filter a list of elements - how do we do? 03:45

  • @adityashankar6884
    @adityashankar6884 2 ปีที่แล้ว +2

    Sir thanks for sharing the interview experience it will help us a lot

  • @anantdixit1286
    @anantdixit1286 2 ปีที่แล้ว +6

    Thanks for sharing live interview.. It was worth watching.. I am working on similar tech stack close to 6 yrs exp in java backend and looking for new opportunities.. let me know if still there are any openings.. awaiting for more similar videos..

  • @saalikkhan7768
    @saalikkhan7768 ปีที่แล้ว +2

    For those looking for answers of the Algo question. Its simple in-place algo (You can say its a simple swapping the numbers algo).
    int[] intArr = {0,1,0,1,0,0,1,0,1,0};
    int j = 0;
    for(int i =0; i 0){
    int temp = intArr[j];
    intArr[j] = intArr[i];
    intArr[i] = temp;
    j++;
    }
    }

    • @Pawan76457
      @Pawan76457 ปีที่แล้ว +1

      Did u even see the output or just suggesting like this????

    • @Pawan76457
      @Pawan76457 ปีที่แล้ว

      It would be like below:
      For(int i=0;iarr[i+1]){
      int temp=arr[i];
      arr[i]=are[i+1];
      arr[i+1]=temp;
      }
      }

    • @syedr16
      @syedr16 ปีที่แล้ว +1

      @saalikkhan7786 this actually sorting 0s to the right rather the below snippet is working properly int j = 0;
      for(int i =0; i

    • @Haishang0575
      @Haishang0575 ปีที่แล้ว

      sorting will solve this.
      @@Pawan76457

  • @aman3318
    @aman3318 ปีที่แล้ว

    For the algo question answer , i don't remember if the panelists asked NOT TO USE any inbuilt methods. If they said so then pardon i am sorry.
    In that Case ONLY ONE LINE CODE WILL DO:-
    int ar[]={0,0,1,1,0,1,1,0,0,0,0,1,0,0};
    Arrays.sort(ar);
    for(int i=0;i

  • @venkateshnlr5440
    @venkateshnlr5440 2 ปีที่แล้ว +1

    Nice

  • @vivekpanday
    @vivekpanday 2 ปีที่แล้ว +1

    Ashwin was already impressed and decided him to select 👍🎈

  • @sravone2021
    @sravone2021 6 หลายเดือนก่อน

    Super cool interview

  • @surya5064
    @surya5064 2 ปีที่แล้ว +1

    Hi sir, if there are any openings. please let me know

  • @RealSlimShady-um6gf
    @RealSlimShady-um6gf ปีที่แล้ว

    What was he answering?

  • @harshapasumarthi9876
    @harshapasumarthi9876 3 ปีที่แล้ว +1

    Bro does any coupons working to get databricks course?
    Please let me know

  • @Hahja-e9k
    @Hahja-e9k หลายเดือนก่อน

    I reached a java office

  • @onestopreferralOfficial-lv7sp
    @onestopreferralOfficial-lv7sp 6 หลายเดือนก่อน

    Rejected

  • @rohitadnaik8256
    @rohitadnaik8256 2 ปีที่แล้ว +1

    Is he got selected?

    • @stream2learn
      @stream2learn  2 ปีที่แล้ว

      What do you think, after seeing the discussion?

    • @surya5064
      @surya5064 2 ปีที่แล้ว

      @@stream2learn I think he got selected.

    • @moredeno
      @moredeno 2 ปีที่แล้ว

      he did not

    • @swarupcodes
      @swarupcodes 2 ปีที่แล้ว +2

      He did not. I've had a friend who talked much about technologies but he couldn't code properly. I don't know how to handle with people like these.
      Like we need to build domain logic then infra logic.

  • @jaYaDev-h6u
    @jaYaDev-h6u 11 หลายเดือนก่อน

    Coding knowledge is very poor

  • @JangBahadur3028
    @JangBahadur3028 2 ปีที่แล้ว +4

    I would reject this candidate as per his this interview.