Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

Has it been two weeks already (since, you know, the last thread complaining about Google's hiring processes)?

You can know a library that does exactly what the question wants, if anything that's a plus, but you should roughly know how something like that actually works.

Our process isn't problem-free. We gets hundreds of thousands of applications a year. Who else has that scale of a recruitment problem?

There are a lot of myths about our interview process. Take this post: he says he doesn't have a degree from an "elite university". Neither do I and neither do most of my coworkers.

Having no degree at all is a problem but not an insurmountable one.

As for us allegedly not being interested in your open source contributions, nothing could be further from the truth. Recently the guy who did Firebug just got hired to work on Chrome developer tools. Do you really think his Firebug work had nothing to do with this?

As for what team you'll be working on, you as a candidate have a lot of power in that regard. You can specify you're only interested in working on something in particular or you can simply communicate some preferences. Those preferences affect the allocation process.

Our predilection for simple coding problems and requiring a certain level of algorithms knowledge is nothing new. What constantly surprises me is how many people I see go through the process that obviously haven't just picked up a copy of Skiena's book and brushed up on the fundamentals.

I can understand the motivation of people not to go through the process a second time. I was in the same boat. It can be a frustrating process. It's imperfect. Occasionally I'll hear people say they will never go through it because of what they've heard.

As Homer puts it, "trying is the first step to failing".

I'll leave you with three recommendations for anyone interested in applying here:

1. Go through the first half of Skiena's algorithm book (the last half is applications, which, while interesting, isn't as crucial). If you're not comfortable with graphs and dynamic programming, sorry but you just haven't prepared;

2. Practice some code problems on a whiteboard; and

3. Go through recruitment with a referrer. You're MUCH better off with a recommendation from someone who already works here. Even if they don't necessarily know you (and thus can't provide a strong reference), they can chase up what's happening with your application with the recruiter and probably get more information than you, as an external applicant, can.

EDIT: let me add a fourth piece of advice:

Treat your career at Google, if you're fortunate enough to have one, as a marathon not a sprint.

If you're really unhappy on whatever project you end up on or with the team you're with, that can all be changed. A lot of effort is made to make people happy. So you can express your concerns and disappointment with your manager, your manager's manager, HR or whatever is most appropriate.

Additionally, the ramp-up time at Google can be significant. 3-6 months. Possibly longer. Another approach is to do what project you end up, learn our tools, build system, processes, etc. In that time make connections to other teams. Find out what else is going on and what you're interested in doing.

There is an awful lot of internal mobility that's possible.



Perhaps you're missing the point of the article?

The original poster is complaining that evaluating a "Community Relations Manager" against their ability to reguritate the first half of Skiena's algorithm book (on a whiteboard, without syntax errors) is not a valid test of their ability to manage community relations.

From an engineering point of view (or more accurately Psychological), their tests are failing to stand up against any measures of validity http://en.wikipedia.org/wiki/Validity_(statistics)

Google's "scientific hiring process" appears to be broken , not because of any problems with the principles of testing candidates, but because the engineers who designed the tests failed to ensure that their tests were valid measures for the roles they're hiring people into.

You know the phrase "when all you've got is a hammer, everything in the world starts to look like a nail"? I think that's possibly what the engineer-hiring process has managed to create at google.

It isn't all disadvantages. There's every possibility that placing an engineer in a community-manager role could lead to new solutions to "the problem of community management".

So maybe the external evaluation of "invalid and broken" is actually a business decision and done that way by design.


Links to past 'complaints'?

You haven't addressed his fundamental complaint: don't contact him.

"As for what team you'll be working on, you as a candidate have a lot of power in that regard."

Are you serious? Allocation is a joke. It's hard to say what you are willing to work on in sufficient detail when you don't know what choices you have.

(I work at Google.)


I too work for Google, and one of the people who interviewed me had a really interesting team. So I asked to be put on it, and I was.

What "allocation is a joke" experiences have you had?


I was apparently lost in the shuffle, so when I contacted them a week before my start date to ask what was going on, they came back three days later with a single team.

I met with the team, and told my recruiter that I didn't mind working with them (though it's not clear what would have happened if I had). I was then given a form with room for a dozen teams, and asked to rank my only choice on a scale from 1-10.


If you asked for a team straight up, you basically didn't go through allocation.

You're right that anybody can ask for a team. In practice, most don't realize that they should be discussing allocation before they sign the offer letter, when they have the most leverage.

I know of people asking for and getting put on 'interesting teams' -- only to find themselves idiotically placed, in parts of a shockingly large team that make no sense given their backgrounds and motivations.

It's not the end of the world, but it makes for a tough first year.

I made some other points at https://hackernews.hn/item?id=2801866.


I was given a preference sheet to fill out after receiving an offer, and I was given my first choice, also. It seems there is quite a bit of leeway to change teams if one finds something else more interesting.


You had a bit more leverage going in than most, be fair.


I don't think I had more leverage than most (I came in off a failed startup, plus two years of work experience before that and a pretty mediocre GPA), and they gave me my choice of teams. I was allocated to Search, but the recruiter made it clear that if I had a problem with that, there were other teams - GMail, Docs, etc. - that wanted me and I could go there.


I also work at google, and also wonder what your bad allocation experiences are. A friend of mine started on Android team, didn't like it, and transferred to Google Books 5 months later. I think you are only supposed to transfer once every 1.5 years, but there's leeway to accomodate for bad allocations.


Leeway seems to vary across different parts of the company, but the presence of leeway is irrelevant to the quality of allocations.

I don't want to focus on my experiences in public. They've given me a bias, yes, but lots of other sample points I've gathered indicate that allocation is broken, and that it's not a priority to fix it. Nooglers have to be prepared to sink or swim.

A. Inevitably in a company of this size, certain groups and certain job categories have more trouble filling positions than others.

B. The technology stack at Google is deep and complex, has poor useability, and requires time to acquire fluency in. Given a choice any group will recruit experienced Googlers over nooglers.

C. Combine A and B and you end up in a situation where nooglers are, by and large, shoveled into large projects that 'nobody wants to go to'.

D. In theory you get to chat with 6 different groups. In practice things are far more perfunctory. 2 or even 1 is not uncommon (running out of time like prospero is common: https://hackernews.hn/item?id=2801016). If you indicate the weakest sense of 'yeah I could work in this team,' prepare to receive no more options.

E. The difference in quality of service (response time, level of understanding of your situation) between hiring and allocation is night and day. It's obvious why: hiring has to interact with recruits before they commit to joining, while allocation interacts after.

F. Even if you had 6 options, you're still chatting with managers in the presence of a huge information imbalance. You have nothing to go on but what they tell you. Even without meaning to be misleading or dishonest, they're unlikely to give you more than a perfunctory understanding of what your prospective team does, what it's working on (they wouldn't have mentioned Google+), or what skills it requires (rarely what you were interviewed about).

---

Google's a great place to work, and it's been very good to me. I've learned huge quantities working here. None of these problems are insurmountable. I see signs that they're seasonal; they gradually get worse for a time until they start impacting metrics, at which point leadership focuses on them and fixes them for a time. Some of us have a tough first year; it's not the end of the world.


>Treat your career at Google, if you're fortunate enough to have one

