HCL Java8 Coding Interview Question Answers

preview_player
Показать описание
In this video, we solved Java Coding Interview Question which was asked in HCL Interview. The candidate had 2.5 Years of Experience working as a Java Developer, He solved the problem using Java 8 features and got selected with CTC of 8 LPA.

#leetcode
#java
#interview
#javaprogramming
#javacoding
#javainterviewquestions
#HCLInterviewQuestions

For Complete Java Interview Preparation Watch this Playlist:
Рекомендации по теме
Комментарии
Автор

Hi @CloudTech,
List<String> inputArr = List.of("AA", "BB", "AA", "DD", "CC", "DD");
inputArr.stream().filter(n -> Collections.frequency(inputArr, n) >

jeckrazi
Автор

Bayya do more these types of java 8 coding problems.

surapareddylokeswarreddy
Автор

List<String> words = Arrays.asList("AA", "BB", "CC", "DD", "AA", "DD", "AA");
Collections.frequency(words, s)>1).collect(Collectors.toSet()));

MegaKeitaa
Автор

Is this only question asked in coding round, can you pls post other questions as well

pratiknagarkar
Автор

Check their Naukri and salary offered for 14+ yoe

RealSlimShady-umgf
Автор

Hi @CloudTech,

List<String> list = List.of("AA", "BB", "AA", "DD", "CC",
Stream.iterate(0, i-> i < list.size(), i->i+1).filter(i-> i < list.size()-1 &&

Output

AA
DD

jeckrazi
Автор

Hi @CloudTech,
Interview question asked
list={1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 11, 12};
input=3

output : {[1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12]};
it should print like divide array
please can you upload this video

dineshchowdary-gvbm
Автор

Are they mad what kind of simple question they are asking

ajitved
welcome to shbcf.ru