r/programming • u/speckz • 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
1
u/AmalgamDragon Mar 02 '17
Strawman. That isn't what I said.
I didn't say BST. I said binary tree (and some pointers for caching) beyond the linked list. I also didn't say what was in the binary tree or the pointers for caching. It's not the numerical values. Using just a BST won't get you O(1) for getting the min, max, median, and a fixed number of percentiles all at the same time.
Another strawman. The solution is superior in the real world in that it allows getting the min, max, median, and a fixed number of percentiles as O(1) while also maintaining the same O(lg n) for insertion and O(n) for memory usage.
Another strawman. You aren't threatening. Merely egotistical and hypocritical.