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 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
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
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++; } }
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..
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
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.
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.
Thanks for the detailing mate.
@@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
@@deepak2all Done.
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
It's really true that number of experience is inversely proportional to the coding efficiency.
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
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++;
}
}
Did u even see the output or just suggesting like this????
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;
}
}
@saalikkhan7786 this actually sorting 0s to the right rather the below snippet is working properly int j = 0;
for(int i =0; i
sorting will solve this.
@@Pawan76457
Sir thanks for sharing the interview experience it will help us a lot
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..
Sure Anand.
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
Ashwin was already impressed and decided him to select 👍🎈
Hi sir, if there are any openings. please let me know
Super cool interview
Nice
Bro does any coupons working to get databricks course?
Please let me know
Sure.
What was he answering?
I reached a java office
Rejected
Coding knowledge is very poor
I would reject this candidate as per his this interview.
Is he got selected?
What do you think, after seeing the discussion?
@@stream2learn I think he got selected.
he did not
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.