Another way to find second max int max = Integer.MIN_VALUE; int prev = Integer.MIN_VALUE; int[] array = {7, 4, 11, 6, 9}; for (int i : array) { if (i > max) { prev = max; max = i; } else if (i > prev && i < max) { prev = i; } } System.out.println(prev);
Nalla iruku dude Nalla iruku 😂
😂😂🫡
Another way to find second max
int max = Integer.MIN_VALUE;
int prev = Integer.MIN_VALUE;
int[] array = {7, 4, 11, 6, 9};
for (int i : array) {
if (i > max) {
prev = max;
max = i;
} else if (i > prev && i < max) {
prev = i;
}
}
System.out.println(prev);
Yes! this also works 🙌
Another way You can sort them then return 1index value
Very Useful video Bro, one suggestion from me, Please use white themes on editor , it will give better appearance
Sure brother!!
Anna Zoho company ikku application epdi potinga nu oru video la explain pannunga anna
Good video bro thanks for the knowledge 👍
Cheers 🙌🏻
What should be the if condition to print "lighthouse"?
#include
int main() {
if() {
printf("%s","light");
} else {
printf("%s","house");
}
}
Can please share the full question?
I have a question paper image.. How to send? Its a full question.. Last week I attend zoho
Send it in instagram @prep_dude(link in description) ! we try to solve it 💪
Invitation sent
#include
int main() {
if(!printf("light")) {
printf("%s","light");
} else {
printf("%s","house");
}
}
Zoho la na already interview attend pannirukan namaku avanga 30 mins la vaika maatanga nama nalla panna extra time avangale tharuvanga😊
yess kandipa time kudupanga! inga just video purpose kaga oru challenge kaga 30 mins vache bro 😁
Palindrome num =0 vera mari reaction bro😂😂😂
😂😂😂
Bro antha github 100 zoho questions enga kidaikum
description la iruku bro use panikonga !
Andha Zoho question link venum bro
Update paniten bro description la iruku. keep Supporting !
Why you are using Java? Why can't you use C or python?
We can use both🙌🏻! As far as i heard in some zoho rounds u need java or c++ to survive like oops round !
Why I am not shortlisted yet😢😢
Dont worry 🙌 everyone story is different. you will get a offer soon!
This questions mentioned here for which round.
For coding round brother!
Bro idhu second round ju adhu modalla first round clear pannanum la adhukku video podunga bro plse
Kandipaa podure bro!
palindrome aa stack use panni check pannalam
using stack take space higher
Yeah stack is useful to reduce time complexity but also increasing space complexity😂
Bro antha 100 questions real la kettatha interview la
yess bro ellame zoho coding round la ketadhu!
Bro Continue your Dream 500 dsa playlist.
Sure bro kandipa continue panre athu pathina update oru video kudiya skram varum ! Keep supporting
Does we get mail even though we r not shortlisted
yep! you will get a email if youre shortlisted 🙌
Bro indha set of questions podhum ha prepare pana
Indha Questions solve pana zoho coding round epd irukumnu oru idea kadaikum bro
Bro zoho la reference muliyama pona ena mari rounds irukum
mostly reference muliyama pona interview round straightah polam ilana coding round polam bro. different companies and different roles poruthu athu
ok bro
@@prepdude
Bro will zoho hire freshers?
Yess 🙌🏻💪🏻
😂
😂😂😂
do videos in english all indians watching your videos
Sure Brother 🙌 ! i try to add subtitles soon !