You nailed it here. People agree to be treated as sh!t just to be included into the set inclusion into which is perceived as being "fortunate".


"We gets hundreds of thousands of applications a year. Who else has that scale of a recruitment problem?"

IBM employs 400,000 people worldwide. Google has something like 25,000. http://en.wikipedia.org/wiki/List_of_companies_by_employees

Answer: A lot of people? Google isn't anywhere close to the top employer by size in the US/world (and even by number of applications, surely other companies get more).


Like you, I disagree with some of the points in her blog post, but I can't agree with your statement "As for what team you'll be working on, you as a candidate have a lot of power in that regard."

I had one referral decline an offer because he wouldn't know what project he would be working on until he was hired, and therefore, didn't know if it would be more enjoyable than his current job. I also knew PhDs who were hired and expressed disappointment that the project they were working on didn't make use of the specialized material they studied towards their degree. And I wouldn't think that the majority of new engineers assigned to ads projects expressed advertisement as a preference with their recruiters.

But most new hires, well, get over it.

Yes, there are some cases where people are recruited with specific expertise to fulfill specific roles, e.g. John Barton of Firebug or Sebastian Thrun for the self-driving car. But this is the exception and not the rule.


The thing that really kills me about Google's allocation process is how it screws nice people.

I keep hearing about applicants who get offered something that they never in a million years would have applied for. They say something like "well, I guess I could live with that," which is nice-personese for "I wouldn't actually kill myself, but I might consider it." And bam, they're working on something they have no passion for.


>Yes, there are some cases where people are recruited with specific expertise to fulfill specific roles, e.g. John Barton of Firebug or Sebastian Thrun for the self-driving car. But this is the exception and not the rule.

But they make such good cover for people who want to play apologist for Google's hiring practices!


It sounds like your process optimizes for bright 22yo kids straight out of the institutional lifestyle of school. SAT prep -> college -> Google.

Any other company, I can talk to them about what they actually need, what challenges the business is facing, what I would bring to the table, etc, basically a human conversation about the day-to-day and the big picture at that company.

It sounds like an interview with Google would go like BLEEP YOU HAVE SCORED 4.789/5 BLEEP SCORE SUFFICIENT BLEEP PROCEED TO ALLOCATION.

I mean, not to put too fine a point on it but fuck that noise. There are plenty of kids with a higher GPA than I had, graduating from top schools, and they're much more cool with being herded through a system like sheep. They're your ideal candidates. They also don't have much/any real-world experience, so you're relying on your senior engineers for anything that requires spider-sense. You're not importing any, anymore, because most good/solid 30+yo engineers want to know what they're working on before seriously considering an offer.

Not that I have a better idea for recruiting for companies with >1k engineers, I doubt IBM's process is much better. ("I can be a senior solutions architect? Cool!").


So if you're a tester or a UI interface person or a sysadmin whose work shouldn't really mean worrying about the big O order of algorithms - should these people also be asked questions about algorithms?

The comments at the end of the blog post talked about a tester with years of experience being asked coding questions after she told the interviewer that she wasn't a coder.

Another comment mentions a sysadmin applicant being asked similar things.

The impression I get is that Google hires a lot of smart people to make technically hard things work very well (e.g. search), but fail in other areas that require a softer approach (e.g. Google Wave).

So perhaps instead of focussing on algorithms, would it be wise to talk about problems that an interviewer (say a tester or sysadmin) might be facing in their daily work?


> So if you're a tester or a UI interface person or a sysadmin whose work shouldn't really mean worrying about the big O order of algorithms - should these people also be asked questions about algorithms?

Let's address each individually:

- UI design person: we have UI/UX people, which is essentially a non-engineering discipline so won't have the same requirements. There are FE (front end) engineers who will be expected to have the same theoretical foundation as any other engineer;

- the guy says he interviewed as a tester. Google's definition of a tester is different to that of most company. We have SETs (System Engineers in Test), who are expected to have a solid theoretical foundation. This makes more sense once you understand that most of our testing is automated rather than, say, writing and executing manual test scripts.

- Sysadmins (SREs; Site Reliability Engineers) fall into two different categories: those with a more programming bent and those with a more sysadmin bent. The first lot will be asked algorithm questions. The second are more likely to be asked questions about networking, Linux administration and so on (the first will get these too but probably less).

As for Google Wave, my personal opinion is that it was a solution in search of a problem so I wouldn't look at it as a failing of "softer" disciplines.

Google+, as an example, seems to have been received very well, including on the UI/UX front, which would seem to fall in the same "softer" category. The early G+ successes and positive reaction IMHO stem from a more solid design that delivers value to users, something I don't think Wave ever did.

One last thing I'll add is that Google's career ladders don't necessarily match up exactly to what you'd expect and those ladders are constantly re-evaluated. New ones come into being. Some disappear entirely.


I've personally found the Google hiring process disappointingly vague, and I felt a lot like the OP. Do you want me to build a solution or do you want me to tell you what the Big-O notation is for an algorithm? These two are not necessarily the same thing. The one-size-fits-all interview style doesn't work, particularly if you get a crappy draw on the interviewers.

The odd thing to me is that the Google hiring process optimizes for the theoretical, but everything I've seen seems to indicate that the practical is what moves you up the ladder at Google. And by practical, I really do mean it. Google (rightly, IMHO) values Getting Stuff Done and then optimize later for a number of job roles. And the people who I know who are very good at the theoretical can be quite poor at the practical, and it's detrimental to Google to hire those people into those roles.

The hiring process simply doesn't seem to link to the reality.

(I'm a Google intern, so I agree there's likely to be some skewed viewpoint)


Reminds me "You cannot find a person who knows everything." How to interview a candidate? http://rajeshanbiah.blogspot.com/2009/01/how-to-interview-ca...


As for Google Wave, my personal opinion is that it was a solution in search of a problem so I wouldn't look at it as a failing of "softer" disciplines.

It kills me that so few people at Google even understand what good product people do.

We engineers love solutions. We have entire books of them. We are hypnotized by tool catalogs and hardware stores because they are full of lovely, lovely solutions.

Good product people, though, focus on the actual problems that people have. When solutions are proposed, they test them intensively on real people to see if they actually deliver benefit. If not, they don't ship them.

Google Wave is absolutely a failure to appreciate "softer" disciplines.


It's too early to say "G+ success".


I think Skud's comment (Skud is a she btw), that google relies too much on technical knowledge and has a dearth of people with soft technical knowledge in their organisation is probably valid.


It's valid. Those people keep quitting, or they keep being filtered out by the hiring process.


You can know a library that does exactly what the question wants, if anything that's a plus, but you should roughly know how something like that actually works.

Even if the person interviewing is for a developer relations position, a job they were already doing pre-acquisition?

Also there is something very inhuman about calling the process "allocation".


Here's the thing that gets me, you don't seem to realise that Skud is female.


As for what team you'll be working on, you as a candidate have a lot of power in that regard.

Well in my chat with a Google recruiter I mentioned the self-driving car project.... but it sounds like that team has no trouble finding talent.


he says he doesn't have a degree from an "elite university".

I see that the belief that an IT-person is male by default rears it's ugly head once again: Skud is a "She", not a "He".


