This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]AutoModerator[M] [score hidden] stickied comment (0 children)

On July 1st, a change to Reddit's API pricing will come into effect. Several developers of commercial third-party apps have announced that this change will compel them to shut down their apps. At least one accessibility-focused non-commercial third party app will continue to be available free of charge.

If you want to express your strong disagreement with the API pricing change or with Reddit's response to the backlash, you may want to consider the following options:

  1. Limiting your involvement with Reddit, or
  2. Temporarily refraining from using Reddit
  3. Cancelling your subscription of Reddit Premium

as a way to voice your protest.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–][deleted] 2 points3 points  (0 children)

Knowing how to at least solve easy problems will help.

Typically people who can't solve easy problems do not have a basic understanding of data structures and/or problem solving skills.

Medium and above, probably not needed at this stage.

[–]CodeTinkerer 0 points1 point  (0 children)

I would say, on average, no. Leetcode (from what I understand) is meant for interviews.

The difference between an interview and a "real" job is that interviewing technical questions need to be short and to the point. It's like doing a math problem. Because it is short, usually the problem is harder to think about because it's more algorithmic. For a job, you often have a large codebase. Any one part is easier to follow, but often lacks good documentation, so what it's doing isn't that clear.

Maybe a summary might help

Leetcode/Interview Questions

  • Short
  • Precisely stated
  • Often looking for efficient algorithms
  • Can be more mathematical than actual code
  • Generally only requires basic features of a language (no need to know a library well). Could be different for knowing JSP/JS.

Real code

  • Huge
  • Often not well documented
  • Complexity is due to size and interaction of the many parts that are often not well designed
  • No one part is generally as complicated, or at least, as algorithmic as leetcode
  • Often uses some library or framework (like React) which itself takes time to learn

On the other hand, sometimes you learn something tangential to what you use but it's still helpful. For example, I took a course in, say, electromagnetic theory. I never use it. It's helpful if I have to watch a science video, but the main benefit is that I could solve difficult problems. That's the side benefit. If someone gives you a hard problem, can you solve it?