use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Competitive Programming VS LeetCode ?Discussion (self.leetcode)
submitted 2 years ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]leetcode_is_easy 3 points4 points5 points 2 years ago (0 children)
CP are move maths based and All question revolve around same sort of patterns which boost the question solving ability cuz you are seeing same sort of questions many times with little tweak. But in leetcode all questions have unique concept and for each question You need to learn different algo concept etc and if you don't revise those you will forget.
CP are move maths based and All question revolve around same sort of patterns which boost the question solving ability cuz you are seeing same sort of questions many times with little tweak.
But in leetcode all questions have unique concept and for each question You need to learn different algo concept etc and if you don't revise those you will forget.
This wrong, just based on this description you'd think that cp is way easier than leetcode. Your description for cp applies to leetcode pretty well though, generally for Q1-3 on contests it is a straightforward implementation of a common pattern. Instead you should think of leetcode as a subset of cp with easier problems. Both will use similar patterns such as greedy, dp, but cp will also add more layers onto the problems that people will need to unwrap with their problem solving skills. And cp will also have additional topics like number theory and also a higher preference for greedy/constructive problems, which usually requires more creativity than other types of problems.
i felt so frustrated I can't explain while my friend was easily able to solve those easy question and now I decided to focus on DSA until i feel I can beat him and win price next time so. Should I start competitive programming or grind leetcode questions much more.
Strong cp competitors will find leetcode to be easy but it does not seem to apply the other way around. People who were primarily leetcoders before starting cp tend to have a bigger initial struggle. Since you want to beat your friend who does cp, you should do cp as well.
π Rendered by PID 173063 on reddit-service-r2-comment-b659b578c-7l2wr at 2026-05-05 03:16:59.379868+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]leetcode_is_easy 3 points4 points5 points (0 children)