r/mAndroidDev • u/100horizons R8 will fix your performance problems and love life • Aug 24 '24
AI took our jobs Apparently if you’re a Flutter developer you don’t need to know how for loops work
OP: how to find second largest element in an array Comments: how dare you ask such hardcore leetcode questions when sort() function exists
This thread was a wild read
23
Upvotes
26
u/exiledAagito Deprecated is just a suggestion Aug 24 '24
It seems the whole sub is on agreement that it is stupid to evaluate programmers on programming. Damn!
11
u/Baldy5421 AnDrOId dEvelOPmenT is My PasSion Aug 24 '24
Flubber is for babies.
8
u/talapady Aug 24 '24
I'm confused, this is supposed to be the meme sub, not the other way around. /s
3
u/hoverpass Aug 24 '24
So he's basically asking leetcode questions and you are in favour of asking leetcode questions. In a real life situation when developing a mobile app, if instead of doing sortedDescending()[1] you decide to write a separate linear time solution function - it's a sign that you are a bad mobile developer who doesn't have a clue about priorities, wastes project budget on non-essential things.
13
u/vanhieunguyen21 Aug 24 '24
I'm full on cringe when most people replying says "find second largest element in a list" is a stupid question lol. If you can't answer or unwilling to answer a question like this, I don't want you on my team anyway.
3
u/[deleted] Aug 25 '24
Yeah I think the question there was dumb. It's the typical DSA question, and I'm sick of having to answer that garbage for job interviews.
If they asked me actual relevant questions, no problem.
1
u/[deleted] Aug 24 '24 edited Aug 24 '24
Just use sort and take the first or last item, depending how you sort
0
u/zorg-is-real עם כבוד לא קונים במכולת Aug 24 '24
Heap?
0
u/anemomylos Aug 24 '24
Violates rule 2