Jump to content

Leetcode anyone?


redsox

Recommended Posts

3 hours ago, redsox said:

Ante oka strategy undali kada covering all topics, medium problems, etc LC lo 1300 unnay Anduke 

May be solve most frequent questions? Lc lo sort cheyyochu kada

Link to comment
Share on other sites

  • 2 months later...
  • 4 weeks later...
On 1/22/2020 at 6:54 AM, k2s said:

its a big misconception that doing leetcode you can get into FAANG. in all FAANG companies , they give a simple problem and except 3 answers from -

1) brute force way with worst time complexity big O notation O(n2) or O(n3)

 2) Optimized solution with reduced time complexity O(n) or O(k) or O(1)

3) unit tests cases for that optimized solution

you have do this in given 45 mins. or atleast complete step1&2 in given time and explain unit test cases to cover corner cases. 

Leetcode is just resource pool of such Qs asked in interviews and it has many wrong/right solutions in discussions. And your should find the best brute force and best optimized solution from those 100s of solutions in discussions forum. Leetcode can be used a practice guide to solve more problems but it cannot be used the _only_ guide. 

Unless you try to solve the problem using above, your will never succeed. 

different companies have different expectations...google lo problem-solving approach is more imp...fb lo they expect you to write an optimal working solution...netflix is more in to system design

Link to comment
Share on other sites

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...