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.
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.
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.
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
Asking LC hard in an interview is just stupid and a direct measure of the interviewer‘s assholeness.
Got asked wild card matching for Roblox INTERNSHIP phone interview LOL
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.
Which offers did u get?
I got only 1 LC hard in my interviews. That’s where you luck out (can solve/solved before).
Was this at linkedin?
At LinkedIn and Facebook.
What's the point of soling LC hard? If I get a hard algo question during interview, i'll simply try other companies.
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.
Oh wow.
Are you working at Google ? But I could see many posts here in blind, that they were asked LC hard in phone screen too.
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.
Practice makes you perfect :)
How much you have solved ? Were u comfortable with LC hard ?
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.