Oh, come off it. The vast majority of people in tech are male. It's a good statistical bet that referring to an unknown techie as such will be correct. Saying "she" by default is silly, but men just don't complain about it. "They" is awkward and imprecise, and "xe" is retarded. If you're offended by someone referring to you as "he", simply correct them. Or, you know, try not getting offended by stupid minutiae.


If we're going to have a grammar flame, then using "They" for the first-person singular of indeterminate gender has wide usage & goes back a long, long way.

Personally, I'd far rather people use "They" than drop people in the "male" box because they can't be bothered to find out the gender of the person they're referring to.


This argument about 'they' being acceptable seems to have become extremely popular in the last couple months (or maybe I just didn't notice it before then). I find it to be unconvincing at best.

I think that "aks"[1] instead of "ask" has wide usage and goes back a long, long way and yet I suspect that if you here someone say or write "Let me aks you a question" you would think they were completely wrong.

Just because Shakespeare used a word a certain way doesn't mean that it's usage is acceptable.

[1] http://en.wiktionary.org/wiki/aks


Singular they has seen wide use for centuries starting with Chaucer and picking up Lewis Carroll, Walt Whitman, George Eliot, Shakespeare, William Thackeray, Jane Austen and Oscar Wilde along the way (list shamelessly stolen from http://motivatedgrammar.wordpress.com/2009/09/10/singular-th... ).

If you've only noticed it in the last few months then I suggest that you've not been looking hard enough!


The point of my comment was that I am certain that if you look hard enough you will find any number of nonstandard constructions that you would reject, despite it being included in Chaucer and Shakespeare.

I was already well aware of it's long historical usage, I simply would only rarely see someone say "Chaucer used it, therefore it's fine to use on a resume!" The spelling "aks" for "ask" is one such example that you could find nearly as many high profile historical usages, and no one argues that it is an acceptable spelling.

(Also half that list is exactly the kind of people that you would find an enormous amount of nonstandard usages; Chaucer is Middle English, Shakespeare was famous for writing in common vernacular, Lewis Carroll is famous for his literary nonsense and wordplay; hardly the best sources for what would be included in 'high' English)


Did you read the rest of the blogpost I referred to? Alternatively, Language Log has a whole category assigned to the use of singular they: http://languagelog.ldc.upenn.edu/nll/?cat=27

English is defined by usage; Singular they has very widespread use from the time of Chaucer to the present day. Only mad grammatical prescriptivists object to it :)


I love that you'd rather be precise but wrong than imprecise but correct.


I'm fine with a solution that is elegant and works perfectly well 95% of the time, rather than one which is clumsy and works sort of well 100% of the time.


I also love that you think reinforcing biases and helping to keep women out of the field qualifies as working "perfectly well". Perfectly well for you, I guess.

Say, I've noticed that most of the time when somebody argues vigorously in favor of some sexist behavior, they're a misogynist asshole. I'm sure you won't mind if I assume that describes you as well, right?


Feel free to believe whatever you want; I long ago learned not to argue with fanatics on the internet.


Never heard of a book by Skiena, so at Amazon found it and looked at the table of contents.

Google should be ashamed to be very impressed with that book! The topics that are just computer science are not very good, and the topics that are good are not really computer science and are covered poorly in the book.

One way and another, for nearly all the topics in that book, I've worked much more deeply with the topics from other sources.

E.g., there is just one, short section on linear programming. Gee, that's part of optimization! I've worked in linear, non-linear, linear integer, multi-objective, quadratic, network linear, and dynamic programming! I've published peer-reviewed original research in non-linear programming.

Network linear programming is especially important: (1) the simplex algorithm becomes especially efficient, and astoundingly large problems can be solved astoundingly quickly (e.g., see the work of W. Cunningham on 'strongly feasible' bases), (2) if the arc capacities are integers and the problem is feasible and bounded, then there is an initial basic feasible that is integer and the network simplex algorithm will maintain integer solutions to optimality, (3) network simplex is also a good way to solve a wide variety of matching problems. In particular, a large fraction of practical integer linear programming problems are in fact such network flow problems or closely related so that a network flow formulation and the network simplex algorithm yield integer programming at no extra cost!

In particular, seeing integer linear programming, there is no good reason to rush to claim that the problem is in NP-complete. Instead, if only via network linear programming, often in practice there is good news.

E.g., there is a short section on hashing, but a discussion on hashing should discuss both extendible hashing as in

Ronald Fagin, Jurg Nievergelt, Nicholas Pippenger, H. Raymond Strong, 'Extendible hashing—a fast access method for dynamic files', "ACM Transactions on Database Systems", ISSN 0362-5915, Volume 4, Issue 3, September 1979, Pages: 315 - 344.

and also perfect hashing. Extendible hashing is a very nice idea; we used it in one large project that resulted in a high quality commercial product.

For "If you're not comfortable with graphs and dynamic programming, sorry but you just haven't prepared"

If Google wants people to know dynamic programming from Skiena, then Google is "not prepared"!

The glory of dynamic programming is how it handles uncertainty. Then it is essentially the discrete time case of stochastic optimal control and Markov decision processes. The Markov assumption, e.g., via conditional independence, is important. There is a lot to the subject, e.g., the certainty equivalence of the linear, quadratic, Gaussian case, multi-variate spline approximation, scenario aggregation, dynamic programming approaches to the knapsack problem, the technique of doubling up number of stages, and more. There are some theoretical issues, e.g., measurable selection.

The interview I had from Google just asked my "favorite programming language". Apparently the answer had to be C++. Due to the semantic mud hole of Stroustrup's book, the terrible threat of memory leaks, the nonsense of 'cast', 'the heap', and 'the stack', the brain-dead exceptional condition handling, the really weak compiling of string operations, the clumsy and slow design of arrays, the far too simple design of structures, the brain-dead rules for scope of names, etc., no one who takes solid software very seriously should have C++ as a 'favorite'. Moreover, the question of a 'favorite' programming language drags the discussion into the old mud hole of religious arguments about programming languages any organization serious about computing should long since have known to avoid. A good answer is that all the common programming languages suck; some suck in unique ways; some suck for certain purposes; and overall some suck more than others. Once I didn't say C++, the interview was over. Good riddance.

Apparently the Google interview process is looking for only not very well informed candidates with excessively narrow and elementary qualifications.

The people running the interview processes seem not very well qualified and a bad influence on the future of Google.


The topics that are just computer science are not very good, and the topics that are good are not really computer science and are covered poorly in the book.

You know that after reading only the table of contents?

One way and another, for nearly all the topics in that book, I've worked much more deeply with the topics from other sources.

You worked much more deeply the topics in a book that you didn't read or even see? And that's an argument for what? What relevance this has to anything?

E.g., there is just one, short section on linear programming. Gee, that's part of optimization! I've worked in linear, non-linear, linear integer, multi-objective, quadratic, network linear, and dynamic programming! I've published peer-reviewed original research in non-linear programming.

Good for you, I guess. Again, what relevance this has to the discussion? Because you did research you now want everyone to spend at least a year learning optimization? You want all books to cover only advanced optimization and not the basic stuff? You want Google to hire only people who took a graduate-level optimization course? Doesn't make much sense.

It's hard to read this combination of arrogance, self-promotion and name-dropping, which in the end hardly adds up anything to the discussion.

Also, the book by Skienna isn't the "official Google knowledge base", it is just a book people recommend because it happens to be an easy way to prepare for this certain kind of interview, I guess it started with Steve Yegge recommending it on his blog for this purpose. I don't understand what's at all the purpose of discussing its contents, when it doesn't have any relevance to the topic. From what I understand they simply ask you some basic algorithm questions at Google and I guess that's pretty natural.


My main point in response to the post from the Google recruiter is that Google's recruiting process is messed up, say, arrogant, inwardly directed, process oriented, too narrow and particular, bending over backwards to find silly reasons to reject people, and with irony, actually not "prepared".

My evidence is (1) the emphasis in the post on Skienna and the contents of that book, (2) the claim about lack of knowledge of dynamic programming meant not "prepared", (3) the common complaints about the Google process emphasizing tricky questions, and (4) my experience where, with irony, if they like the topics in Skienna, I certainly should have done well in the interview but didn't.

"You know that after reading only the table of contents?"

Sure: I know nearly all the topics quite well. For the depth of coverage of the book of each of the many topics, can conclude that the depth is shallow because of the wide variety of topics in the book, a 'catch all', the few number of pages for each topic, and the lack of more table of contents outline details for the topics. E.g., in linear programming also need to discuss slack and surplus variables, artificial variables, feasible, infeasible, unbounded, bounded, optimal, basic feasible solutions, the simplex algorithm with reduced costs, a pivot rule, entering variables, leaving variables, convexity, extreme points, degeneracy, cycling, and performance. So, for much on linear programming, will need more than one entry in the table of contents.

"You worked much more deeply the topics in a book that you didn't read or even see? And that's an argument for what? What relevance this has to anything?"

It says (1) I'm qualified to claim that that book is a poor means of preparation for a good interview in an appropriate recruiting effort and (2), with irony, if Google actually likes the topics in that book, since I know the topics well, I should have done well on the interview but did not due to some Google recruiter's religious worship of C++.

"Good for you, I guess. Again, what relevance this has to the discussion?"

Again, the "relevance" of my knowledge of the topics in the book means that I have some qualifications to comment on the relevance of that book for interview preparation. My points here are that (1) Google should not be recommending a particular book, since really there are many sources including many much deeper than that book, but, perhaps, recommending a list of topics instead and (2) they should not be asking about dynamic programming.

"Because you did research you now want everyone to spend at least a year learning optimization?"

Heck no: I'm saying that mostly software developers should not be studying optimization and that a Google interview should not be asking questions about optimization at the level of that book. Mostly they shouldn't be asking about optimization at all. If, in some particular case there is a good reason for knowledge of optimization, then ask about the subject in a serious way.

Again, the claim that someone needed to know dynamic programming at the level of that book or was not "prepared" is absurd. At the level of that book, f'get about dynamic programming.

"You want all books to cover only advanced optimization and not the basic stuff?"

You won't find anything like good coverage of the "basic stuff" about optimization in that book. It's a very old story: There was a chemistry book that wanted to introduce group representation theory because it plays a role in molecular spectroscopy important for identifying chemical molecules. So the book had a few pages on group representation theory. They had a mess. The chemists came to the math department for some help. I ended up writing my honors paper on group representation theory. The lesson is, people in field B should not write short introductions to topics in field A. Instead, if want a short introduction to field A, then get it from someone actually in field A. It's important. Otherwise too often end up reading junk as in that chemistry book.

That book is awash in topics in applied math outside of computer science. The chances that the content is good, even for its short length, are slim to none.

There is a pattern in computer science: It keeps trying to borrow from other fields and, then, makes a mess out of the content of the other fields. A big example is how computer science borrowed 'machine learning' from statistics and made a mess.

More generally, nearly none of the profs in computer science are qualified to write about math at all. Sorry 'bout that.

"You want Google to hire only people who took a graduate-level optimization course?"

No. Except for a position that is clearly in optimization, Google should just f'get about optimization.

"It's hard to read this combination of arrogance, self-promotion and name-dropping, which in the end hardly adds up anything to the discussion."

What I "add" to the discussion is that Google is making a mess of their interviews. The "name dropping" is to establish my qualifications for saying that Google should mostly just f'get about optimization. The "arrogance" is Google saying that lack of knowledge of dynamic programming means not "prepared". Then there is the irony: Apparently Google is not "prepared" in dynamic programming in any meaningful sense.

For your last paragraph, the original post did make Skienna look like the "official Google knowledge base" for job interviews.

"From what I understand they simply ask you some basic algorithm questions at Google and I guess that's pretty natural."

No: The original post implied that a candidate should have reviewed the first half of Skienna including dynamic programming, and my view, from good knowledge of that material, is that, then, Google is doing poor interviewing.


You are probably a very smart person, but your replies in this thread read like the epitome of academic pedantry, verbosity, pomposity, etc... the `my claim is (1) (2) and (3), my qualifications are these, my blah blah blah' -- Google is an engineering company; maybe you are better off working somewhere else?


Calling writing pedantic is another word for "I like sloppier thoughts than these".

Precise and verbose writing is a hallmark of writing by someone who has put thought into the subject.


I wrote a post that was widely misunderstood. So, I responded with the style of (1), (2), (3), etc. to say JUST what I was claiming and to support my claims in a way that even a good present or would be Google employee could understand! So, yes, I'm "pedantic": Considering the complaints about what I posted, the 'pedantry' was, unfortunately, necessary.

"Google is an engineering company". My Ph.D. is in engineering!

Google should be a good place for people with my qualifications. That it is not is Google's failure, not mine.

For where I would be "better off working", I agree that I have better alternatives than Google, especially now if not when I had a Google interview.

My main point is nothing like your objections to my posts: Instead, my main point is just that the Google recruiting process is a mess. I am not the subject here; Google's recruiting process is! Making me the subject is confused based on some emotional instead of rational reactions. So, come on, hard nosed, highly rational, detail-oriented software 'engineers': Stay on the subject -- Google's recruiting, not me!


After reading your contributions to the topic I can't say I'm surprised that Google rejected you.

Arrogant, aggressive people drain so much energy from a team that it doesn't even matter how brilliant they are, they end up being a negative contribution.


The interview never got to any topics in that book. The interview got only to "what is your favorite programming language" and essentially stopped when I didn't say C++. There wasn't time for me to be "aggressive". I wasn't "aggressive" and was just looking for a job. To me, saying that C++ was my "favorite" programming language could have been a reason for disqualification! C++ plays an important role, but it is tough to have it as a "favorite".


I find it hard to believe any company, unless you were applying to Oracle to work on the JRE, would care what your favorite programming language was.

I don't work at Google, but having had a lot of other technical interviews, I'm almost certain that was a primer question in order to:

1) Get you to talk in a relaxed fashion, to calm your nerves. You get to talk about something you already know.

2) Guage your "passion level"

3) See how you think by probing why you picked that language.

Assuming you're right though, and it's because you said you love Arc and they decided to dismiss you, why exactly do you assume it was C++ you were supposed to answer? Did they specifically tell you "Sorry, the correct answer was C++"?

I'm really going to go with the grandparent and assume your answer to the "What is your favorite programming language" turned out to be so obnoxious that they rejected you based on personality. This is honestly something you can work on though.


No, it was clear enough that they wanted C++. I said PL/I. I wasn't arrogant about it at all. I doubt that the recruiter knew anything about PL/I or its pros and cons. So, I didn't get into a description of the pros and cons or get near any religious battles about programming languages.

In fact, PL/I has a lot of really nice design features missing from all the other programming languages popular now. Much or all of Multics was written in it. The Prime operating system Primos, much like Multics, was in part written in PL/I.

Why missing? C came forward in the 1970s because Bell Labs designed it for Unix for word whacking and wanted everything to run on an 8 KB machine or some such. At the time, IBM's PL/I ran fine on a 128 KB 360 Model 40, but then 128 KB was in every sense a LOT bigger than 8 KB. Also, at the time, writing a PL/I compiler was considered expensive, say, $40 million or more. That later PL/I got handled for quite modest funding was a surprise.

Due to anti-trust issues, Bell couldn't sell Unix so essentially just gave it away. Many universities got DEC computers and ran Unix. So, a lot of students learned C. C has a lot of problems with some traditional solutions given pointers, 'structures' of some kind, dynamic memory allocation, and 'entry' variables. Then C++ was just a pre-processor to C to make more definite these traditional solutions. Alas, both the syntax and the semantics of C++ are a mess.

C, and still C++, were, in a word, cheap. When Bell did C, and then C++, it was considered that implementing anything like PL/I would be far too expensive. PL/I has a much better collection of lessons for progress than C does. That C got so popular and PL/I was largely forgotten was a sad day for practical computing. Object oriented programming? It's easy enough with PL/I as it is, and, really, in part or whole, long was popular before C++. But that object oriented programming got to be mostly C++ built as a pre-processor to C instead of drawing from the lessons of PL/I (and more, e.g., Algol) was sad.

Net, for me, PL/I is much, much better than C and, still, even if want to use 'objects', better than C++.

But I didn't go into any of this with the recruiter at all. Such a description would have been considered too long and arrogant.

Net, Google is bending their arm all out of shape patting themselves on their back telling themselves that they are eager to hire Michelangelo to paint their ceiling but are using at best house painters to do the recruiting. There is a wide range between house painters and Michelangelo that Google doesn't know how to recruit. It won't work, and it doesn't work.

Google is violating a simple rule in technical recruiting: Under no circumstances should anyone in 'recruiting' or HR have any technical communications at all with a candidate. None. Zip, zilch, zero. The recruiting and HR people can schedule phone calls and visits, help with coffee, tea, water or soft drinks, explain where the restroom is, hand out the benefits packet, smile, be nice, ask what they can do to help, help with plane and hotel reservations, help with car rental, make getting reimbursed easy, etc. But technical? NEVER!

Any technical communications have to be limited to the management chain and, really, some other processes.

There is a fundamental problem: The need and the goal is to hire people who know things that some or all of the company so far does not know, or has capabilities the company does not have. So, that broad idea that the company will look down and 'examine' the candidate on material the company does not understand is fundamentally hopeless. Can't work. There are ways to select experts, but anything like the Google process is hopeless.

In particular, that book as "preparation" is an insult to any employee who would bring something new to Google.

Google believes that they are high up and looking down. That they are worth $195 billion, they are. Technically, especially in their recruiting, they are not.

This thread is not about me; it's about Google's recruiting. My experience is relevant only as a source of data I do have about their recruiting. Again, it's Google's recruiting, not me.


Since you like name-dropping credentials in relevant areas, I do minimal research in PL and I can say that PL/I is objectively far, far worse than C/C++. Why? Well, C and C++ both have huge flaws. Huge flaws -- no one who has ever programmed anything nontrivial in these languages would argue otherwise. So why are they better than PL/I?

PL/I has just as many flaws, if not more. Let's look at some of them.

1. PL/I compilers are awful. The number of people working on PL/I is a fraction of the people working on C/C++. C/C++ are getting faster, more correct, and more succinct every day. One of the most promising techniques for PL/I is compiling it into C and then calling gcc because PL/I is so bad. (And if you don't think build times are a factor in compiler construction you are sorely mistaken).

2. No one knows PL/I. This one's pretty easy. PL/I is write once, read once. C++ is write once, read many.

3. PL/I provides no compensation for its flaws by providing higher-level transformations and PL features (e.g. true higher-order functions, strong type safety, garbage collection). The cost of switching to PL/I is actually made worse by the fact that PL/I is at best slightly better to program in than C++.

4. PL/I build tools and deployment tools suck. Who cares if you can run it in a hundred processors on a mainframe? How is that useful in scaling to millions of people every second?

5. Where's the support for interoperability with other languages? C++ can be used with other languages through well-known and well-maintained paths. PL/I has no support.

Basically, you may have a solid theoretical background but your practical experience in modern PL engineering is sorely limited.


You are making four big mistakes:

First you are angry. You are not so much attacking PL/I as attacking me personally.

Second you are pursuing religious arguments about programming languages.

Third you are arguing things about PL/I that are really not part of the language.

Fourth much of what you say about PL/I is technically wrong.

"PL/I compilers are awful".

What PL/I compilers are awful? As far as I know, there aren't very many and the more common ones there are, essentially all from IBM, are highly polished.

Compared with C/C++, the polished PL/I compilers are terrific because, with the language features, they actually do really compile the work instead of just call functions. In fact, the early versions of PL/I did string, etc. manipulations by having the compiler call run time functions; then the result was much like what C/C++ programmers are forced to do.

The compiling of functions for string and bit manipulation was done in part to have PL/I be faster than the then common practice of using functions for such things in Fortran. Net, for string manipulation, PL/I is faster than Fortran, C, and C++ because it actually compiles the work and avoids the overhead of function calls. Here C/C++ are behind and have no easy way to catch up.

For 2, who knows PL/I is not about the language itself. For it being my favorite, I know it!

That it's my 'favorite' doesn't mean that I suggest that others use it. I used the IBM PL/I on OS/2 a few times; I have the IBM PL/I for Windows but don't even have it installed. On Windows I use Visual Basic .NET, if only because it has such good access to .NET, ADO.NET, and ASP.NET. In many ways, I would prefer PL/I, but it is not a practical option.

PL/I has some features that were deliberately included to make learning it relatively easy. E.g., PL/I has no reserved words! That is, all the 'key' words in the language can be used by programmers for their own identifier names. So, a beginner doesn't have to worry about using a reserved word. I taught some elementary parts of PL/I to some not very good students in the business school at Georgetown University, and they learned fine.

For 3, the only serious problem with 'type safety' is for pointers. True, in PL/I, pointers do not have 'types' based on what they point to. That is, any pointer can point to anything. But, then, using pointers in PL/I is not nearly as necessary or common as in C/C++, is quite advanced, and is not common. I liked using pointers because can really work with the memory and, at times, write some 'polymorphic' functions. Tricky work with pointers is always tricky, and that the pointers in PL/I are not 'strongly typed' didn't make the work harder. Again, PL/I is not nearly as dependent on pointers as C; a C programmer is forced to used pointers frequently, and PL/I programmer can do fine using pointers only rarely.

Otherwise on types, PL/I took the attitude that converting a string to floating point, etc., should need just an assignment statement. For execution time, there is a warning from the compiler when such a conversion might be expensive.

But PL/I is far better than 'cast': Cast is just an override of the 'strong typing', that is, immunity from the strong typing police. The problem with cast is that it's super tough to find HOW THE HECK the conversion is done. Mostly I don't much care about pleasing the strong typing police, but I do usually very much care about the details of how the conversion is done. Right from the start, the IBM PL/I documentation was fully explicit on the conversions of all the pairs of the 'elementary' (no aggravates) data types -- good.

For garbage collection, where is that in C/C++? There is garbage collection in Visual Basic .NET, but it was not easy to implement. There is always some question if garbage collection should be implemented by the run-time. The way I'm depending on garbage collection in Visual Basic is quite similar to how I depended on automatic storage in PL/I, and PL/I automatic storage is MUCH more efficient to implement than garbage collection. Here the excellent, and advanced, scope of names in PL/I are a big help.

PL/I does do quite well on memory management, especially with its attribute 'automatic' which, for each 'task', has in effect a 'stack of dynamic descendancy' and allocates and frees automatic storage just as would want across the quite advanced scope of name rules.

This automatic storage works great with the PL/I 'structures' where a 'structure' is a list of elementary data types, arrays, or arrays of structures, all efficiently mapped to sequential storage in a clever, easy to understand way. The 'extents' (string maximum lengths and array bounds) need only be known when the structure is to be allocated. So, in particular can pass arguments to routine parameters what are the extents. Or can do a calculation, enter a Begin-End block and do the automatic allocation inside that block. Works great. That can't do such things in C, especially for arrays, not even array parameters, is one of the most serious failings of C and, thus, C++. To get around the problem, end up using C structures or C++ classes, both of which are much less efficient. PL/I structures are about as efficient as Fortran arrays, depending on what is being done, a little more or a little less.

Then scope of names and dynamic descendancy are well coordinated with exceptional condition handling so that the code that executes in response to an exceptional condition can be 'on the stack' several levels back and, then, if it wishes, do a 'no-local goto' to pop the stack back to its own level. In this way, all the relevant automatic storage gets freed and lots of memory leaks get avoided.

The problem here with C/C++ is that a C programmer, and, thus, also the pre-processor definition of C++, do not have enough access to memory management to do such good things.

Moreover, C and C++ have nothing in the language about 'tasks' or threads, and PL/I does, did from the beginning. In particular, the storage attribute 'controlled' (roughly like malloc and free) is 'task-relative', that is, goes away when the task does. Files are also task-relative and get closed when the task goes away. Nice.

4. For the 'build tools', never had a problem. I was in the group at Yorktown Heights that did the artificial intelligence language KnowledgeTool (KT) which was a pre-processor to PL/I, and we did a lot of building but had no problems with 'build tools'. I was the guy who used dynamic descendancy in a tricky way to make the 'rule subroutines' in KT simple and efficient and won an award for the work.

Of course, for a scripting language we had Mike Cowlishaw's Rexx, and for an editor we had XEDIT with its macro language, right, the same Rexx. Rexx is a great candidate for the most elegant scripting, macro language going. Rexx was the main reason we had no problems with build tools.

Actually, can claim that for some years Rexx, with a few extensions for some lower level OS access, basically 'ran' all of IBM: There were about 4000 mainframes around the world connected with simple bisync lines. In the end, it all looked much like the Internet today. So, the mainframes were acting as both the servers and the routers. The hard work of the routing, security, etc. was done with 'server virtual machines' programmed mostly in Rexx with a few routines for some lower level access. It worked surprisingly well. Rexx was no toy.

"5. Where's the support for interoperability with other languages? C++ can be used with other languages through well-known and well-maintained paths. PL/I has no support."

A lot of nonsense. On IBM, PL/I used standard OS calling sequences. Calling Fortran, Cobol, assembler, and C was routine. I wrote a collection of routines in PL/I to call C to call the TCP/IP routines. Occasionally I called assembler from PL/I.

Got'a tell you, calling Visual Basic .NET 'managed code' from C won't be a picnic! In some of my current project, at one point I call some C from Visual Basic .NET managed code and have the effort fairly simple. On Windows, calling one language from another is okay as long as they are both 'managed code'. Otherwise, on Windows or nearly anything else, calling one language from another is at least a little tricky and, in general, tough.


You are making four big mistakes: First you are angry. You are not so much attacking PL/I as attacking me personally.

Nope. Besides noting that you have very little knowledge in PL research at the end, I made no comments about you personally.

Second you are pursuing religious arguments about programming languages.

Nope, I specifically mentioned practical things that matter.

Third you are arguing things about PL/I that are really not part of the language.

If you're talking about things like, "no one knows PL/I," so what? This is entirely relevant from an engineering standpoint. Just because it's not "really part of the language" is irrelevant because we're not debating whether or not PL/I is better than C/C++ in the 1950s in a perfect world, we're talking about practical engineering right now on real systems.

Fourth much of what you say about PL/I is technically wrong.

Not a one.

What PL/I compilers are awful? As far as I know, there aren't very many and the more common ones there are, essentially all from IBM, are highly polished.

Only if you're using compiler benchmarks from the 90's. I'm looking for things like packrat parsing and partial and incremental linking. Auto SSE/SIMD would be nice. If you're so convinced that IBM PL/I is good enough, why don't you benchmark it against GCC (on Intel ICC often outperforms GCC but I'm confident even GCC will far outperform PL/I).

That it's my 'favorite' doesn't mean that I suggest that others use it. I used the IBM PL/I on OS/2 a few times; I have the IBM PL/I for Windows but don't even have it installed. On Windows I use Visual Basic .NET, if only because it has such good access to .NET, ADO.NET, and ASP.NET. In many ways, I would prefer PL/I, but it is not a practical option.

My entire post was about how it's not a practical option and how you shouldn't be surprised when no one wants to use PL/I in production...

PL/I has some features that were deliberately included to make learning it relatively easy. E.g., PL/I has no reserved words! That is, all the 'key' words in the language can be used by programmers for their own identifier names. So, a beginner doesn't have to worry about using a reserved word. I taught some elementary parts of PL/I to some not very good students in the business school at Georgetown University, and they learned fine.

This is unimportant. Arguably it's worse than having reserved words because it allows for inadvertent shadowing, but really it's just a back-and-forth thing that no one cares about.

For 3, the only serious problem with 'type safety' is for pointers. True, in PL/I, pointers do not have 'types' based on what they point to. That is, any pointer can point to anything. But, then, using pointers in PL/I is not nearly as necessary or common as in C/C++, is quite advanced, and is not common. I liked using pointers because can really work with the memory and, at times, write some 'polymorphic' functions. Tricky work with pointers is always tricky, and that the pointers in PL/I are not 'strongly typed' didn't make the work harder. Again, PL/I is not nearly as dependent on pointers as C; a C programmer is forced to used pointers frequently, and PL/I programmer can do fine using pointers only rarely.

You completely misunderstood -- C and C++ are the standards. If you want people to use something not-standard you need to provide something which is far better in your own language than in the standards in order to compel people to switch. Being a little bit better isn't good enough, you need to be a lot better. Strong typing, garbage collection, and higher-order functions are all things which suck in C/C++. If you want people to adopt your language you should offer full support for these things because that gives you a compelling reason to switch.

Otherwise on types, PL/I took the attitude...

Read more about strong typing and read about type or category theory (preferably both). C and Java types are not strong typing, they're typing done in probably the worst possible way. Learn ML.

Or can do a calculation, enter a Begin-End block and do the automatic allocation inside that block.

Welcome to RAII, circa 2000.

To get around the problem, end up using C structures or C++ classes, both of which are much less efficient.

Only in C or C++ compilers from 1995...

Actually, can claim that for some years Rexx, with a few extensions for some lower level OS access, basically 'ran' all of IBM: There were about 4000 mainframes around the world connected with simple bisync lines. In the end, it all looked much like the Internet today. So, the mainframes were acting as both the servers and the routers. The hard work of the routing, security, etc. was done with 'server virtual machines' programmed mostly in Rexx with a few routines for some lower level access. It worked surprisingly well. Rexx was no toy.

It really is. IBM hasn't even come close to building what would be termed a modern distributed system infrastructure. There's no PL/I equivalent for MapReduce, BigTable, GFS, etc.

A lot of nonsense. On IBM, PL/I used standard OS calling sequences. Calling Fortran, Cobol, assembler, and C was routine. I wrote a collection of routines in PL/I to call C to call the TCP/IP routines. Occasionally I called assembler from PL/I.

OS calling sequences are the bare-minimum. If I wanted to optimize my Python code by dropping down and rewriting the code in a systems language, C has my back. Good luck with PL/I.

You seem to be using a lot of examples from HPC but they're not really relevant. HPC is a pretty easy target because you get to make a lot of assumptions about the DS you're architecting and the software that will be run on it. PL/I is just a dead language -- there's no reason to ever switch to it and while it may have been slightly better than C++ during IBM's heyday, the world has moved on. Even scientific computing prefers parallel Fortran, which ever since the latest version is incredibly fast.


PL/I and C are not from the 1950s:

PL/I was designed in IBM by a committee headed by George Radin in about 1963. First versions were running by 1966. Version 4 was running by 1969 and quite clean. There have been later versions. By the time IBM slowed maintaining the language, it was polished. Finally there was just one guy in CA maintaining PL/I. I suggested adding AVL trees (see Knuth, TACP).

The main intention of PL/I was to serve people using any or all of Cobol, Fortran, and assembler (at least for applications programming).

Again, versions of PL/I have been used for system programming in at least Multics and Primos.

It has been noted that the 1960s were "the golden age of programming language design". In comparison, progress for the next several decades was disappointing.

C was designed at Bell Labs in the 1970s. Likely the designers of C knew PL/I if only because they borrowed the semi-colon to end a statement and the syntax of comments.

C was supposed to be a minimal language, as simple as possible, to work on an 8 K DEC machine. The clever part of C was that while it had so little, with pointers, structures, malloc, and free, it still had enough for system programming. Also, since C was so simple, it needed no 'run-time' and could be used in embedded code in read only memory.

C++ was just a pre-processor to C to formalize some of the then standard ways to use C to make it livable for more complicated applications programming.

So, PL/I started off with much more than C. Since neither PL/I nor C can or will change, PL/I is still far ahead of C.

The preprocessor C++ is a bit ugly. Tough to say that just from a pre-processor C++ is much better than PL/I.

So, net, when Google asked me what my favorite programming language was, I said PL/I instead of the answer they wanted, C++.

I did not say that PL/I was the ultimate programming language, the end of programming language design, a programming language for 10,000 machines with 10 processors each with 1000 cores, etc. I didn't say that people should convert to PL/I. But, then, I would feel sorry for anyone to start a new project with C or C++.

I had my fling with programming language design with KnowledgeTool and a subsequent project. At the time I looked at the literature of programming language design and was not impressed. To me the literature looked like it was just rehashing old ideas back to Algol, looked like 'research' in cooking that was just remixing Escoffier's collection of sauces.

If since then the design of programming languages, compilers, operating systems, etc. have made progress, then about time and good.

For what is 'practical' now, I've voted with my feet: At present, I'm concentrating on my project in applications programming and am using essentially just Visual Basic .NET, ADO.NET for getting to SQL Server, ASP.NET for Web pages, and .NET for some of the other functionality it has, e.g., a lot in time and date manipulation.

That Microsoft went for their common language runtime (CLR), 'managed code', 'garbage collection' (with memory 'compactification'), common 'intermediate language', invited others to write their own syntactic sugar on top of the these, and provided the syntactic sugar C# and Visual Basic strikes me as good for now.

For my project, I decided to stand on Microsoft Windows instead of flavors of Unix. On Microsoft, I went with Visual Basic (VB) .NET. So far Windows and VB .NET have been as promised. I miss some of the features of PL/I, but the missing features don't keep me from getting my work done.

The VB .NET complier has been terrific: It compiles my programs in time in practice for me equivalent to 0 seconds. I will never type in enough code to slow down that compiler. The error messages, including in the context of ASP.NET, have been quite nice. I've found no bugs at all. The compiler has been easy to use just from command lines driven by some simple ObjectRexx scripts. I'm thrilled.

The main problem I have in my software development is some of Microsoft's documentation: (1) It is horrendous, thousands of Web pages, and, thus, tough to work with, even when it is good. (2) For SQL Server, especially management and administration, especially the 'security model', and a lot more in Windows, the documentation was awful in ways that have cost me unbelievable time and effort: Things didn't work anything like promised; I had to mount side projects to diagnose the problems and work around them; I had to write my own documentation, develop my own scripts to lock in the solutions, etc. to get around the nonsense and get back to my work, etc. It was horrendously expensive.

But, just for a programming language that is practical for applications programming now, I selected VB .NET. I certainly didn't try to continue with PL/I.

All this started just because Google asked me what my favorite programming language was and I said PL/I instead of C++ like they wanted. My answer was fine. The HR-recruiter rube didn't see PL/I on their list of acceptable answers and ended the interview. That was Google's error, not mine.


While the history is an interesting aside (I exaggerated my dates because they weren't particularly relevant), I was specifically speaking to modern implementations of the languages. Your history of C++ is correct but the modern version looks completely different.

I had my fling with programming language design with KnowledgeTool and a subsequent project. At the time I looked at the literature of programming language design and was not impressed. To me the literature looked like it was just rehashing old ideas back to Algol, looked like 'research' in cooking that was just remixing Escoffier's collection of sauces.

I completely agree that PL spent (and is spending) a huge amount of time rehashing old ideas but I think all the effort spent on the Fortran legacy (including C, C++, Algol, and PL/I) was a waste of time -- it took almost 20 years to get around to rehashing all the old ideas in LISP, which was a much better idea anyway.

As far as the Microsoft stack goes, I see no problem. My own experience with the internals of SQL Server makes me extremely reticent about using it myself but my time spent with the MS VC++ and CLR teams has made me very impressed with the entire .NET stack.

All this started just because Google asked me what my favorite programming language was and I said PL/I instead of C++ like they wanted. My answer was fine. The HR-recruiter rube didn't see PL/I on their list of acceptable answers and ended the interview. That was Google's error, not mine.

If that is actually what happened then I agree. That said, I think that the question of "what's your favorite programming language" is a pretty stupid one anyway and my answers of Haskell, ML, or Prolog wouldn't have been on the recruiter's list either.


The key element that you're missing is 'and brushed up on the fundamentals.', nobody is saying that Skiena is the only source you should be learning and that you only need to know what is in that book.

How I read recommendations like that is that it is probably a book that gives a good overview of the different topics that might be relevant. Of course for every separate subject there is probably a better resource, but that's not the point.

Preparing isn't the same as going about and learning complete new things, preparing is making sure that all the stuff you've learned in the past is fresh in your memory and ready to be used. In which case a book that gives you a quick overview does the job perfectly.


The post put too much emphasis on one book, Skiena. E.g., I had never heard of it.

Better would be just to have a list of topics. In that list, my view is that dynamic programming should not be one of the topics.

Google is looking for silly excuses to reject people and/or really just has a silly view of what is important.


You're reading a heck of lot in a single recommendation from a single individual on how you could prepare for an interview.


No, my remarks are fair and well supported: The post praised Skiena's book, and that was a poor move because (1) there are many other sources back to, say, Knuth's TACP, and (2), as I said, the computer science in that book is not good and the good is not computer science and is covered poorly.

In particular, Google is showing that they are far too centered on 'computer science' where they accept low quality material just because it was hijacked from its real origins in various fields of applied mathematics into a book on 'computer science' and poorly presented there.

The post insisted that a candidate needed to know dynamic programming as in Skiena or was not "prepared", and this is sick-o, brain-dead, ignorant, arrogant, destructive nonsense: First, there is nothing serious about dynamic programming in Skiena; Google is not "prepared" in dynamic programming. Next, while I happen to know a lot about dynamic programming, I've never asked about it in interviewing people for computer science positions. One reason I know a lot about dynamic programming is that my Ph.D. dissertation was in stochastic optimal control.

What I didn't say, but which is true, and which I implied, is that the topics in Skiena should not be given so much importance. Or, to be so positive on Skiena's book is to be far too fond of a particular collection of gnats and to forget a herd of elephants.

One way and another, I happen to have a good background in nearly all the topics in that book, usually far deeper than in that book, but in interviewing I would not ask for knowledge of topics from that book. Here Google is making a mistake.

In addition, I did once have a Google interview: It was a disaster. For really brain-dead reasons, they didn't like me. Their worship of C++ as a religion showed that they have a bad interview process which meant that I didn't like them. Good riddance.

That they want their interview process to be so severe indicates both arrogance and ignorance; they should be brought down a few notches.

There is a fundamental problem in such interviewing that apparently Google has not understood: Can't hire a bunch of house painters or people who have just heard about house painting to select someone to paint the ceiling of the Sistine Chapel. Google's process would definitely filter out any Michelangelo. They'd likely also filter out a Steve Jobs, Larry Ellison, or Bill Gates.

In fact, based on a brain-dead religious devotion to C++, their process filtered out someone with expertise in nearly all the topic in Skiena's book much deeper than in the book.

Actually, mostly people who are really good with the better topics in Skiena's book never touch C++!

Google is making mistakes. Their interview process is a symptom, among others, of some serious management problems at Google.


  > For really brain-dead reasons, they didn't like me.
I may be brain-dead too, but I have no problem seeing why they might not like you.


I think the point was that the interviews don't require you to be able to have published research in optimization or algorithms --- they want you to be able to solve a relatively constrained class of problems quickly, for which a specific kind of preparation is required.


They are being too narrow.


I think a lot of confusion on this topic stems from what Google values from a candidate's knowledge of algorithms. From my experience, these technical interview of an algorithm, but you sure wouldn't have to prove anything formally.

Algorithm and computer science knowledge can be applied very practically. Skienn a also wrote a book called Programming Challenges, which features problems very similar to those asked in these technical interviews. The coverage of topics like dynamic programming may be very shallow from a theoretical perspective; however, an intuitive understanding and mastery of when to use the technique and how to write the code is absolutely crucial to solving many difficult programming problems.


I like dynamic programming for various reasons, and at times it can get used as a technique for what really are computer science algorithms, but my experience is that that usage is rare.

With dynamic programming, I have to conclude that Google is just looking for ways to toss people out.


I don't get it.

Network linear programming does not even have a Wikipedia article; you expect every candidate to have read some complex and specific literature about it?


"Get it": No, I am saying that in asking about linear programming and dynamic programming as in Skiena, Google is not "prepared" and, really, is dealing in nonsense. If want someone to know some optimization and have a good reason for this, then fine. Then, cover some good material on optimization. But evaluating people on trivia about optimization as in Skiena is silly and arrogant, uninformed, dysfunctional, destructive, etc. It's something from the Queen in Alice in Wonderland:

"They didn't review Skiena? They don't know dynamic programming? Then, off with their heads!".

At the level of Skiena, f'get about optimization.

Again, Google is showing that they are far too centered on 'computer science' where they accept low quality material just because it was hijacked from its real origins in various fields of applied mathematics into a book on 'computer science' and poorly presented there.

For the network simplex algorithm, about the most elementary case is the transportation problem where find a least cost way to ship widgets from several factories to several warehouses. Then generalize to a network. Then, a simplex algorithm linear programming basis is just a spanning tree in the network. To add a variable to the basis, add an arc from the network. Then the spanning tree will be converted to a network with a circuit. Then run flow around that circuit in the direction that reduces cost until the flow on some arc hits zero. Remove that arc from the basis and again have a spanning tree. Cunningham's work guarantees to avoid cycles and tends to be faster.

See, say, pages 311-317 of

Va\v sek Chv\'atal, {\it Linear Programming,\/} ISBN 0-7167-1587-2, W. H. Freeman, New York, 1983.\ \

(in TeX to get the accents right!),

W. H. Cunningham, "A Network Simplex Method," 'Mathematical Programming', volume 11, pages 105-116, 1976.

W. H. Cunningham, "Theoretical Properties of the Network Simplex Method," 'Mathematics of Operations Research', volume 4, pages 196-208, 1979.

William H. Cunningham and John G. Klincewicz, "On Cycling in the Network Simplex Algorithm", 'Mathematical Programming', Volume 26, pages 182-189, North Holland, 1983.

Cunningham has long been at the Waterloo department of Combinatorics and Optimization.

Then, too, there is the guaranteed polynomial algorithm of D. Bertsekas. See:

Dimitri P. Bertsekas, 'Linear Network Optimization: Algorithms and Codes', ISBN 0-262-02334-2, MIT Press, Cambridge, MA, 1991.

But, if Google calls you, don't mention such things if you want a job! Instead, just mumble on about how great C++ is!

"Oh, I have Stroustrup under my pillow!"

Also mention some other buzz words.

Google has become arrogant, inwardly directed, and process-oriented. The history of companies that do that is not good.


Knowing the computer science isn't enough, knowing how to engineer software is also a requirement.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: