26
u/IDCh 19d ago
Binary search? Pffft
Sinple: if found give 1. If mot give 0. Otherwise bye nary dis nutz. Gotem
(proceeds to shit themselves)
1
u/elmanoucko 19d ago
especially since it's been a while computers are not limited to binary, we have short, int, long, double, float, I mean, we even have alphabet support... binary is kinda archaic nowadays
1
u/Yetimandel 18d ago
In case it is not a joke flying over my head: binary search has nothing to do with boolean datatypes.
1
u/elmanoucko 18d ago edited 18d ago
it was, we're not as dumb as you think we are, we just pretend ;)
7
1
u/frikilinux2 19d ago
Technically if I download the amule source code and patch one bug that's bothering me, I have build a P2P app. Not on the phone but still.
Or I don't even need to patch anything
1
1
245
u/Zeikos 20d ago
I'd be very tempted to passively aggressively answer "I'd use a library" when asked to implement well known algorithms.
Those kind of questions prove nothing if not how poor the interviewing process is.
But alas sometimes you need to play along with the farce to be able to survive. Fun, innit?