No video

Cracking the coding interview || Java streams Coding questions

  Рет қаралды 55,446

Java Techies

Java Techies

3 жыл бұрын

cracking the coding interview made easy with the help of coding interview questions. This video contains must do coding questions, programming interview questions also subscribe us for daily coding problem.
for source code visit: javatechiess.w...
-----------------------------------------
Subscribe to our channel : / javatechies
Connect to us on WhatsApp: chat.whatsapp....
Connect to us over Email : JavaTechiess@gmail.com
Different companies interviews: • Java real time intervi...
Top 10 Core java interview questions : • Top 10 Core java inter...
Top 10 Collections interview questions : • Top 10 Java collection...
Java Scheduler and Timer task : • Spring boot Scheduler ...
Java program to find duplicate elements: • JAVA Program to find d...
Java Program to find frequency of elements: • Java program to find F...
Philips Java telephonic interview: • Philips Java Telephoni...
Accenture java interview: • Philips Java Telephoni...
HCL java interview : • Selected | java teleph...
DELL java interview : • JAVA telephonic interv...
Telstra Java interview: • Telstra real interview...
UST global java interview : • UST Global real Interv...
Ciena java interview : • UST Global real Interv...
Altran java interview: • UST Global real Interv...
L n T java Interview: • L&T java Interview rea...
Wissen Technology java interview: • L&T java Interview rea...
TCS Java Interview: • L&T java Interview rea...
JP Morgan java interview: • JPMorgan Java Microser...
VMWare java interview: • JPMorgan Java Microser...
PayPal java interview: • Video
Bottomline java interview: • Video
Standard chartered Bank java interview: • Video
Siemens java interview: • Video
Mphasis java interview: • Video
Altimetrik java interview: • Video
M3BI java interview: • Video
ITC Infotech java interview: • Video
Oracle java interview: • Video
VMWare java interview: • Video
Unisys Java Interview: • Unisys Round 1 Java de...
Top 10 Tricky core java Interview questions top java interview questions, top java interview questions and answers, top interview questions and answers, top java interview questions for freshers, top 10 java interview questions, tricky java interview questions, tricky java interview questions for experienced, tricky java questions, java tricky interview questions, top 50 java interview questions, top 50 core java interview questions, java interview questions by durga sir, java interview questions for experienced, java interview questions for freshers, java interview questions and answers, java interview questions and answers edureka
#java​ #javaInterviewQuestions​ #JavaInterviewQuestionsandAnswers​​​ #Intellipaat​​​ #JavaInterview​​​ #CoreJavaInterviewQuestions​​​ #JavaInterviewQuestionsandAnswersForExperienced​​​ #JavaTutorial​​​ #JavaProgramming​​​ #JavaTutorialForBeginners​​​
Thanks
Java Techies

