here's an interview problem
May. 6th, 2014 10:14 pmhttp://qandwhat.apps.runkite.com/i-failed-a-twitter-interview/ (10x
polycode)
Take a look.
Ithink thought it is not fair to ask this kind of questions from programmers that do not have an education in geometry. It's not a programming problem, it's just geometry.
Get a convex hull, split into chunks by the top vertices; find largest area. - BULLSHIT! does not work.
E.g. print $ solve [4,3,0,0,0,0,0,0,1]
But if a candidate is not familiar (or too familiar, like me) with all this crap, they'll go with a bunch of stupid "solutions", especially stressing "optimal" ones.
Makes ZERO sense to me. It is a bad interview question.
![[livejournal.com profile]](https://www.dreamwidth.org/img/external/lj-userinfo.gif)
Take a look.
I
E.g. print $ solve [4,3,0,0,0,0,0,0,1]
But if a candidate is not familiar (or too familiar, like me) with all this crap, they'll go with a bunch of stupid "solutions", especially stressing "optimal" ones.
Makes ZERO sense to me. It is a bad interview question.