How to start Competitive Programming? For beginners!
Vložit
- čas přidán 31. 05. 2024
- Guide on how to get started with Competitive Programming. Go to any platform like Codeforces, sort problems by difficulty and just solve them. Two good platforms are codeforces.com/ and atcoder.jp/, and there's also free PDF "Competitive Programmer's Handbook" cses.fi/book/book.pdf
Subscribe for more educational videos on algorithms, coding interviews and competitive programming.
- Github repository: github.com/Errichto/youtube
- Live streams on 2nd YT channel and on Twitch: / errichto2 & / errichto
- FB and Twitter: / errichto & / errichto
- Frequently Asked Questions: github.com/Errichto/youtube/w...
#Coding #Programming
My competative programming journey:
Opened an account
Saw the first 2 begginer problems
Ended competative programming
✋😭
Just learning because of coding questions asked in interviews.
haha
😂😂😂😂😂😂
SAME. I suck at competitive programming :(
you already failed at spelling competitive correctly ;-)
I like him most because he is the number one programmer and he wants to do something for people .......your suggestion make us confidence thank you
No, it's gennady.
He is at a very high level...very very high !
@@jalsol why you talk like that.... he is the boss if you are a boss then prove it..... don't talk like that.... Don’t judge others
@@dsa5821 He isn't currently top 10...
But he has once been an LGM at codeforces (it's basically highest rating group)
Most of us folks can't even begin to comprehend how big of an achivement that is..trust me on this :)
@@dsa5821 he has... Just search his name on CZcams
Petr and Um_nik too have a CZcams channel...
Don't make a mistake by picking a topic and practicing a lot of problems in it.
You also need to practice a lot of problems randomly without knowing the topic beforehand. If you already know that the problem should be solved by using Graphs then you will think in that direction only. So need to practice random questions also. This is a mistake I made.
That's true!
Right on man!
Before you go random, get the basics right. Solve a lot of problems in graphs if you have to. But rather than solving the problem, understand the problem. Later on it doesn't matter whether you solve the random problem or not. It will be far easy
@@dhananjaydeshmukh3469 trust me it won't be easy to decipher a given problem into graph or dp or greedy etc. When you solve tougher problems it becomes really difficult. So instead of solving topic-wise better to solve randomly. And if you encounter a new topic then read about it from diff resources solve some problems on it and continue this process
@@charan775 that's true, but that only works if you know the basics and you have to solve the already solved problems to get a hang of it. That way random problems becomes harder to solve, at the least. But if you don't even grasp the concept of why. Then all those randome problems are like impossible stuff. To reach the problem of graph, I m sure a lot of people will get confused at recurring concept.
E-Sport? 10+ years of DotA and Counter-Strike experience, time to shine! ....oh wait.
Lol
Welcome back to reality :D
yeaha....
"years of academy training wasted"
Avichal Sharma True, but how much time do we waste with crap in general. So I don’t know what your comment is trying to say.
I thought it was 2 second video saying "Just start"
I considered that :D
@@Errichto this is what I wanted.....
@@Errichto I think you have a chance to work at google.. If i were you I would apply.. with your skill it should be easy @😙..
I love how calm this guy is and actually wants good for all of us
Dude , just dont stop doing this series. This is awesom . finally some competitive programmer is teaching his audience..thanks man. I am gonna learn a lot!!!
did you
@@user-wc9vi1vt6u😂
No ads, no clickbaits. Errichto is always straight to the point and simple. The best.
Can also check out this channel which is very helpful :
czcams.com/video/W36Kd71Y4vs/video.html
I tried CP, was hard and i left it. Now I'm motivated to start again after watching your video. Thank you.
If it was easy, there would be no satisfaction in achieving something here :)
@@Errichto Hate to sound sleazy, but tease me, I don't want it if it's that easy.- 2Pac
@@Errichto It needs to be proportional to player's skill he probably meant it was too hard for him
CP? Please bro use the full form🧐😅
@@wolvezoid8729 We don't do that here.
This was surprising thorough and well explained. Finally something to do in quarantine.
He is so humble, makes us to feel confident about Competitive Programming
Thanks a ton for pointing us towards these kinds of resources, Errichto!
I was reading competitive programming handbook and I had a notification on my phone Errichto posted a video Yay !!!
Yay :)
This is the video I've been waiting for, awesome man!
YOU ARE THE BEST MAN!!!!!!!!!!!!!!!. I have been trying to find how to get into competitive programming for months but there's so much information and prerequisite that people keep talking about that becomes jarring and very intimidating to get into it and most of them are just trying to sell courses, so their information is also biased . You gave it to me how it is and without any BS . Thanks a lot .
Thank you for always being a beacon, stay blessed :D
It's too easy for him to find his submission xD (red among blue and green). Thanks for such an amazing video!
Thanks a lot for your videos.
Your videos are helping me a lot to learn about competitive programming.
I'm in high school now . Your videos are helping me to do a better performance in national high school programming contest
You're welcome :)
Thanks a lot for your contribution to the competitive programming. It would be great blessing for complete newbie's to learn from the top programmers.
Thnx Kamil... i am somewhat familiar with c++ but recently i have started solving problems on codeforces i knew the basic implementations & many a times i used to be overwhelmed in this world thnx to u i somewhat encouraged to go on. Keep making such resourceful videos for us juniors.. thanks man Take love❤
I have been doing CP for a long time, but never took it too seriously and hence never got good at it. But I took it as a challenge. I will read this pdf and solve as many problems as possible for the next 30 days. Hope to see some positive changes after this time.
Good luck!
Yeah better use the quarrentine time if you are in India.. all the best pal.. i am a noob for CP although I am a software graduate.. pretty lame but hey better late then never..!!
@@shaileshnavale1819 Yeah, you can get pretty good in an albeit short time. Good luck
@Mohit Singh updates?
@@piranhabytes482 I have completed till data structures in the pdf, solved around 20 problems on codeforces of difficulty 800-1000. I have also solved first 2 problems on codechef and I am stuck at 3rd one.
aight imma start doin this cuz i got pumped
That's the spirit!
Solves a few easy questions, gets motivated
Tries to solve the hard question, gets a partially correct answer after few hours of debugging
Finally gives up and opens editorial
Editorial mentions your algorithm, it says your algorithm sucks
**cries in corner** WHY GOD WHY?????
@@erek yeah, that happened to me like, always lol
Thank you so much! I will surely read that book. I've practiced a lot of problems, but that bit of advice is a true gem.
did u read the book?
There are very few people who truly help people you are one of them thanks.
can u post weekly exercises (set of questions) of increasing difficulty so that we get to learn and improve constantly ? just a suggestion. great work by the way
Hey. Could you also site exact sources from where you started learning algorithms and data structures or some good courses to learn the same. I think as a beginner a list of material for each topic prepared by you and how to study it would be very useful for a beginner. #suggestion
This is really incredible, I want to cry because of how happy I am now, thank you so much!
This video helped me to start competitive programming. ThankYou For Your Videos. You are a great person man.
This is really helpful for me. I just started learning C++ for competitive programming. Waiting for the next video about google code jam.
@@habibulrahman84 LOL
You were doin cp in other language till date?
@@satvikgs5855 whats wrong with that??
Little late to the party, starting competitive programming at the age of 31. I'm glad leetcode is conducting the challenge which makes me accountable to code daily.
Thank-You for giving clear instructions, As a beginner that is exactly what I was looking for
Awesome! Appreciate you're taking your time for doing this, thanks
I'm really new to CP. I hope you have more videos coming up on this topic :)
I do :)
how are you now
Bob ross of competitive programming, a true legend.
Thank you Errichto, for considering my request for this video. Video is very helpful for clearing the picture of competitive programming in beginner's head. Thank You very much
Can also check out this channel which is very helpful :
czcams.com/video/W36Kd71Y4vs/video.html
Thank you man best thing I found today was your channel. ♥️
your voice is really smooth...
this is amazing im gonna start but i will need to learn c++ i got stuck in lua and python cause I code for roblox and gta and both uses lua
We get motivation, inspiration, knowledge and a whole bunch of things because of you!!
Thanks for suggesting the book ! Love the idea of programming as well as reading to become better at CP
Hey Errichto, Great video for beginning in CP,
for me I know a lot of algorithms and also I'm Expert on codeforces and a five star on codechef
but I'm lost or like stuck or something, I started in CP by solving problems and learning from the editorial how to solve them,
but no academic background also I don't know everything about the algorithms that I know, I just know how to use them.
My goal is to be a lot better,
so I'm thinking about getting back to basics and read "introduction to algorithms" book and relearn everything in more details.
do recommend this step for me or you have something better in mind?
Solve problems, read articles and tutorials, that's enough, really. Books aren't important even if you want to reach very high level. If you want, you can read "introduction to algo" but only if you have good math background, otherwise it's too hard and complicated. And it's quite outdated (at least for CP).
@@Errichto
thanks a lot this will change my plans.
my math background is really weak because in school we learned nothing and I really regret those 12 years.
last request, do have a good resource for math, like just to get my math background more stronger.
math is the hardest thing for me in CP
I tried to be good at it by solving problems but that didn't go really well,
thanks in advanced
@@kinansaad980 Nope, math is one topic for which I don't know what to recommend.
@@kinansaad980 start with Project euler as for now and Make Number theory and Combinatorics strong
@@shahilsingh6828 But Project euler is quite hard :/
Let's say your main goal is to study for interview preparation. Do you think learning competitive programming would help or is it overkill? I think a lot of people are confused with this, it would be helpful if you can provide some advice. Thanks!
It's overkill. Better just practice for coding interviews directly.
@@Errichto alright thanks :)
Thank you so much for your videos Errichto, you are a huge inspiration
Please keep up with the great work. Your videos are really helpful and to the point. Thanks a lot..
what is the best language for comp programming, I have been learning Python and c++ but mainstream python, having seen you programming in c++ so what is better python or c++ and if there is any difference between them.
for c++ what in your opinion is the best ide
As I said in the video, C++ is better.
There is no best IDE, but I use geany.
ok, thanks
Love you errichto, I have one doubt, I'm currently learning C++(2weeks). So shall I try to learn html along with it??pls tell me
HTML isn't needed in CP whatsoever.
CP is object oriented programming language , html is not a programming language its a pointer language its really simple language and you can use it create websites or smh without CSS and JavaScript language so thats for front-end developer buddy. Learn html-Css-javascript if you interested in create websites
Thank you!!
I've never taken the time for competitive programming, with all the others stuff you have to be aware of when you're making a living as a programmer.
But! No more excuses. Your video has inspired me in the practical sense!
Regards from Venezuela!
Cool, good luck :)
You inspired me to start my CP journey. I am following your tips.
Greetings from Mexico.
One day I wanna compete along with you dude...!!!
Participate in Google Code Jam next week ;p
Not prepared man but I am into it know... and I'll participate anyways Thanks for the reply... Really boosted me ♥️
@@kamujulasrikar5523 just ping me on codeforces : codeforces.com/profile/shahil_005
@@shahilsingh6828 will do ...!!!
codeforces.com/contest/1145/problem/A I have trouble in solving my first problem shahil bhai can u please help me I am getting Stackoverflow error
Hey Errichto!
You were a great help to get me started!!..
Would you say that the C programming language is efficient to be used in Competitive coding?
C++
@@alexanderarea6157 thank you! C was kinda messy to deal with 😅
Dude wtf you send out a full book for free and the content are explained very clearly thank you so much
Thanks for the PDF link, seems to be full of valuable information.
Hi errichto,
Thank you for video , do you recommend the book "competitive programming 3" for beginners
I said what I recommend ;p solving problems online + reading CPH
Hey Errichto thanks for this video !
Should we go for Algoexpert.io for learning the harder ones ??😅
Sure thing. Just remember that algoexpert prepares you for coding interviews, not for cp.
Just my two cents, never pay for any such Interview prep or algorithms courses. There are already plenty of cp and Interview prep study material available freely. Like 6006 by MIT OCW, Leetcode and IB for interview prep, CF and Codechef for CP, cp-algorithms.com for all adv ds and algo.
@@AmanSharma-hi3fd It's about valuing your time and choosing the best possible resource. I don't think that LC and IB are perfect for interview prep, and neither is Codechef for CP. My personal opinion is that algoexpert is currently best video-based platform for interviews (but not necessarily the best interviews platform in general).
@@Errichto what platform would be "IB"?
@@Summersault666 Interview Bit Website.
Thank you Errichto. God bless you and your family.
Thank you for helping me. I was looking for - what is this world of CP all about - your intro helped a lot - because I know which all are the common sites, the overall flow, the algos, process and super walk through. Thank you.
Guys I've completed python basics recently.
I've been thinking of trying competitive programming
But before that should I learn data structures and algorithms or can I start without it?
Probably best to try and learn some theory as it can help you understand what's actually going on in the program. Start with arrays as they're used all the time then move on to stacks and queues (different data structures)
If you don't know anything about algorithms and data structures you can't solve more difficult problems that require some time or memory efficiency, in my opinion.
@@waldenwasted2665 I know you probably added the "in my opinion" part as to not offend anyone, but it really isn't needed. Facts are facts and knowing no algo/data structures makes it damn near impossible to solve those problems unless one is so incredibly bright that they'll figure out these concepts while solving the problem. Just say it as it is, OC has to learn these concepts, otherwise they're going to have a bad time.
Thank you to everyone who replied
Much appreciated ❤️
I'll surely learn ds and algo before anything
Thanks for the comment section :D greetings from Brazil.
I can tell you from experience, that _in companies (!)_ *competetive programmers are the worst*
they're *ego-driven*, selfish, not willing to share information in order to outshine others, in order to get confidence boost from their superiors / enslavers
*being* specialized in a field / *intelligent isn't worth shit, if your character is shit*
it's not against errichto (1st time watching him).
@Dossieri wouldn't say "naught" - cuz it's a strong, but ofc legit statement.
is part of that an expression for "one self can't free oneself from the ego" ? if so i'd agree to that part.
what i was trying to communicate is that one has a choice - at least sometimes - to make a conscious decision to not let the ego take over all the time in the realm of dualism in order to take care of balance.
appreciate ur comment^^
Just because they didnt give you info. They re shit?.. 😂😂😂😂😋
Just because they didnt give you info. They re shit?.. 😂😂😂😂😋
@@bingkysskiliwaax7941 no. i can inform myself. read my comment again, then think about your comment... then come back.
Thank you so much, I was struggling with how to start cp.
Your video was very helpful 😄
Thank you very much for sharing about starting competitive programming. Because you are talking very easy to understand
How to start with competitive programming: Don't.
You go straight to the point, thanks a bunch for this video ^^
wow man thanks, just discovered a whole new world, competitive programming, definitely going to give it a try, i am a developer but not so proficient in c++, so this could be the way to improve my c++. thanks.
Thanks Errichto, I appreciate your work
Thanks Errichto for sharing the insights over Competitive Programming.Please share some resources on Datastructure and algorithm in details.
the way you present the video just calms me down man
aweoms e stuff
Such great initiative steps to learn beginner,u make time to learn us, many of other will now inspire by u
you are making cp so much interesting and easy to learn many topics which are not avaible on youtube before.
Thanks for making this video, and I'm glad CZcams recommended it to me. I just finished my first contest on Codeforces, and even though I only successfully completed 2/6 problems, I still really enjoyed it.
Nice video! Like that sort of video, I like when you show us how to implement problem definition into code.
This is very useful, thank you. I enjoy data structures and algorithms and I think I would enjoy competitive programming.
thanks for the book link. Gonna start now!
You are very talented and you have killer instincts
man.
Keep it up!!!
thanks man!! please continue this series... there is not much source available to understand what wrong one is doing while doing competitive programming.
Thank you very much for the knowledge and information. This will help me a lot.
Thanks for these useful advices!
Whenever @erricho video comes, first I like the video and then I resume it
Thanks for the Book 😊, it is really helpful like your videos. Please do share such books and links in future.
This video came at the right time for me. Thanks Errichto ;)
Can also check out this channel which is very helpful :
czcams.com/video/W36Kd71Y4vs/video.html
U are very nice and calm motivator.Thnx a lot for ur guidance. Besides... Loved ur interview session with Joma Tech and Clément.
Keep up this good work😇😃👍🏻
Errichto, thank you for this video!
Thank god, A competitive programmer is making time to teach us. God Bless Bro
Thank's for the resources errichto!!
Very helpful video Errichto...keep up nice stuff like this
Great Content as always!Thanks!
Thank you. This is very informational.
Thank you so much Errichto.
thank you man. You really helped a lot with this video!!!
lots of thanks and love from india . you are the inspiration behind my coding enthusiam .
That‘s really precious, thank you
How easy you have showed that competetive programming can be solved. Thanks Erichto
Can also check out this channel which is very helpful :
czcams.com/video/W36Kd71Y4vs/video.html
Very nice book! Wonderful advice. Thank you very much.
Thanks for replying in codeforeces chat and also for making such a helpful video.
Thank you so much for uploading this. It was very helpful for me:D
Can also check out this channel which is very helpful :
czcams.com/video/W36Kd71Y4vs/video.html
Big thank you for such great video!
thank you man, great video and help!!!!
Great series! Keep it up!
please make the next video about google code jam and other programming contests AS SOON AS POSSIBLE ! you explain everything calmly and clearly .........!!keep up the good work man
yup, I'm going to do that.
i started programming when i was 14, it was web deveopment programming. It was a decent ride but now i'm 22 and i have stopped enjoying it (probably because the lack of actual problem solving and it's more about building infrastructure). I hope this might be the one for me, thank you for showing this.
great video as always
Great video.Waiting for more!