Jump to content

Leetcode and interviews


Rushabhi

Recommended Posts

On 3/2/2021 at 9:14 PM, Rushabhi said:

Leetcode start chesa. Oka type of problem easy di teesukoni daani similar medium try chesthunna. 2 questions unnay

1. Medium ki first pass lo optimal solution tattatam ledhu. For that matter easy lo kooda sometimes tattatam ledhu. Interviews lo do they expect optimal solution only?

2. Okosari easy ki kooda ideas ravatam ledhu. Entha time ayina solution choostharu meeru?

1. yes they do expect optimal solution. 
 

2.
No use of randomly solving problems. You need to know the pattern of problems so that you can come up with solution if you see new one. 
problems are broadly categorized into sorting(problems that are simplified by sorting or partitioning, trees, recursion + dp, graphs, miscellaneous that can be solved using some special data structures like maps, string manipulation, design (oops and system design)

Link to comment
Share on other sites

8 minutes ago, Pavanonline said:

1. yes they do expect optimal solution. 
 

2.
No use of randomly solving problems. You need to know the pattern of problems so that you can come up with solution if you see new one. 
problems are broadly categorized into sorting(problems that are simplified by sorting or partitioning, trees, recursion + dp, graphs, miscellaneous that can be solved using some special data structures like maps, string manipulation, design (oops and system design)

Right now following blind 75 list. Kind of getting into groove and identifying patterns. I got a suggestion to do leetcode explore instead of blind 75. Will see which approach is better. But definitely in a better place since I started this thread. Starting lo leetcode choosthene Bayam vesedhi

Link to comment
Share on other sites

Interviewers are smart. they know you mug up LC solutions and blurp in interviews.

so ila cheste ala antaru..or asking to fine tune for time and space complexity..linear space etc

or just ask what if I have a ton of data will your program still work etc

Link to comment
Share on other sites

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...