Блог пользователя ADJA

Автор ADJA, история, 5 лет назад, По-английски

Hello, CF community.

About a year ago I wrote and shared a blog post about my approach to interview preparation that helped me get offers from Google, Facebook, Uber and Amazon. I thought that I can share this here too – I have a long experience with competitive programming, and hopefully other people here can find something useful for them:

http://adilet.org/blog/your-ultimate-guide-to-interview-preparation/

Let me know if this helps, and thanks for reading! All questions are welcome :)

  • Проголосовать: нравится
  • +114
  • Проголосовать: не нравится

»
5 лет назад, # |
  Проголосовать: нравится +8 Проголосовать: не нравится

Auto comment: topic has been updated by ADJA (previous revision, new revision, compare).

»
5 лет назад, # |
  Проголосовать: нравится +31 Проголосовать: не нравится

Cool stuff, thanks for sharing. Here's a bunch of questions.

  1. Coding interview problems are completely different from CP but you should still have an upper hand if you're yellow in CF. Did you really need to solve that many Leetcode problems? Wouldn't around 100 be enough to get more familiar with that style (hashmaps, constant space, getting rid of logarithm, etc.)?
  2. Similar question: do you think that you would still succeed if you spent only half the time that you did spend?
  3. Did you apply to 4 companies and get 4 offers?
  4. Did you apply for L4?
  5. Why did you need "Learning PHP, MySQL & JavaScript" and "Modern Operating Systems"?
  6. Any reason not to use https://interviewing.io/ for mock interviews? It seems like a free version of Gainlo.
  • »
    »
    5 лет назад, # ^ |
    Rev. 2   Проголосовать: нравится +5 Проголосовать: не нравится
    • (1) Before I interviewed, I spent 2 days to solve 50 leetcode problems, focusing on linked list, trees using pointers (things that are not in CP). Interview questions are really easy. Most difficult part are asking the right "clarification questions" and finding the most simple algorithm so that your interviewer understands what you are doing (e.g. don't use segment tree, rolling hash).

    • (4) Generally you need ~3 years of experience to apply for L4 (shorter if you worked at other big companies before). And you have to explicitly tell recruiters that you only want to apply for L4.

    • (6) I actually want to ask about interviewing.io. Do they have (trained) interviewers from FANG? How do they give you feedback?

  • »
    »
    5 лет назад, # ^ |
      Проголосовать: нравится +10 Проголосовать: не нравится

    Glad you liked it, thanks for reading! My answers:

    1. Yes, it may have been an overkill a bit, but I didn't want to leave anything to chance. I didn't really learn any new algos from Leetcode, and I think that even if I didn't solve any problems there (or just ~50), I would have a fair chance of passing interviews anyways. On the other hand, at the time of interview preparation I hadn't solved CP problems for a long time, and was a bit rusty at problem solving in general. So I looked at leetcode as a way to get back in shape (including speed), learn interview specific techniques, and practice solving problems in Java (which is my first choice for interviews and work, but not CP).
    2. I think I partially answered it in 1, and the answer if very probable yes. If looked at as probability, with half the time my chances of passing all onsites could have been like 75%, with all the time it was like 90% (very crude estimate). Also, I spent a lot of time reading material for system design (this also helps to be a better engineer in general) and behaviour interviews, so there's that.
    3. I passed phone interviews with 7-8 companies (failed one :), but chose to go only to 4 onsites. Got 4 offers.
    4. It's hard to remember exactly, I am not sure if positions I applied to had levels attached to them (some range may have been implied). I got L4 or similar level offers in the end.
    5. Ha, I think I wanted to check some small PHP related part in "Learning PHP, MySQL & JavaScript" (i.e. how is it actually suggested to do in textbooks?), but ended up unexpectedly enjoying several chapters. Not really necessary if you know web based stuff, but much better than I expected :) "Modern Operating Systems" is a great book, and I read some chapters regarding hardware and memory management (paging, caching, virtual memory, etc) there. Great stuff.
    6. Not sure why, but I think when I prepared interviewing.io was somehow different than how it is now. If it is really what it promises to be now, then I would say use it.
»
5 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Small question, what do you think about the book "Elements of Programming Interviews"? Is there a reason you chose "Cracking the Coding Interview" over it?

  • »
    »
    5 лет назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    I never heard of "Elements of Programming Interviews" before. CTCI is a classic on the other hand

»
5 лет назад, # |
  Проголосовать: нравится -49 Проголосовать: не нравится

Geeks for Geeks not even mentioned?

  • »
    »
    5 лет назад, # ^ |
      Проголосовать: нравится +84 Проголосовать: не нравится

    Geeks for geeks solve NP problems in $$$O(nlog(n))$$$...

    • »
      »
      »
      5 лет назад, # ^ |
      Rev. 2   Проголосовать: нравится -17 Проголосовать: не нравится

      Hey can you explain what are you trying to say I didn't get it, I mentioned geeks for geeks because it has lot of Interview Experience Articles of all big companies

      • »
        »
        »
        »
        4 года назад, # ^ |
          Проголосовать: нравится +14 Проголосовать: не нравится

        Solving an NP problem faster than polynomial time is not feasible, i.e. G4G is wrong a lot and low quality.

  • »
    »
    5 лет назад, # ^ |
      Проголосовать: нравится +19 Проголосовать: не нравится

    Funny, because just yesterday I was looking into if it's possible to forever exclude GeeksforGeeks from my google search results (^▽^;)

    There may be some good articles there, but the average quality is very low. Also, they have articles just about everything, and pollute google search results...

    • »
      »
      »
      4 года назад, # ^ |
      Rev. 2   Проголосовать: нравится +22 Проголосовать: не нравится

      You can hide results from geeksforgeeks from your search results by adding the -gfg at the end of your search keyword. Eg : sos dp -gfg.

      The - (minus) can be used to exclude a particular keyword from your search result. U can use multiple - in a single query.

      • »
        »
        »
        »
        4 года назад, # ^ |
          Проголосовать: нравится +11 Проголосовать: не нравится

        Thanks! I know of stuff like this already, and was looking for more background solution where I don't need to even think about GfG :)

»
5 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Hi, I wanted to know apart from being good at DS and Algo and other topics like system design etc., are projects in web development/ML also important for internship/placement in these companies?

  • »
    »
    5 лет назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    Projects can be beneficial for two reasons: 1) they may make your CV look better, especially if the project is successful or you don't have much experience 2) working on a project can increase your software engineering skills, which increases your chances of getting hired.

    Also I would say people who like software engineering tend to start projects, and tend to be better software engineers, so there is some correlation.

    But in general, projects don't matter much in hiring decisions :)

»
4 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Good article! but I have some other concerns (Since I'm a university student).

  1. If there any other concepts that I should focus on beside problem solving and system design?

  2. Is it mandatory to learn some technologies for some big tech interns (Like Angular or some programming languages frame works)?

  • »
    »
    4 года назад, # ^ |
      Проголосовать: нравится +1 Проголосовать: не нравится
    1. I would say know your fundamentals well. Stuff like networks, databases, general web stuff. Most of it should be covered with good university courses.
    2. No, there are no requirements for any frameworks or any particular tech. At the same time, I would say some work experience or personal projects definitely help (you simply become a better dev with them), and you will probably learn some frameworks there anyway.