Earlier quoted context omitted.
/r/iamverysmart/
What is your point? Companies wants to hire smart people which is why they have these interviews. This applies no matter what level people are at. "I forgot" isn't valid defense. All the people in these threads who says things like "I knew this but forgot" are really cringy.
Google Interview Questions Deconstructed: The Knight’s Dialer
41–50 of 134 posts
Re: Google Interview Questions Deconstructed: The Knight’s Dialer
#42Earlier quoted context omitted.
This isn't a brainteaser. It's a programming problem. Brainteasers are like "how many ping pong balls fit in a 747" or "you wake up an inch tall in a blender, the blades start spinning in a minute. How do you survive."
> how many ping pong balls fit in a 747 This one does seem useful. Being able to do back-of-the-napkin (i.e. fermi problem) calculations is a pretty good skill.
The reason the 747 question is bad is because it has little to do with programming and a lot to do with how much you happen to know about planes and ping pong balls and how to estimate volumes of irregularly shaped objects, none of which have much if any correlation with programming ability.
Re: Google Interview Questions Deconstructed: The Knight’s Dialer
#43Earlier quoted context omitted.
This isn't a brainteaser. It's a programming problem. Brainteasers are like "how many ping pong balls fit in a 747" or "you wake up an inch tall in a blender, the blades start spinning in a minute. How do you survive."
I agree that this isn't a brainteaser. The problem itself appears to be nonsensical with no real world value but as long as it is a well defined problem with a concrete solution then it should be fine. Ideally the interviewer should be looking for how you approach the problem and what you do to obtain an answer (whether they do or not is a separate topic) Granted, the 747 question also technically does have a concret…
Whether or not someone is about to add ice seems like a pretty important variable.
Re: Google Interview Questions Deconstructed: The Knight’s Dialer
#44It might not be obvious but these kinds of questions are terrible for diversity and inclusion because they incorporate too much cultural knowledge that is not universal. A person who has never seen chess will spend more of the interview just trying to figure out what is meant by the Knight's move. That disadvantages people from low-chess cultures, no matter how qualified and intelligent they may be. Chess also has a…
I mean he explicitly spells it out as part of the problem. I highly doubt in an interview they'll just plop down a term like "knight's move" and refuse to clarify what is meant by it, if necessary. It's not exactly the sort of thing that takes living a life of privilege to understand.
Re: Google Interview Questions Deconstructed: The Knight’s Dialer
#45It might not be obvious but these kinds of questions are terrible for diversity and inclusion because they incorporate too much cultural knowledge that is not universal. A person who has never seen chess will spend more of the interview just trying to figure out what is meant by the Knight's move. That disadvantages people from low-chess cultures, no matter how qualified and intelligent they may be. Chess also has a…
I doesn't take long to understand how a knight moves, though. Move two squares in a direction and then move one square perpendicular to that.
Re: Google Interview Questions Deconstructed: The Knight’s Dialer
#46On a more general note, anytime a problem admits a dynamic programming solution, there almost always is a graph based approach.
Re: Google Interview Questions Deconstructed: The Knight’s Dialer
#47Earlier quoted context omitted.
The junior and the senior aren't competing for the same job though, this just checks that you still remember the theory you learned in college. And no, just because you are senior doesn't mean that you get a free pass forgetting everything you learned in college. I haven't practiced problems like this in over 5 years and I still ace them.
> this just checks that you still remember the theory you learned in college. Sure, but not everyone went to college or studied computer science / math. This seems like one of those problems that's really just testing a very specific type of preexisting knowledge.
Anyway, Google no longer has this question. Once it gets known outside Google bans it from interviews. Sometimes people give banned questions but in general they don't and it is taken into account. I remember it being popular as a question 4 years ago, popular questions tend to leak quickly and get banned though.
Re: Google Interview Questions Deconstructed: The Knight’s Dialer
#48It might not be obvious but these kinds of questions are terrible for diversity and inclusion because they incorporate too much cultural knowledge that is not universal. A person who has never seen chess will spend more of the interview just trying to figure out what is meant by the Knight's move. That disadvantages people from low-chess cultures, no matter how qualified and intelligent they may be. Chess also has a…
Re: Google Interview Questions Deconstructed: The Knight’s Dialer
#49It might not be obvious but these kinds of questions are terrible for diversity and inclusion because they incorporate too much cultural knowledge that is not universal. A person who has never seen chess will spend more of the interview just trying to figure out what is meant by the Knight's move. That disadvantages people from low-chess cultures, no matter how qualified and intelligent they may be. Chess also has a…
Edit: Typo, as opposed to the well known capital L-shape that is just one unit wide.
Re: Google Interview Questions Deconstructed: The Knight’s Dialer
#50It might not be obvious but these kinds of questions are terrible for diversity and inclusion because they incorporate too much cultural knowledge that is not universal. A person who has never seen chess will spend more of the interview just trying to figure out what is meant by the Knight's move. That disadvantages people from low-chess cultures, no matter how qualified and intelligent they may be. Chess also has a…