Isn't there already a Discuss community at discuss.leetcode.com?
Yes, but the old Discuss is retired in favor of the new Discuss here. After much contemplation, I have decided to shutdown the old Discuss for good.
What topics can I ask about here?
LeetCode Discuss is for you to ask questions strictly related to OJ problems. If you are stuck on a problem, then you're in the right place to ask your question!
Please check to make sure that your question was not asked before. Questions which are too broad, unclear, or contains only code with minimal description may be deleted by the moderator unless they are improved.
I found a bug in my code but it was accepted by the judge. Could I ask a question here?
Yes, absolutely! Please mention at least few test cases that should be added to the judge, and remember to include your full buggy code in the question itself. Your contribution will be greatly appreciated by all users of the LeetCode community.
Why are some answers deleted?
Answers that do not fundamentally answer the question may be deleted, such as:
How do I write a good answer?
Thanks for contributing an answer! It's because of helpful LeetCoders like yourself that we're able to learn together as a community. Here are some guidelines to a great answer:
Your thought process is the essence of a brilliant answer – whether it is about a key insight to a problem, or an improvement to the time/space complexity of an algorithm. Provide code snippets when appropriate to help connect your thought process with the real implementation. Including a full working code as a supplement to your answer is acceptable, but fuller explanations are better.
If you found answers that were helpful to you, instead of saying "thanks", please consider expressing your gratitude in a more constructive way – by contributing your own answers to questions others have asked.
Links to external resources are encouraged, but please add context around the link so your fellow LeetCoders will know what it is and why it’s there. Always quote the most relevant part of an important link, in case the target site goes offline.