Cognizant Java Coding Interview | Second Round | Java Developer Interview

preview_player
Показать описание
Cognizant Java Coding Interview | Second Round | Java Developer Interview

Social Links:

About Video:
In this video, we have covered all the questions asked to me in the recent cognizant interview.
Do let me know in the comments section about what else you would like to see on this channel. Your feedback matters a lot! If you have any questions please comment down below.

About this video:
In this video, we will talk about your fir salary

Please leave a LIKE and SUBSCRIBE for more content!

⭐ Tags ⭐

✅ Hashtags ✅
#cognizantinterview | #javadeveloper | #codinginterview

Important Videos:

Important playlists :

cognizant Java Coding Interview | Second Round | Java Developer Interview
Рекомендации по теме
Комментарии
Автор

To those who didnt understand the last question, basically they give you an array of string numbers and you have to rearrange the elements inside such that it makes the largest number possible with that combination. So '9''5''34''3''30' is the largest one possible, 330>303 hence that last change.Pretty interesting and tricky question.

zeezinc
Автор

Interviewer: Is this your final answer?
Buffalo in the background :

mrcoder
Автор

There is an edge case with the largest number code now if you have 0 and 0 in the string this will print “00” and not “0” if interviewer specifically asks for “0” and not “00” as output then I believe we can add that case after sorting the string array

vsaihruthikreddy
Автор

last question we can do digit sort which takes O(D*N) your approach take O(N*N)
D = size of largest length string
N = size of array

beingSenpai
Автор

Present companies....
Asking easy questions to experienced candidates..
Tough questions to fresher candidates....😢

mahesh
Автор

does cognizant only goes for python developers??? is this java coding interview or an coding interview where we can solve in diff languages??

SelvaKumar-xveb
Автор

if(ans==yes){

}
😅 buffalo in background 😅

nagunagu
Автор

Range of integer is not -127 to 128 FYI that is for byte hence this mock interview is useless.

jaswanthreddy
Автор

@11:56 alternate answer String answer = nums.stream().sorted((o1, o2) -> (o2+o1).compareTo(o1+o2)

croydonH
Автор

first question answer should be num1== num2 num3==num4 because it is not in byte and byte has -127 to 128 range not integer please correct me if wrong.

arnavjadhav
Автор

question1 -
demo class - 500 is a whole number that can be written without a fractional so output would be
num1==num2
num3 == num4 correct ?

bhaveshjoshi
Автор

Can someone please explain the logic behind last question ?

aabhasjain
Автор

For last 5 years I am working as a fullstack webdeveloper in different govt. undertaking projects (Contractual post) and using jsp, springboot, core php, android app, mysql, PostgreSQL. But I can't answer a single question from these (though I understand logic of these answers after explanation) Can anybody explain why ? (I think these can be answered by someone who is more connected to theories and studies or a fresher who is just completed his graduation)

SurajRoy
Автор

2nd question answer is not correct..everything would print from base class as DoPrint method taking reference as Base class.

deepakdevkar
Автор

In First question, Integer range is not -127 to 128 right, it a range of byte

saicharanmiriyala
Автор

One more last question: what was that moooo in the background?

pdhjjcx
Автор

the largest number problem if done without comparator interviewer will be happy ??

harshwardhanshetty
Автор

genie bhaiya interview de rehe the ya shika rehe the 😂😂😂

zxzxicu
Автор

@bro, where you learned Java, plz help me

katreji
Автор

😂😂 what !! Is it really 2 yr experience interview.even I can solve it as a fresher.

vlog_with_SK