r*****s 发帖数: 1815 | 1 https://www.quora.com/Algorithms-Why-is-there-so-much-hate-here-for-
algorithm-interview-questions
复制一个答案
Zaki Shaheen, Engineer in Bay Area
Answered Feb 24, 2016
"Most people would rather die than think; In fact, they do" -
Bertrand
Russell
I have interviewed both as an interviewer and an interviewee at several jobs
. I believe unless the haters can provide an alternative interviewing
mechanism that has proven to work in given constraints of HR and recruiting
teams, this is the best way we know how to filter expertise.
I believe they hate it:
... because these questions require preparation and revisit of the
fundamentals, practice, deep thinking and throws people out of their comfort
zone.
... because if you are unable to answer them, the interview can make a poker
face on you for your degree and expertise. "But I can do loads of
other
stuff than this bookish knowledge"
... because they think these problems are not required in real world. **
... because it levels the playing field. Everyone has access to these
questions, everyone has learned them at one point, it gives a decent mental
challenge to everyone. They are so easy to be followed up (e.g. tree search
on a parallel system? complex DOM manipulation from a Chrome extension
without a heavy external library?)
... because they are haters. They would equally hate being challenged to
design a system using OOP, non-OOP, design patterns, functional, whatever.
If you ask them to design classes for a Zoo, they'd invoke some functional
programming hipster who thinks OOP is dead. If you ask them about writing
automated tests, they'd invoke DHH who think TDD is dead. If you talk about
databases and querying, they'll counter it with "we use ORMs and we don
't
have to write queries". If all else fails, haters will say they can
just "
google it". Well, sure. But "You Can't Google Your Way Into Google
".
** Really? I think if you haven't, in your gazilion year's of software
development experience, ever experienced a problem that required knowledge
of trees, graphs, linked lists, memory management or database queries - you
either have been doing trivial jobs in software development or simply it
never occurred to you when these could be used.
Before I start getting poked by Quora uber-developer pitchforks as happened
in this questioN; What are five problems every programmer should be able to
answer? let me put forth some examples:
In iOS, a view hierarchy is essentially a tree. Dynamically creating and
managing these views requires 'knowledge' of how a tree is structured and
works.
in iOS, even though we have ARC and the memory management is not a big
problem in most cases - you can still get into retain cycles and such. In a
sufficiently advanced application, its almost inevitable to face this
problem if you are working with a diverse team. It requires some knowledge
of graphs, cycles and how to go about visualizing them.
In the plant engineering and specifically piping industry, if you are
building a software to design the piping system - you will need graphs.
If you are writing games on a grid system, writing shortest path algorithm -
you will need graphs
if you are manipulating the DOM, you are manipulating a tree. Having the
knowledge can guide you into writing better frameworks - like React.
There are numerous examples and unless you are looking for a trivial job,
these skills are required. | z*********n 发帖数: 1451 | 2 看来这个争论是不分国籍不分种族的。
那些说中国人刷题把中国人面试bar弄高的可以RIP了吧。 | t****b 发帖数: 2484 | 3 找我内推的小印们都说自己leetcode刷了2遍
当然板上反对派还可以说中印无人权 只有白人刷题才算刷题
: 看来这个争论是不分国籍不分种族的。
: 那些说中国人刷题把中国人面试bar弄高的可以RIP了吧。
【在 z*********n 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 看来这个争论是不分国籍不分种族的。 : 那些说中国人刷题把中国人面试bar弄高的可以RIP了吧。
| y**********u 发帖数: 2839 | | i*****9 发帖数: 3157 | 5 确实是中印把Bar 弄高的,这边的小白要面技术职位的话门路还不一定有刷题的中国留
学生多。他们很多连去哪儿刷题都不知道,问也不知道去哪儿问。
小公司的实习经历他们倒是容易混到,要去大公司一点不比索男容易。
:看来这个争论是不分国籍不分种族的。
: | z*********n 发帖数: 1451 | 6
这样的话,那更要玩命刷了,现在已经赶跑白人了,争取把bar升到连印度人都进不来
,造福广大中国同胞。
【在 i*****9 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 确实是中印把Bar 弄高的,这边的小白要面技术职位的话门路还不一定有刷题的中国留 : 学生多。他们很多连去哪儿刷题都不知道,问也不知道去哪儿问。 : 小公司的实习经历他们倒是容易混到,要去大公司一点不比索男容易。 : : :看来这个争论是不分国籍不分种族的。 : :
| i*****9 发帖数: 3157 | 7 哈哈,我们邻居的亲戚小孩来找我们求内推,也是自己说刷了题了,但自己找不到有新
题的网站。这是在这儿好几代了的白人。
:找我内推的小印们都说自己leetcode刷了2遍
: | t****b 发帖数: 2484 | 8 我问了身边的小白老白 大家都知道要刷leetcode
其实Google的hr就会明确告诉你要刷LC 面试完之后的feedback还问你 以下刷题网站你
用过哪个 其中lc topcoder 赫然在列 我忘了有没有poj
: 确实是中印把Bar 弄高的,这边的小白要面技术职位的话门路还不一定有刷题的
中国留
: 学生多。他们很多连去哪儿刷题都不知道,问也不知道去哪儿问。
: 小公司的实习经历他们倒是容易混到,要去大公司一点不比索男容易。
: :看来这个争论是不分国籍不分种族的。
: :
【在 i*****9 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 哈哈,我们邻居的亲戚小孩来找我们求内推,也是自己说刷了题了,但自己找不到有新 : 题的网站。这是在这儿好几代了的白人。 : : :找我内推的小印们都说自己leetcode刷了2遍 : :
| z*********n 发帖数: 1451 | 9
POJ没有。。LC, G4G, Topcoder, Hackerrank都有。LC好像还排第一。CF貌似没有。
【在 t****b 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 我问了身边的小白老白 大家都知道要刷leetcode : 其实Google的hr就会明确告诉你要刷LC 面试完之后的feedback还问你 以下刷题网站你 : 用过哪个 其中lc topcoder 赫然在列 我忘了有没有poj : : : 确实是中印把Bar 弄高的,这边的小白要面技术职位的话门路还不一定有刷题的 : 中国留 : : 学生多。他们很多连去哪儿刷题都不知道,问也不知道去哪儿问。 : : 小公司的实习经历他们倒是容易混到,要去大公司一点不比索男容易。 : : :看来这个争论是不分国籍不分种族的。 : : :
| r*****s 发帖数: 1815 | 10 一上来刷poj肯定不行
learning curve veli steep
其实如果只刷poj要刷到lc 300题水平,要很久很久
但是poj要是刷到一定程度。。。
: POJ没有。。LC, G4G, Topcoder, Hackerrank都有。LC好像还排第一。CF貌似没
有。
【在 z*********n 的大作中提到】![](/moin_static193/solenoid/img/up.png) : : POJ没有。。LC, G4G, Topcoder, Hackerrank都有。LC好像还排第一。CF貌似没有。
|
|