TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Cracking the Coding Interview Tutorial

214 pointsby rvivekover 8 years ago

18 comments

blablablameover 8 years ago
I just turned down an offer after a technical interview. Just after my tech call, I call the hiring manager and said I didn&#x27;t want to move forward.<p>Technical interviews aren&#x27;t the problem, is when interviewers already have an answer they want, and if anything strays from it, they just flat out refuse the answer. Sure datastructure X maybe better when getting to a million items, but for most use cases, Y is valid, and when Y is a problem, I can easily google an alternative, but nooooooo, it has to be X from the start because or A B or C.<p>I like being chalenged in a interview, talk about various topics, but if for every question you have, you have one and one answer only, and any other that may fit but isn&#x27;t on your spreadsheet is wrong, then seriously, F U.<p>Fortunately also talked with other companies that were more sane, but this &#x27;My way or the highway&#x27; from pseudo engineers is what is wrong with hiring in tech.
评论 #12592549 未加载
评论 #12592182 未加载
评论 #12592288 未加载
评论 #12592341 未加载
评论 #12593948 未加载
评论 #12592814 未加载
评论 #12592106 未加载
评论 #12592121 未加载
评论 #12598829 未加载
评论 #12592131 未加载
评论 #12592336 未加载
评论 #12594483 未加载
评论 #12594254 未加载
1474295912over 8 years ago
I wonder if such a scheme would fly in other disciplines of Engineering? Would they hire a person at a Thermal power station, who can dazzle people with fancy Laplace transforms on a white-board?<p>I recently interviewed for a position at a small Amsterdam based company. They simply asked me to work with them and refactor a part of their code base. It was really interesting and frankly, we all had lots of fun during the 3-4 hour process.<p>Coming from the USA, it was eye opening to see the ingenuity of this simple way to determine candidates ability. It&#x27;s such a shame that Stack ranking like HackerRank are being favoured instead of on-job evaluation.
评论 #12593999 未加载
评论 #12593665 未加载
_khwcover 8 years ago
While there are many legitimate criticism of whiteboard-style coding interviews, I have yet to see a convincing alternative that scales well to the size of big companies. Google [1][2], Facebook et al. hire thousands of engineers per year, meaning they conduct at least 10-100k interviews per year. How do you design a process that is consistent, measurable and efficient at that scale?<p>[1] Google gets 2 <i>million</i> resumes a year <a href="https:&#x2F;&#x2F;www.fastcompany.com&#x2F;3044606&#x2F;hit-the-ground-running&#x2F;googles-head-of-hr-shares-his-hiring-secrets" rel="nofollow">https:&#x2F;&#x2F;www.fastcompany.com&#x2F;3044606&#x2F;hit-the-ground-running&#x2F;g...</a><p>[2] Headcount increased from 57,148 to 66,575 between Q2 15 and Q2 16: <a href="https:&#x2F;&#x2F;abc.xyz&#x2F;investor&#x2F;" rel="nofollow">https:&#x2F;&#x2F;abc.xyz&#x2F;investor&#x2F;</a>
评论 #12592306 未加载
评论 #12592244 未加载
评论 #12592296 未加载
评论 #12592708 未加载
cleover 8 years ago
Yeah, I don&#x27;t understand that approach to interviewing. Technical questions are great, but IMO the point isn&#x27;t to get <i>the</i> right answer. The best technical questions have many &quot;right&quot; answers, depending on the context. And the best interviewees know how to find that &quot;right&quot; answer by analyzing the use cases, customers, clients, etc. to find the best tradeoff. THAT is what I care most about in a technical interview--the ability to handle ambiguity and make the right tradeoffs.<p>Technical chops are a prerequisite, of course, but they&#x27;re useless if the candidate doesn&#x27;t make the right tradeoffs and technical decisions.
jakebasileover 8 years ago
If there are separate tutorials for how to &quot;Crack the Coding Interview&quot;, maybe coding interviews do not accurately select for coding skill.
评论 #12591909 未加载
评论 #12591927 未加载
评论 #12591844 未加载
评论 #12592105 未加载
collywover 8 years ago
&quot;According to our data, developers with at least two years of experience, who practiced even just a little (20 challenges) increased their chances of getting an onsite interview by 50 percent&quot;.<p>Last time I looked at hackerrank, they were 90 minutes long. So I am expected to do nearly a full weeks work to interview with some companies. Thats why I refused last time Skyscanner asked me to do this (actually they have asked me 3 times! Before I even get to speak to anyone technical).<p>Plus the platform is frustrating to use - I don&#x27;t my write code in a web browser. I use an IDE step through debugger especially for the algorithmic style stuff that&#x27;s on there. I don&#x27;t particularly like writing code in a rush, as it leads to poorer quality code.
评论 #12593145 未加载
评论 #12594305 未加载
评论 #12594261 未加载
评论 #12593517 未加载
yanilkrover 8 years ago
One size fits all type of interviewing might be bad for your company or team. If you are hiring for short term, you might find someone who can crank the code appealing, but for long term hiring, you want to choose someone who is creative, who has better imagination or at least has a healthy amount of passion for tech ideas.<p>We might have pushed the limits with coding questions. Why do you need 5 coding rounds? does one programming problem not clarify if this person can code or not?
评论 #12592234 未加载
segmondyover 8 years ago
I interview plenty and I&#x27;ve moved away from technical questions and puzzles. We have a conversion, and talk about programming. I ask scenario based questions and just see how they think and will solve it.<p>i.e You have a program, it&#x27;s running slow, how do you debug it.<p>You find that the slow part has a query, how do you debug it?<p>So you check the table, it has indexes, as a matter of fact, it has index on all 10 columns and the insert is slow as hell, what now?<p>What&#x27;s your opinion on OOP vs procedural? or OOP vs functional?<p>Two developers come to you with various idea, idea A and B, which will you pick why? What do you think is the pros and cons of A and B?<p>This is very revealing.
评论 #12599411 未加载
lsjrobertsover 8 years ago
We&#x27;ve been running a very effective initial filter coding interview that simply tests the very basic ability to write loops, refactoring and a little recursion. It&#x27;s astonishing how many people with CVs of 5+ years professional contract experience in London fail this test. We&#x27;ve had a &lt;15% pass rate on that test alone.<p>Personally I&#x27;m not a fan of taking these interviews, but now being involved on the other side I&#x27;ve seen how essential it to filter out those who don&#x27;t actually understand how to code.
评论 #12593217 未加载
anilgulechaover 8 years ago
Some background on this:<p><a href="http:&#x2F;&#x2F;blog.hackerrank.com&#x2F;introducing-cracking-the-coding-interview-tutorial-new-study-on-interview-practice&#x2F;" rel="nofollow">http:&#x2F;&#x2F;blog.hackerrank.com&#x2F;introducing-cracking-the-coding-i...</a>
ktRolsterover 8 years ago
Google recruiters tell candidates to buy this book to pass the interview. It drives the interviewers crazy. Clearly there is some friction between interviewers and recruiters at Google, incentives aren&#x27;t quite aligned.
评论 #12593206 未加载
评论 #12594461 未加载
评论 #12592377 未加载
smnscuover 8 years ago
I have the paperback and I&#x27;ve been following her for a long time (she&#x27;s very active on Quora but I quit that site long ago). I think if you&#x27;re a moderately good programmer looking for a job at the big four you only need to read Cracking the Coding Interview, maybe aosabook.org, and solve all medium problems on leetcode. This course is just the right thing to get me to actually start preparing for my upcoming Google interview.
eternalbanover 8 years ago
Industry requiring professional level resources is having a very hard time coming up with a sane method for screening candidates not screened by professional degree programs.<p>(-&gt; taking the ad hoc Bar exam, again, and again.)
user5994461over 8 years ago
There is no article. It&#x27;s just disguised advertising which is asking for you to register on their website.<p>If you really want to crack the HackerRank test, read this instead:<p><a href="https:&#x2F;&#x2F;thehftguy.wordpress.com&#x2F;2016&#x2F;07&#x2F;13&#x2F;cracking-the-hackerrank-test-google-to-the-rescue&#x2F;" rel="nofollow">https:&#x2F;&#x2F;thehftguy.wordpress.com&#x2F;2016&#x2F;07&#x2F;13&#x2F;cracking-the-hack...</a>
评论 #12595448 未加载
throwaway896over 8 years ago
I&#x27;ve been programming for 24 years (12 professionally). I&#x27;ve worked in startups, BigCo, and Facebook. I&#x27;ve been a jr. dev, lead, E4, E5, E6, EM, and VP. I&#x27;ve worked in the capacity of a PE, SWE, Front-end, Back-end, Data Engineer, and Data Scientist. I&#x27;ve worked with various clients such as: web, android, ios, tv, playstation, mac, and windows. I&#x27;ve been interviewed a dozen times, and have always been given an offer. I&#x27;ve been an interviewer throughout my career, and have conducted interviews at each company.<p>I&#x27;m now in a place where I&#x27;ve made my money, and now I&#x27;m set to move outside of the Valley. Given that I&#x27;ll be near Irvine, I thought it might be fun to see what Google is up to. Completely ignoring my history, this is what I&#x27;m told I have to prepare for when I come onsite: - Be ready to talk about complex algorithms like Dijkstra and A* - Be comfortable with sorting and efficiency (be comfortable knowing when insertion sort, radix sort, quick sort, merge sort, heap sort - Be aware of discrete math solutions and know probability theory, combinatorics, n choose k, etc.. - Know all data structures and what algorithms tend to go with them - Know graph algorithms and structures, their representations, and how to traverse them - Be comfortable with recursion and how to think recursively - Know OS concepts like processes, threads, concurrency issues, locks, mutexes, semaphores, monitors, etc..<p>So, to join the &quot;best of the best&quot;, I have to brush up on all of these concepts (again) enough to answer random questions from random interviewers for 5 hours. Also, I&#x27;ll need to do it in one of the preferred languages... on a whiteboard... and be syntactically correct. Oh yeah, I&#x27;ll also need to talk through my thought process the entire time, and explain the tradeoffs, time complexity, space complexity, alternative paths, etc... I&#x27;ll also need to show a go-getter attitude and not get flustered while the interviewer &quot;pushes&quot; me in various ways. I&#x27;ll also need to build a rapport with half a dozen different people with various personalities, quirks, and moods. If it involves lunch, I&#x27;ll need to pay attention to what I eat, how I eat, what I chit chat about, what the temperature is (am I sweating, am I dressed the same), etc.. Depending upon the type of work being performed, I&#x27;ll need to show good &quot;excitement&quot; for the product, be it ads, games, VR, AR, etc... I&#x27;ll need to show intelligence, but not be abstract. I&#x27;ll need to think through problems very quickly, but also be thorough and not make mistakes.<p>Do you have any idea how long it takes to prepare for this? Do you realize how taxing it is on your life? I&#x27;m an introvert... this stuff destroys me for weeks. ...and this is from someone who has a 100% success rate, and already knows all of the answers!<p>The sad part in all of this, is that it doesn&#x27;t actually work. You&#x27;ve made your candidates go through this awful gauntlet, and your people are no better than any other company. You still have great people that leave, bad people that stay, bad solutions to easy problems, features that shouldn&#x27;t be built, genius developers that can&#x27;t communicate, teammates that won&#x27;t stop talking, managers that make your life hell, managers that are amazing, problems that excite people, problems that bore people, etc... There&#x27;s no difference, and that&#x27;s why it&#x27;s tiring.<p>Would you like to know the absolute worst project you could ever work on as a developer? It&#x27;s one that takes a lot of time, work, thinking, personal interaction, consumes personal time, requires ridiculous scrutiny, needs to be perfect the first time, and wether or not it succeeds or not, it is trashed as soon as you&#x27;re done with it. That&#x27;s our interview process. That&#x27;s what we&#x27;re making thousands of good people do, every single day.
评论 #12600948 未加载
bogomipzover 8 years ago
Are there plans to add more questions from the book?<p>Are the Editorials generally approved by the author of the book?
ChrisAntakiover 8 years ago
Thank you, Gayle &amp; HackerRank!<p>Recently, with help from Cracking the Coding Interview and HackerRank, I was able to pass some fun yet challenging technical screens with Google, Facebook, and Uber.
评论 #12594087 未加载
chad_strategicover 8 years ago
I just took a hacker rank test let me know if you the questions and answers to there stupid test. 2 1&#x2F;2 hours gone from my life. #neveragain