How people solve Leetcode hard ?

Dell / Eng coolcoder8
Nov 12 24 Comments

I have solved 20 and upsolved around 30 Leetcode hards(total 50), still not confident if given a LC hard problem.

My question is, those who get offers from FANG, honestly, were all able to solve LC hard on their own without looking at solution ?

Any tips is appreciated as I am planning to apply for FANG,

P.S I am comfortable with leetcode easy and can solve mediums in 30 mins.

But hard is very hard or I should say almost impossible for me.

comments

Want to comment? LOG IN or SIGN UP
TOP 24 Comments
  • Bloomberg
    offByOme

    Bloomberg

    PRE
    Bloomberg
    offByOmemore
    Asking LC hard in an interview is just stupid and a direct measure of the interviewer‘s assholeness.
    Nov 12 1
    • L3 Technologies / Eng chHh13
      Got asked wild card matching for Roblox INTERNSHIP phone interview LOL
      Nov 12
  • Facebook iIlIIi
    The only FANG where I was ever asked a leetcode hard level problem is Google.

    Everywhere else has always been more on the medium level.
    Nov 12 3
    • T-Mobile paxoss
      I got asked Leetcode hard at my first ever Facebook internship phone interview.
      Nov 12
    • Move
      ffjfjffuff

      Move

      BIO
      H
      ffjfjffuffmore
      Same, FB asked me LC hard during first phone interview 😱
      Nov 12
    • Facebook iIlIIi
      I'm an E5 and didn't find mine that hard 😅

      Maybe I lucked out and got asked easier questions.
      Nov 13
  • Google JTCP86
    Asking LC hard during interview means the interviewer wasn’t planning to recommend hiring you before walking into the room. Unless you crushed it and made him no choice.
    Nov 12 2
    • ForRent / Eng 🌀⛈️
      Oh wow.
      Nov 12
    • Dell / Eng coolcoder8
      OP
      Are you working at Google ?

      But I could see many posts here in blind, that they were asked LC hard in phone screen too.
      Nov 12
  • Cisco / Eng
    eyfnnf

    Cisco Eng

    BIO
    zzzz
    eyfnnfmore
    Practice makes you perfect :)
    Nov 12 2
    • Dell / Eng coolcoder8
      OP
      How much you have solved ? Were u comfortable with LC hard ?
      Nov 12
    • Cisco / Eng
      eyfnnf

      Cisco Eng

      BIO
      zzzz
      eyfnnfmore
      I haven't solved any as I am not currently in job market. But I taught myself programming from beginner level doing leetcode easy for more than a month to doing leetcode mediums for another month. I put in close to 8hrs a day for 3 months straight. In the end, all it used to take was seeing a pattern in the problem and trying out. The more I did the more easier it became when I revisited the problem or saw a similar pattern.
      Nov 12
  • New f2n
    I have solved over a 1000, I could solve many contests in an hour including hard. But but, 20% of the time, I still struggle with hard.
    Nov 12 1
    • Google Gbot
      Which offers did u get?
      Nov 12
  • Adobe fngstained
    Same experience, I've done 170 so far, and I still don't have the confidence when faced with a new one. However, practice does help, and you do start observing patterns after a while with some of the less obscure ones.
    Nov 12 0
  • LinkedIn Humphrey G
    I got only 1 LC hard in my interviews. That’s where you luck out (can solve/solved before).
    Nov 12 4
    • New pray4me
      Was this at linkedin?
      Nov 12
    • LinkedIn Humphrey G
      At LinkedIn and Facebook.
      Nov 12
    • Bloomberg
      offByOme

      Bloomberg

      PRE
      Bloomberg
      offByOmemore
      This doesn’t add up? 😁
      Nov 12
    • LinkedIn Humphrey G
      Off by one 😛
      1 hard each at each company’s interviews. Solved it at LinkedIn, failed at FB.
      Nov 12
  • New oeeL53
    I don’t really bother practicing hard because I think the effort vs reward is not worth it. Although I occasionally try them to stretch myself a little but have similar experiences to you OP.

    I would rather practice easy / medium and hope for no hard in an interview. If I got a hard it will be rare and unlucky.
    Nov 12 0
  • New arv1
    Usually the only hard problems I have difficulty with involve some new/creative way of using some pattern/ds/algo which I couldn't think of in an hour. I just study such problems and keep grinding.
    Nov 12 0
  • Zendesk zopim
    They fall into a few categories once you have solved enough, focus on building your own mental models, don’t give up before you got them
    Nov 12 0
  • Facebook / Eng eiNn53
    What's the point of soling LC hard? If I get a hard algo question during interview, i'll simply try other companies.
    Nov 12 0

Salary
Comparison

    Real time salary information from verified employees