r/programming • • Mar 01 '17

Programmers are confessing their coding sins to protest a broken job interview process. “Whiteboard” interviews are widely hated. They also discriminate against people who are already underrepresented in the field.

https://theoutline.com/post/1166/programmers-are-confessing-their-coding-sins-to-protest-a-broken-job-interview-process
1.0k Upvotes

717 comments sorted by

View all comments

Show parent comments

-2

u/AmalgamDragon Mar 01 '17

Being able to reject about a quarter of people with an interview I have put minimal time into preparing is already pretty good.

Not for the candidates or your company.

You seem like the kind of guy who would smugly reject a solution that used a doubly linked list with a mid-pointer that is maintained in sorted order via binary search insertions. Same O(lg n) to insert values, the same O(n) memory usage, and the same O(1) to get the median, but not the 'right' answer even though it let's you get the min, max, and percentiles in O(1) as well.

3

u/quicknir Mar 01 '17

You can keep dropping personal insults and snark throughout these posts, it doesn't make anything you say seem more correct.

I'm always happy to hear solutions I haven't thought of. Would like to hear for your solution how you plan to do binary search on a doubly linked list with a mid pointer.

1

u/AmalgamDragon Mar 01 '17

You can keep dropping personal insults and snark throughout these posts, it doesn't make anything you say seem more correct.

Nope, and that isn't the point of those comments any more than they were the point of your such comments. Rather the point is that your own such comments needed to be answered in kind.

I'm always happy to hear solutions I haven't thought of. Would like to hear for your solution how you plan to do binary search on a doubly linked list with a mid pointer.

There's a trick to it. Are you unable to figure out what it is?

2

u/quicknir Mar 01 '17

None of my comments insulted you personally in any kind of way.

No, I can't figure it out. Please tell me. How do you do it?

→ More replies (8)