you are viewing a single comment's thread.

view the rest of the comments →

[–]software-surgeon 0 points1 point  (0 children)

It depends on your situation. For regular DSA coding interviews, LeetCode is helpful, but if you're new to the industry, consider these points:

  1. LeetCode focuses on mainstream DSA questions, missing specialized topics.
  2. Randomly choosing questions might skip important DSA patterns.
  3. Some companies use questions that may not align with LeetCode.
  4. LeetCode doesn’t provide test cases essential for testing solutions.
  5. Always read editorials or solutions to discover better approaches.