Пікірлер: 118
@MrSid2279
@MrSid2279 3 жыл бұрын
Very nice exercise for practice on Streams. Excellent.
@vikrantharne9345
@vikrantharne9345 3 жыл бұрын
one more question to add to list... que : get all employee having address (is of list type) start with P and having age greater than 22 ans : employees.stream() .filter(employee -> employee.getAge()>22&&employee.getAddresses().stream() .anyMatch(adr -> adr.getCity().startsWith("p"))) .forEach(System.out::println);
@samsonrj5628
@samsonrj5628 5 ай бұрын
This is very informative and useful. Thanks for the excellent streams questions and solutions.
@JavaTechies
@JavaTechies 5 ай бұрын
Thank you so much for your feedback and support, it motivates me.
@abhilashpatel6852
@abhilashpatel6852 Жыл бұрын
On the spot. Best practical video on this topic so far. Will revisit again and again to refresh my memory.
@JavaTechies
@JavaTechies Жыл бұрын
Thanks for your support
@vengateshm2122
@vengateshm2122 3 жыл бұрын
Excellent. We'll organised.
@vishnuprahladan4152
@vishnuprahladan4152 3 жыл бұрын
It s really helpful. Thanks Java Techies Team.
@apx1011
@apx1011 2 жыл бұрын
Very very Helpful 👍 Thank you so much. Keep posting such real time scenarios of coding.
@venkatreddy525
@venkatreddy525 2 жыл бұрын
This is a fantastic list of questions.
@ankitmishra9324
@ankitmishra9324 3 жыл бұрын
Keep up the good work Mansi and Team , you guys are really helpful in cracking the interviews.
@JavaTechies
@JavaTechies 3 жыл бұрын
Thank you sir ji
@sandeepikaenagaluru8462
@sandeepikaenagaluru8462 3 жыл бұрын
Love you Manasi. You really helping others.
@JavaTechies
@JavaTechies 3 жыл бұрын
Thanks
@anuragpundir1483
@anuragpundir1483 3 жыл бұрын
i love you too mansi
@rexsam3134
@rexsam3134 2 жыл бұрын
@@anuragpundir1483 ?????
@rushikeshgodase8498
@rushikeshgodase8498 7 ай бұрын
Excellent Questions
@JavaTechies
@JavaTechies 7 ай бұрын
Thank you
@Krishnaentertainments7653
@Krishnaentertainments7653 Жыл бұрын
THANKS FOR YOUR VALUABLE INFORMATION ,IT HELP TO GET KNOWLEDGE
@JavaTechies
@JavaTechies Жыл бұрын
Most welcome, we keep on sharing more valuable information in our whatsapp and telegram groups too. Feel free to join there of you want.
@manuvashist3464
@manuvashist3464 Жыл бұрын
Really helpful questions to brush up
@JavaTechies
@JavaTechies Жыл бұрын
Thank you so much
@WhiteObama112
@WhiteObama112 Жыл бұрын
for the question no 12 - I did some changes, here we need the list of names for each department which can be done with only stream like below. Map namesByDept = employeeList.stream().collect( Collectors.groupingBy(Employee::getDepartment) ) .entrySet().stream() .collect(Collectors.toMap(o -> o.getKey(), o -> o.getValue() .stream() .map(m -> m.getName()) .collect(Collectors.toList()) ));
@JavaTechies
@JavaTechies Жыл бұрын
Thanks
@ajeet382
@ajeet382 8 ай бұрын
You nailed it mansi . very impressive set of questions . keep up the good work
@JavaTechies
@JavaTechies 8 ай бұрын
Thank you so much, I really appreciate your feedback 🙏
@naveenbv1838
@naveenbv1838 2 жыл бұрын
Thanks a lot for your effort and time you have invested to make us understand so clear in simple but effective examples. 🙏
@JavaTechies
@JavaTechies 2 жыл бұрын
Thanks
@sekhar14301
@sekhar14301 10 ай бұрын
Thank you so much.. these examples are enough to crack the java8 for interview questions
@JavaTechies
@JavaTechies 10 ай бұрын
Thank you
@imvickie1497
@imvickie1497 3 жыл бұрын
Excellent
@JavaTechies
@JavaTechies 3 жыл бұрын
Thanks
@rohitkumar-vk4fx
@rohitkumar-vk4fx 3 жыл бұрын
You people are doing great work 👍👍
@nchavva
@nchavva 3 жыл бұрын
Superb
@rajumurugesan6927
@rajumurugesan6927 2 жыл бұрын
Hi i really happy for this example.please prepare more programming interview questions
@JavaTechies
@JavaTechies 2 жыл бұрын
Thank you so much, sure
@ashrafqureshi9333
@ashrafqureshi9333 Жыл бұрын
Thanks, Looking for such compilation of questions to practise stream. Really helpful 😄
@JavaTechies
@JavaTechies Жыл бұрын
Thanks
@saivamsi4811
@saivamsi4811 2 жыл бұрын
Thanks a ton for your hardwork and service...you are really helping a lot in cracking interviews..
@JavaTechies
@JavaTechies 2 жыл бұрын
Thanks
@srikanthlaggeri9325
@srikanthlaggeri9325 3 жыл бұрын
Thank you so much. This video gave more clarity on Streams. Can you please make a video on the Design patterns where it is implemented interview point of view .
@JavaTechies
@JavaTechies 3 жыл бұрын
Sure
@basavarajnv1017
@basavarajnv1017 3 жыл бұрын
Great work Manasi 👍thanks for the video ✌️
@JavaTechies
@JavaTechies 3 жыл бұрын
Thanks
@naveenvenkatesh3222
@naveenvenkatesh3222 3 жыл бұрын
Keep up the good work 👏
@JavaTechies
@JavaTechies 3 жыл бұрын
Thanks
@manishagarwal1505
@manishagarwal1505 2 жыл бұрын
Good tutorial for java streams and lambda. Though I noticed that you used == for string comparison while we should use .equals something like "Male".equals(x.getGender())
@JavaTechies
@JavaTechies 2 жыл бұрын
Thank you
@karanjain24
@karanjain24 2 жыл бұрын
Absolutely loved the content, helped me a lot! Thanks 👍🏼
@JavaTechies
@JavaTechies 2 жыл бұрын
Thanks
@dellcruzo
@dellcruzo 3 жыл бұрын
Awesome content 👍
@JavaTechies
@JavaTechies 3 жыл бұрын
Thank you DellCruzo
@sreejak6776
@sreejak6776 2 жыл бұрын
Thankyou so much for the informative questions
@JavaTechies
@JavaTechies 2 жыл бұрын
You're welcome 🙏
@dkvFitness
@dkvFitness 3 жыл бұрын
Thanks Mansi for sharing your knowledge & Experience ❤️.
@JavaTechies
@JavaTechies 3 жыл бұрын
Welcome 🙏
@pratikgaurav6631
@pratikgaurav6631 3 жыл бұрын
Good one mansi and the backend team :)
@JavaTechies
@JavaTechies 3 жыл бұрын
Be the team
@mdmujahid8968
@mdmujahid8968 Жыл бұрын
Best stream api videoon KZfaq
@JavaTechies
@JavaTechies Жыл бұрын
Thank you so much
@Anilkumar-reddy
@Anilkumar-reddy Жыл бұрын
Thanks Mansi for your extreme efforts, keep it up. we need more videos from you. For the method 8 we can use like these right? Optional min = employeeList.stream().min(Comparator.comparing(Employee :: getYear));
@flight_of_phoenix
@flight_of_phoenix 2 жыл бұрын
I appreciate your hard work
@JavaTechies
@JavaTechies 2 жыл бұрын
Thanks
@AmitKumar-we8dm
@AmitKumar-we8dm 7 ай бұрын
bahaut badhiya didi
@JavaTechies
@JavaTechies 7 ай бұрын
Thank you
@dheerajjham3910
@dheerajjham3910 Жыл бұрын
Thanks a lot Java Techies..
@JavaTechies
@JavaTechies Жыл бұрын
You are welcome
@priyakoli5572
@priyakoli5572 3 ай бұрын
Hi Ma'am, First of all Thank you very much for your efforts, its really helpful. wanted to ask one question: in method8 i am getting Optional.empty whereas if i remove either of condition then then o get some result, why so for me?
@JavaTechies
@JavaTechies 3 ай бұрын
I did not get your question, join us on WhatsApp or telegram group, which is totally free, you can share your code and questions, either me or someone will be able to help you. thank you
@start1learn-n171
@start1learn-n171 2 жыл бұрын
TQ...that's helpful
@Ankitkumar-js3cj
@Ankitkumar-js3cj 2 жыл бұрын
Great work . Thanks a lot.
@JavaTechies
@JavaTechies 2 жыл бұрын
Thanks
@jagadishgouda4496
@jagadishgouda4496 2 жыл бұрын
Thanks a ton Mansi..Really appreciate you 👏🏻👏🏻
@JavaTechies
@JavaTechies 2 жыл бұрын
Thank you
@hopelesssouldisappointment5121
@hopelesssouldisappointment5121 2 жыл бұрын
just awesome 👍
@JavaTechies
@JavaTechies 2 жыл бұрын
Thank you
@pravinppatil2116
@pravinppatil2116 2 жыл бұрын
Examples you have taken here are really helpful, Good Work keep it up. I want you to Correct 1-2 mistakez here while comparing string you have using == operation instead of that we should use equals method.
@JavaTechies
@JavaTechies 2 жыл бұрын
Ya, fine, thank you
@srinath710
@srinath710 3 жыл бұрын
This what exactly iam looking for.
@JavaTechies
@JavaTechies 3 жыл бұрын
Thanks
@abhilashpatel6852
@abhilashpatel6852 Жыл бұрын
But how static method reference to Employee getter methods are working even if they are non-static method?
@radharanganathan9610
@radharanganathan9610 2 жыл бұрын
Vry useful examples Request u to increase the font size of programs
@JavaTechies
@JavaTechies 2 жыл бұрын
Extremely sorry if that's not correctly visible, will take care next time
@radharanganathan9610
@radharanganathan9610 2 жыл бұрын
@@JavaTechies tq
@start1learn-n171
@start1learn-n171 5 ай бұрын
Tq
@JavaTechies
@JavaTechies 5 ай бұрын
You are welcome
@priyakoli5572
@priyakoli5572 3 ай бұрын
Also for method4, what if we have 2 employees with same highest salary? then it displays only 1 person's salary....why so why not 2 if both have same highest salary?
@JavaTechies
@JavaTechies 3 ай бұрын
Is it using findfirst ??
@KiranKumar-ud6zz
@KiranKumar-ud6zz 3 жыл бұрын
👏👏👏👏👍👍👍👍👍
@sanchitthai4822
@sanchitthai4822 2 жыл бұрын
This is awesome dude, why you stopped making, please make some more
@JavaTechies
@JavaTechies 2 жыл бұрын
Thank you buddy, for sure we will add more. Working on something more awesome 😊
@thiyagarajan9410
@thiyagarajan9410 3 жыл бұрын
If source code link was added in the description it would be better
@JavaTechies
@JavaTechies 3 жыл бұрын
Added
@neerajrajak6150
@neerajrajak6150 3 жыл бұрын
Thanks you so much
@JavaTechies
@JavaTechies 3 жыл бұрын
Wc
@asashish905
@asashish905 2 жыл бұрын
Hi, most of your videos in the description are private. Unable watch. Can you help please?
@JavaTechies
@JavaTechies 2 жыл бұрын
You can directly go to my channel and watch, all the visible ones will be public
@vamshikrishnagolla6506
@vamshikrishnagolla6506 3 жыл бұрын
Tqs a lot !!
@JavaTechies
@JavaTechies 3 жыл бұрын
Welcome 🙏
@kasivundavalli1883
@kasivundavalli1883 3 жыл бұрын
method4. high salary name is giving only last list name always.. please correct it.
@joelgeorge1064
@joelgeorge1064 3 жыл бұрын
could get the result by this way also employeeList.stream().max(Comparator.comparing(Employee::getSalary);
@brijeshverma7456
@brijeshverma7456 2 жыл бұрын
Hi I have one question where i need to sort based on price. Can you please help Ques: Using Java8, sort the products in "Electronics" and "Accessories" by attribute "price" in desc order? public static void sortData() { List electronics = new ArrayList(); Map map1 = new HashMap(); map1.put("price", "100"); map1.put("name", "Camera"); Map map2 = new HashMap(); map2.put("price", "200"); map2.put("name", "Laptop"); Map map3 = new HashMap(); map3.put("price", "90"); map3.put("name", "WebCam"); electronics.add(map1); electronics.add(map2); electronics.add(map3); // Comparator.comparing() ->Integer.parseInt(); List accessories = new ArrayList(); Map amap1 = new HashMap(); amap1.put("price", "50"); amap1.put("name", "CameraBag"); Map amap2 = new HashMap(); amap2.put("price", "80"); amap2.put("name", "LaptopBag"); Map amap3 = new HashMap(); amap3.put("price", "10"); amap3.put("name", "MousePad"); accessories.add(amap1); accessories.add(amap2); accessories.add(amap3); Map input = new HashMap(); input.put("Electronics", electronics); input.put("Accessories", accessories); }
@sangitamohanty7919
@sangitamohanty7919 2 жыл бұрын
Hi , Need one help can u plz help how to get 2nd highest salary of each department
@simplyarranged
@simplyarranged Жыл бұрын
Where is sir?🌹
@tanishkaggarwal2846
@tanishkaggarwal2846 Жыл бұрын
Can I get te code for pratice
@JavaTechies
@JavaTechies Жыл бұрын
Yes, go to our GitHub
@rahuljain-zw8vx
@rahuljain-zw8vx Жыл бұрын
cant get the source code, page not opening
@JavaTechies
@JavaTechies Жыл бұрын
Login and try, it should open
@rahuljain-zw8vx
@rahuljain-zw8vx Жыл бұрын
@@JavaTechies got it🥳
@shankararvapally3333
@shankararvapally3333 3 жыл бұрын
Can you please share github link?
@JavaTechies
@JavaTechies 3 жыл бұрын
Posted on our website: javatechiess.wordpress.com/2021/06/02/cracking-the-coding-interview-java-streams-coding-questions/
@viswanathperada5956
@viswanathperada5956 3 жыл бұрын
@@JavaTechies couldn't find the githib link in the site. Can you please add it under the video description section. Thanks in advance. Nice content extremely helpful. Awaiting for more concepts and videos.
@AHMADRAZAKHANjava
@AHMADRAZAKHANjava 2 жыл бұрын
Pls provide the source code
@girish44444
@girish44444 Жыл бұрын
If there is more than 1 highest paid employee then it will give wrong result I think? For that : empList.stream() .collect(Collectors.groupingBy(Employee::getSalary, TreeMap::new, Collectors.toList())) .lastEntry() // for lowest salary you should use firstEntry; .getValue().forEach(entry -> System.out.println("Name : "+entry.getName() + " , "+ "Salary : "+ entry.getSalary()));
@JavaTechies
@JavaTechies Жыл бұрын
Thanks
Look at two different videos 😁 @karina-kola
00:11
Andrey Grechka
Рет қаралды 8 МЛН
Bony Just Wants To Take A Shower #animation
00:10
GREEN MAX
Рет қаралды 5 МЛН
Java 8 Streams 🔥  | 10 IMPORTANT Coding Questions & Answers | Streams API
28:15
Code With Ease - By Varsha
Рет қаралды 13 М.
How I Passed The Google Coding Interviews
18:50
Chris Jereza
Рет қаралды 27 М.
Look at two different videos 😁 @karina-kola
00:11
Andrey Grechka
Рет қаралды 8 МЛН