L&T Java Developer Interview Experience for 4+ years ! Very Important Java Coding Question covered

  Рет қаралды 10,309

Code With Roy

Code With Roy

Күн бұрын

Пікірлер: 35
@raj006
@raj006 20 күн бұрын
What was the answer to that csv question? How can we optimise that when saving the data in db?
@abhijitsalunkhe9964
@abhijitsalunkhe9964 3 ай бұрын
To check if a nonpal string can be made palindrome, just count the character counts, if length is even all the count should be devisable by 2 and if the length is odd one char is allowed can have count 1 and rest should be devisable by 2. example -> gffaa (not pal) but as g= 1, f =2 and a = 2 it can be made pal by shuffling "fagaf", I guess he was expecting this answer
@ankushsangwan4418
@ankushsangwan4418 3 ай бұрын
Yes and it can be done optimally using java 8, process the string using group by and get the hashmap for char and their count. Then apply the check for even or odd length and check the entryset if it contains all the values for keys as you highlighted.
@akadeadahot7067
@akadeadahot7067 Ай бұрын
after i saw this problem i tried this solution upto like for odd string and got suggestion on gpt to correct it hope it will help others to solve this one. refer following code public static boolean checkIsPossiblePalindrome(String str) { int oddcount = 0; Map collect = str.chars() .mapToObj(c -> (char) c) .collect(Collectors.groupingBy(Function.identity(), Collectors.counting())); for (Map.Entry entry : collect.entrySet()) { Character chars = entry.getKey(); Long count = entry.getValue(); //for odd character length if (count % 2 != 0) { oddcount++; } } if (str.length() % 2 == 0) { //if string length divisble by 2 then odd count should be 0 and return true else false return oddcount == 0; } else { //if odd count is 1 then return true if not then return false here return oddcount == 1; } }
@humanplanet8728
@humanplanet8728 3 ай бұрын
I could see close to 100 videos of real interview experiences in your channel. All those interviews happened in the last month of notice? If yes, then how to manage work while giving these many interviews?
@codeAtoZ
@codeAtoZ 3 ай бұрын
For me, there was not much work so I was giving 2-3 interviews daily
@Sushant.Godbharle
@Sushant.Godbharle 2 ай бұрын
@@codeAtoZ Great bro..
@sadabsekh2235
@sadabsekh2235 Ай бұрын
​@@codeAtoZI am struggling to get an interview calls, Can you please share your resume for reference.
@pratiknagarkar1444
@pratiknagarkar1444 3 ай бұрын
Hi, can you pls note down all questions asked in description
@codeAtoZ
@codeAtoZ 3 ай бұрын
Yes.. Give some time
@subhankarpati280
@subhankarpati280 Ай бұрын
code was simple itna mehnat hi kyun krna simply we can do it map mai dalke dekhlo if atmost 1 character is odd then it can be or else it can’t be palindrome, streams se easily ban jyega. I think interviewer was expecting this answer using streams
@chiragkataria3133
@chiragkataria3133 3 ай бұрын
Can I interview me for automation role? I am a expericend one in manual testing and planning to transition it to automation
@codeAtoZ
@codeAtoZ 3 ай бұрын
I didnt get you. I am a developer. How can I interview a tester
@shaiksabahath8061
@shaiksabahath8061 2 ай бұрын
Is this first round of the interview?
@codeAtoZ
@codeAtoZ 2 ай бұрын
Yes
@durveshpatil6745
@durveshpatil6745 28 күн бұрын
Interviewer asked about multithreading and he responded with microservices 😂
@ashishrai472
@ashishrai472 2 ай бұрын
Apti round bhi hota h kya
@codeAtoZ
@codeAtoZ 2 ай бұрын
No
@ashishrai472
@ashishrai472 2 ай бұрын
@@codeAtoZas a fresher kaise job lu please help me out my parents spending me more than 12 lakhs in btech but I am still job less
@omkarshendge5438
@omkarshendge5438 3 ай бұрын
umm bro just one thing i wanted to ask as i'm curious how are u uploading such interviews with your face exposed and with the channel name containing your name, so dont u get like any warning from these companies because most people upload with covering their face and stuff! Thanks for providing such helpful interviews though
@codeAtoZ
@codeAtoZ 3 ай бұрын
There are lot of interviews like this and they don't have much time to see all videos that to 1st round... Nobody stays permanent in any organisation. One of the interviewer was knowing me so it doesn't create much impact to you are not saying anything bad and putting down their reputation in public.
@bhavanagattu5958
@bhavanagattu5958 3 ай бұрын
How was the interview easy, medium or hard??
@codeAtoZ
@codeAtoZ 3 ай бұрын
It was medium
@bhavanagattu5958
@bhavanagattu5958 3 ай бұрын
@@codeAtoZ can you post this video today
@codeAtoZ
@codeAtoZ 3 ай бұрын
@@bhavanagattu5958 why? Do you have interview today?
@bhavanagattu5958
@bhavanagattu5958 3 ай бұрын
@@codeAtoZ not today but they will schedule!
@mohammedhussain6169
@mohammedhussain6169 2 ай бұрын
Naa pacakage for that.?
@codeAtoZ
@codeAtoZ 2 ай бұрын
Around 26
@bhavanagattu5958
@bhavanagattu5958 3 ай бұрын
Selectet naa??
@codeAtoZ
@codeAtoZ 3 ай бұрын
What do you think?
@bhavanagattu5958
@bhavanagattu5958 3 ай бұрын
@@codeAtoZ selected... any other rounds
@codeAtoZ
@codeAtoZ 3 ай бұрын
​@@bhavanagattu5958no.. They told I was selected but 2nd round wasn't scheduled.
@suvammondal698
@suvammondal698 3 ай бұрын
@@codeAtoZ he should not be selected. Cant understand a simple issue, even if you dont understand he should have ask the question
"COFORGE" Java Developer Round 1 Interview Experience for 5+ years.
50:18
Java Interview Questions | Java Program Solving | Core & Advance Java | Part 1
39:46
The Kiran Academy - Java By Kiran
Рет қаралды 250 М.
How it feels when u walk through first class
00:52
Adam W
Рет қаралды 21 МЛН
规则,在门里生存,出来~死亡
00:33
落魄的王子
Рет қаралды 32 МЛН
Synyptas 4 | Арамызда бір сатқын бар ! | 4 Bolim
17:24
"COFORGE" Java Developer Round 2 Interview Experience for 5+ years.
50:56
Java EXPERT Shares 2024 Development Roadmap
41:27
Code With Roy
Рет қаралды 419
Infosys | Java | Spring Boot | Microservices | Mock Interview
26:55
Software Engineering Job Interview - Full Mock Interview
1:14:29
freeCodeCamp.org
Рет қаралды 1,5 МЛН
So, you want to be a programmer?
20:43
ForrestKnight
Рет қаралды 349 М.