444 awesome lists. 23 categories. 409 curators. I feel lucky.

Competitive Programming

๐Ÿ’Ž A curated list of awesome Competitive Programming, Algorithm and Data Structure


lnishanlnishan/awesome-competitive-programmingUpdated Fresh 3798 311 969

Awesome Competitive Programming Awesome

A curated list of awesome Competitive Programming, Algorithm and Data Structure resources.

Created with a view to connecting people to information, this list below contains a complete collection of all the fantastic resources I've collected over the course of my 11-year competitive programming career. I hope you'll find it useful :)

What is competitive programming? - Quora


Please kindly follow to get started.

You can also contribute by sharing!
Share the list with your classmates, your friends and everyone :)

By connecting more people to information,
You, are doing not me, but everyone a HUGE favor!

I really hope that more people can benefit from this list :)

Table of Contents

List of Lists

Awesome curated lists classified by topics.

โ˜…โ˜…โ˜…Good Blog Post Resources about Algorithm and Data Structures - CodeforcesA collection of fantastic tutorial blog posts written by Codeforces users. Some intriguing ones include Palindromic Trees, Policy Based Data Structures, and a lot more.
โ˜…โ˜…โ˜…All of the good tutorials found on codeforces - CodeforcesAnother good collection of tutorial blog posts written by Codeforces users.
โ˜…โ˜…โ˜…Data Structures and Algorithms - CodeChef DiscussA very complete list of competitive programming resources. A must-have in your browser bookmark.
โ˜…โ˜…โ˜…How to prepare for ACM - ICPC? - GeeksforGeeksA detailed walk-through of the preparations for ACM-ICPC.


Find out what topics you need to learn.

โ˜…โ˜…โ˜…IOI SyllabusA detailed syllabus on which IOI contestants will be tested. This is still somewhat relevant to ACM-ICPC.
โ˜…โ˜…โ˜…How to prepare for ACM - ICPC? - GeeksforGeeksA detailed walk-through of the preparations for ACM-ICPC.
โ˜…โ˜…โ˜†Programming Camp SyllabusA list of important topics in competitive programming with exercise problems.
โ˜…โ˜…โ˜†Juniors Training Sheet, by Mostafa Saad Ibrahim~800 ordered problems for newcomers to be good up to Div2-D

Tutorial Websites

Awesome websites with great tutorials.

โ˜…โ˜…โ˜…Topcoder Data Science TutorialsA list of tutorials written by respected Topcoder members. Many top programmers started learning data sciences from here.
โ˜…โ˜…โ˜…E-Maxx (Russian), (English)A tutorial website widely used and referenced in the Russian-speaking competitive programming community. Only a small fraction of the original site is translated into English, but Google Translate would work okay.
โ˜…โ˜…โ˜†Algorithms - GeeksforGeeksA website with a large archive of nicely written articles on different topics. It is a great complimentary resource for algorithm courses.
โ˜…โ˜…โ˜†PEGWikiA website with amazing in-depth wiki-like writeups on many topics. It's far better than those on Wikipedia in my opinion.
โ˜…โ˜…โ˜†Notes - HackerEarthA great crowdsourcing platform for tutorials. Also visit Code Monk.
โ˜…โ˜…โ˜†USA Computing Olympiad (USACO)Contains several training pages on its website which are designed to develop one's skills in programming solutions to difficult and varied algorithmic problems at one's own pace.
โ˜…โ˜…โ˜†basecsA blog with in-depth, illustrated tutorials on basic algorithms and data structures.
โ˜…โ˜…โ˜†Competitive Programming - CommonloungeShort video tutorials for beginner and intermediate concepts. Advanced tutorials selected from the best ones available on various CP blogs.
โ˜…โ˜†โ˜†OLYMPIADS IN INFORMATICSAn international journal focused on the research and practice of professionals who are working in the field of teaching and learning informatics to talented student.
โ˜…โ˜†โ˜†algolist (Russian)A Russian website devoted to algorithms of all sorts. Some topics listed on this website seems pretty interesting.
โ˜…โ˜…โ˜†ๆผ”็ฎ—ๆณ•็ญ†่จ˜ (Algorithm Notes) (Chinese)One of the most popular tutorial websites among the Taiwanese competitive programming community. The maintainer for this website spends immense efforts on researching algorithms.
โ˜…โ˜…โ˜†ๅ›ฝๅฎถ้›†่ฎญ้˜Ÿ่ฎบๆ–‡ 1999-2015 (Papers from Chinese IOI training camps) (Chinese)Papers from the Chinese IOI training camps. It's interesting for the fact that one can tell different regions emphasize different things.
โ˜…โ˜…โ˜…Mini-Editorials, by Mostafa Saad Ibrahim traineesSolutions with mini-editorials for many problems, including UVA/SPOJ/IOI/Olympiad problems

Open Courses

Consider beginning your competitive programming journey with these awesome courses!

โ˜…โ˜…โ˜†Code Monk, by HackerEarthA fantastic step-by-step tutorial on the essential topics in competitive programming.
โ˜…โ˜…โ˜…Stanford CS 97SI: Introduction to Competitive Programming ContestsOffers comprehensive lecture slides and a short list of exercise problems.
โ˜…โ˜…โ˜†How to Win Coding Competitions: Secrets of ChampionsA course by ITMO University on competitive coding on edX.
โ˜…โ˜…โ˜†Codechef's Indian Programming CampVideo Lectures from Codechef's Indian Programming Camp 2016. Lectures given by top competitive programmers like Sergey Kulik, Kevin Charles Atienza and Anudeep Nekkanti. Primarily focused on exploring these concepts by applying them to actual competitive contest problems.
โ˜…โ˜…โ˜†Reykjavik T-414-รFLV: A Competitive Programming CourseAn awesome course taught by Bjarki รgรบst Guรฐmundsson (SuprDewd). These lectures feature neat slides and a nice list of problems to practice.
โ˜…โ˜…โ˜†NCTU DCP4631: Problem Solving and Programming TechniquesA course on basic topics featuring good lecture slides.
โ˜…โ˜†โ˜†Materials (English) from Arabic Competitive Programming Youtube ChannelSome materials (slides & source codes) covering a broad range of algorithmic topics by Mostafa Saad Ibrahim.

Open Courses for Algorithms and Data Structures

โ˜…โ˜…โ˜…prakhar1989/awesome-courses#algorithmsA fantastic list of open courses offered by notable institutions (MIT, Stanford, UC Berkeley ... etc.).
โ˜…โ˜…โ˜…MIT SMA 5503: Introduction to AlgorithmsLectured by Prof. Charles Leiserson (one of the coauthors of Introduction to Algorithms) and Prof. Erik Demaine (a brilliant professor who has made remarkable breakthroughs in data science), the course offers great materials, accompanied by intuitive and comprehensive analyses.
โ˜…โ˜…โ˜†UIUC Algorithm Courselecture notes, homeworks, exams, and discussion problems covering a broad range of algorithmic topics


A list of recommended books for competitive programming.

โ˜…โ˜…โ˜†Competitive Programming, by Steven and Felix HalimThis book contains a collection of relevant data structures, algorithms, and programming tips. It's a well-received book. ... The first edition is free for download (pdf).
โ˜…โ˜…โ˜†Programming Challenges: The Programming Contest Training Manual, by Steven Skiena and Miguel RevillaThis book includes more than 100 programming challenges, as well as the theory and key concepts necessary for approaching them. Problems are organized by topic, and supplemented by complete tutorial material.
โ˜…โ˜…โ˜†Competitive Programmer's Handbook, by Antti LaaksonenAn introduction to competitive programming for aspiring IOI and ICPC contestants. Free to download (pdf).
โ˜…โ˜…โ˜†Computational Geometry: Algorithms and Applications, by Mark de Berg, Otfried Cheong, Marc van Kreveld, Mark OvermarsThis is a well-written book which covers a broad range of computational geometry problems.
โ˜…โ˜†โ˜†The Hitchhikerโ€™s Guide to the Programming Contests, by Nite NimajnebThis book is free for download (pdf). This book covers various topics relevant to competitive programming.
โ˜…โ˜…โ˜…ใƒ—ใƒญใ‚ฐใƒฉใƒŸใƒณใ‚ฐใ‚ณใƒณใƒ†ใ‚นใƒˆใƒใƒฃใƒฌใƒณใ‚ธใƒ–ใƒƒใ‚ฏ (Japanese), by ็ง‹่‘‰ๆ‹“ๅ“‰, ๅฒฉ็”ฐ้™ฝไธ€, ๅŒ—ๅทๅฎœ็จ”An absolutely phenomenal book. The contents, organized in a very coherent manner, are nothing short of amazing. ... ๅŸน้คŠ่ˆ‡้›้Š็จ‹ๅผ่จญ่จˆ็š„้‚่ผฏ่…ฆ๏ผšไธ–็•Œ็ดš็จ‹ๅผ่จญ่จˆๅคง่ณฝ็š„็Ÿฅ่ญ˜ใ€ๅฟƒๅพ—่ˆ‡่งฃ้กŒๅˆ†ไบซ (Chinese Traditional)
โ˜…โ˜…โ˜†็ฎ—ๆณ•็ซž่ต›ๅ…ฅ้—จ็ปๅ…ธ (Chinese), by ๅˆ˜ๆฑไฝณThe Art of Algorithms and Programming Contests (English), ๆ‰“ไธ‹ๅฅฝๅŸบ็คŽ๏ผš็จ‹ๅผ่จญ่จˆ่ˆ‡ๆผ”็ฎ—ๆณ•็ซถ่ณฝๅ…ฅ้–€็ถ“ๅ…ธ (Chinese Traditional)
โ˜…โ˜…โ˜†็ฎ—ๆณ•็ซž่ต›ๅ…ฅ้—จ็ปๅ…ธโ€”โ€”่ฎญ็ปƒๆŒ‡ๅ— (Chinese), by ๅˆ˜ๆฑไฝณ, ้™ˆ้”‹ๆๅ‡็จ‹ๅผ่จญ่จˆ็š„่งฃ้กŒๆ€่€ƒๅŠ›โ”€ๅœ‹้š›ๆผ”็ฎ—ๆณ•็จ‹ๅผ่จญ่จˆ็ซถ่ณฝ่จ“็ทดๆŒ‡ๅ— (Chinese Traditional)
โ˜…โ˜…โ˜…็ฎ—ๆณ•่‰บๆœฏไธŽไฟกๆฏๅญฆ็ซž่ต› (Chinese), by ๅˆ˜ๆฑไฝณ, ้ป„ไบฎAn old-time classic. It's old but the contents in this book are still considered to be very difficult by today's standards.

Books for Algorithms

โ˜…โ˜…โ˜…Introduction to Algorithms, by Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest and Clifford SteinAlso known as CLRS (taken from name initials), this book is often referred to as the "bible" for algorithms and data structures. It's one of the most popular textbooks for university algorithm courses. This book covered various algorithms and data structures in great detail. The writing is more rigorous and can be difficult to some.
โ˜…โ˜…โ˜†Algorithm Design, by Jon Kleinberg and ร‰va TardosThis book revolves around techniques for designing algorithms. It's well-organized and written in a clear, understandable language. Each chapter is backed with practical examples and helpful exercises. The chapter on network flow is highly praised by lots. ... The lecture slides that accompany the textbook are available on its official website.
โ˜…โ˜…โ˜†The Algorithm Design Manual, by Steven S. SkienaThe book is written in more readable text. Some find it comprehensive than other books. You can also find some good resources (including the author's own video lectures) on its official website.
โ˜…โ˜…โ˜…Algorithms, by Robert Sedgewick and Kevin WayneThis book is neatly categorized, coupled with elaborate explanations and fantastic illustrations. It is used in some IOI training camps as a textbook.

Books for Mathematics

โ˜…โ˜…โ˜†Discrete Mathematics and Its Applications, by Kenneth H. RosenDiscrete Mathematics is closely relevant to competitive programming. This book provides comprehensive materials on a wide range of topics including: Logics and Proofs, Sets, Functions, Sequences, Matrices, Number Theory, Recursion, Counting, Probablity, Graphs, Trees and Boolean Alegra to name but a few.
โ˜…โ˜…โ˜†Concrete Mathematics: A Foundation for Computer Science, by Ronald L. Graham, Donald E. Knuth, Oren PatashnikThe book offers a deeper insight into Discrete Mathematics with more emphases on number-related topics.
โ˜…โ˜…โ˜†Linear Algebra and Its Applications, by David C. Lay, Steven R. Lay, Judi J. McDonaldThe book does a brilliant job at bridging the gap between a physical system (for scientists and engineers) and an abstract system (for mathematicians).
โ˜…โ˜…โ˜†Introduction to Probability, by Charles M. Grinstead, J. Laurie SnellThis is a well-written introductory probabilities book. ... It's free for download (pdf) (released under GNU Free Documentation License).
โ˜…โ˜…โ˜†How to Solve It: A New Aspect of Mathematical Method, by G. PolyaAn old-time classic. In this book, the author provides a systematic way to solve problems creatively.
โ˜…โ˜…โ˜†Intermediate Counting & Probability, by David PatrickTopics in counting and probability byformer USA Mathematical Olympiad winner David Patrick , topics include inclusion-exclusion, 1-1 correspondences, the Pigeonhole Principle, constructive expectation, Fibonacci and Catalan numbers, recursion, conditional probability, generating functions, graph theory, and much more..

Sites for Practice

Good online judge systems / contest platforms to practice.

โ˜…โ˜…โ˜…CodeforcesCodeforces is one of, if not, the most popular contest platforms out there. Currently maintained by Saratov State University, it features regular contests and countless awesome original problems. Additionally, every contest provides immediate helpful tutorials (usually) written by the authors themselves. Codeforces also houses a strong and engaging community. All in all, one would indeed learn and improve tremendously here.
โ˜…โ˜…โ˜…TopcoderTopcoder has been around since 2001. Rich in history, It's considered to be one of the most prestigious organizations when it comes to technology competitions. Hundreds of SRMs gave birth to an abundant problemset. Problems here are typically more challenging than others and Topcoder therefore appeals to many elite programmers. The annual Topcoder Open (TCO) is also a widely-discussed event.
โ˜…โ˜…โ˜…Google Code JamGoogle Code Jam is certainly one of the most highly-esteemed programming competitions. The competition consists of unique programming challenges which must be solved in a fixed amount of time. Competitors may use any programming language and development environment to obtain their solutions.
โ˜…โ˜…โ˜…AtCoderAtCoder is a new but phenomenal contest platform created by a team of highly-rated Japanese competitive programmers.
โ˜…โ˜…โ˜†CodeChefCodeChef is a non-profit educational initiative of Directi. It's a global competitive programming platform and has a large community of programmers that helps students and professionals test and improve their coding skills. Its objective is to provide a platform for practice, competition and improvement for both students and professional software developers. Apart from this, it aims to reach out to students while they are young and inculcate a culture of programming in India.
โ˜…โ˜…โ˜…SPOJThe SPOJ platform is centered around an online judge system. It holds a staggering amount of problems prepared by its community of problem setters or taken from previous programming contests, some of which are great problems for practice (refer to the Problem classifiers section). SPOJ also allows advanced users to organize contests under their own rules.
โ˜…โ˜…โ˜†TimusTimus Online Judge is the largest Russian archive of programming problems with automatic judging system. Problems are mostly collected from contests held at the Ural Federal University, Ural Championships, Ural ACM ICPC Subregional Contests, and Petrozavodsk Training Camps.
โ˜…โ˜†โ˜†HDUHDU is an online judge maintained by Hangzhou Dianzi University. It's home to many classic problems from the Chinese IOI scene.
โ˜…โ˜…โ˜†Aizu Online JudgeAizu online judge is a contest platform and problem archive hosted by The University of Aizu. It has a lot of great problems from programming competitions in Japan.
โ˜…โ˜…โ˜†UVaAn old-school problem archive / online judge with rich history. Thousands of problems, including many classic ones, are featured here. However, it is strongly advised that you practice with uHunt following its "Competitive Programming Exercise" section.
โ˜…โ˜…โ˜†HackerRankHackerRank is a company that focuses on competitive programming challenges for both consumers and businesses. HackerRank's programming challenges can be solved in a variety of programming languages and span multiple computer science domains.
โ˜…โ˜…โ˜†POJPOJ is an online judge with many great problems maintained by Peking University. Most Chinese competitive programmers began their journey here. The platform is really dated so mysterious compilation and run-time issues may occur.
โ˜…โ˜…โ˜†Project EulerProject Euler features a stunning set of good math problems. It also hosts a forum where people can discuss.
โ˜…โ˜†โ˜†HackerearthHackerEarth is a startup technology company based in Bangalore, India that provides recruitment solutions.
โ˜…โ˜†โ˜†Caribbean Online JudgeCOJ is hosted by University of Informatics Sciences (UCI, by its acronym in Spanish), located in Cuba. Feature ACM ICPC and Progresive constest styles, mostly from Caribbean and Latin American problem setters, also has problem classifier and contest calendar.
โ˜…โ˜…โ˜†CS AcademyNew in the competitive programming scene, CS Academy is a growing online judge that hosts competitions once every two weeks. It supports live chat, interactive lessons and an integrated online editor (that actually works).
โ˜…โ˜…โ˜†Russian Code CupProgramming competitions powered by Mail.Ru Group. Competition consists of 3 qualification, 1 elimination and 1 final rounds. For each round contestants are given 4-8 problems which must be solved in a fixed amount of time.
โ˜…โ˜…โ˜†CodeFightsCodeFights is a website for competitive programming practice and interview preparation. It features daily challenges of varying difficulty, an archive of problems and regular (every 15 minutes) mini-tournaments. Good for beginners.

Problem Classifiers

Sites classifying programming problems.
Choose a category (eg. DP) of interest and practice problems on that topic.

โ˜…โ˜…โ˜…A2 Online JudgeMixed
โ˜…โ˜…โ˜…Problem ClassifierSPOJ
โ˜…โ˜…โ˜†UVa Online JudgeCP Book
โ˜…โ˜†โ˜†Codeforces TagsCF (DP)
โ˜…โ˜…โ˜†Juniors Training Sheet, by Mostafa Saad Ibrahim~800 ordered problems for newcomers to be good up to Div2-D
โ˜…โ˜…โ˜†Lucky่ฒ“็š„ UVA๏ผˆACM๏ผ‰ๅœ’ๅœฐ (Chinese)UVa
โ˜…โ˜…โ˜†Topcoder problem archiveList of problems with categories and complexity levels

Contest Calendars

Calendars for impending programming contests.
(Never miss another contest!)

โ˜…โ˜…โ˜…Programming Contest Calendar - HackerRankGoogle Calendar export available
โ˜…โ˜…โ˜†clist.byAPI available for use
โ˜…โ˜…โ˜†Coding Calendar (Android App)
โ˜…โ˜…โ˜†Coder's Calendar: Android App, Chrome Extension, Firefox Add-on
โ˜…โ˜…โ˜…CodeHorizon: iOS App, Android App

Sites for Questions

These are great sites to ask questions.
Paste your codes at ideone, pastebin or other sites to avoid formatting issues.

โ˜…โ˜…โ˜…CodeforcesFor quick answers, Codeforces is definitely the go-to place to ask about anything competition-related.
โ˜…โ˜…โ˜…Competitive Programming - QuoraYou would typically get more elaborate answers on Quora, but you might not have your questions answered straightaway.
โ˜…โ˜…โ˜†Theoretical Computer Science Stack ExchangeThis place is generally for the academics, so don't ask questions about contest problems here.

Camps and Trainings

Online Trainings and Camps.

โ˜…โ˜…โ˜…Online Free Problem-Solving Coaching, by Mostafa Saad IbrahimSee the coaching details and people comments on its nature/quality.


Algorithm & Data structure implementations.

โ˜…โ˜…โ˜…CodeLibrary, by Andrey Naumenko (indy256)CodeLibrary contains a large collection of implementations for algorithms and data structures in Java and C++. You may also visit his GitHub Repository.
โ˜…โ˜…โ˜…spaghetti-source/algorithm, by Takanori MAEHARA (@tmaehara)High-quality implementations of many hard algorithms and data structures.
โ˜…โ˜…โ˜…kth-competitive-programming/kactl, by Simon Lindholm (simonlindholm) et al.A phenomenally organized, documented and tested team notebook from KTH Royal Institute of Technology. One of the most well-crafted team notebooks (contest libraries) I've ever seen.
โ˜…โ˜…โ˜†jaehyunp/stanfordacmStanford's team notebook is well maintained and the codes within are of high-quality.
โ˜…โ˜…โ˜†ngthanhtrung23/ACM_Notebook_new, by team RR Watameda (I_love_Hoang_Yen, flashmt, nguyenhungtam) from National University of SingaporeRR Watameda represented National University of Singapore for the 2016 ACM-ICPC World Finals. The items in this notebook are pretty standard and well-organized.
โ˜…โ˜…โ˜†bobogei81123/bcw_codebook, by team bcw0x1bd2 (darkhh, bobogei81123, step5) from National Taiwan Universitybcw0x1bd2 represented National Taiwan University for the 2016 ACM-ICPC World Finals. This notebook contains robust implementations for advanced data structures and algorithms.
โ˜…โ˜†โ˜†foreverbell/acm-icpc-cheat-sheet, by foreverbell (foreverbell)A notebook with some advanced data structures and algorithms including some from the China informatics scene.
โ˜…โ˜†โ˜†igor's code archive, by Igor Naverniouk (Abednego)A good notebook by Igor Naverniouk who is currently a software engineer at Google and part of the Google Code Jam team.

Language Specifics

Languages and other miscellaneous knowledge.


โ˜…โ˜…โ˜†Power up C++ with the Standard Template Library - Topcoder: Part 1, Part 2An introductory tutorial on basic C++ STLs.
โ˜…โ˜…โ˜†Yet again on C++ input/output - CodeforcesLearn more about C++ I/O optimizations.
โ˜…โ˜…โ˜†C++ Tricks - Codeforces ... What are some cool C++ tricks to use in a programming contest? - QuoraPlentiful C++ tricks for competitive programming. Note that some should be used with care.
โ˜…โ˜…โ˜…C++ STL: Policy based data structures - Codeforces: Part 1, Part 2Detailed introduction to the extra data structures implemented in GNU C++. The official documentation can be found here.
โ˜…โ˜†โ˜†C++11 FAQ (English, Chinese, Russian, Japanese, Korean)A list of FAQs regarding C++11 collected and written by Bjarne Stroustrup, the creator of C++.


โ˜…โ˜…โ˜†How to read input in Java โ€” tutorial - CodeforcesLearn how to read input faster. This is a must-read for those who intend to use Java for competitive programming
โ˜…โ˜…โ˜†How to sort arrays in Java and avoid TLE - CodeforcesSome tips on how to avoid hitting the worst case of quick sort
โ˜…โ˜…โ˜†BigNum arithmetic in Java โ€” Let's outperform BigInteger! - CodeforcesA basic but faster custom BigInteger class
โ˜…โ˜…โ˜†EZ Collections, EZ Life (new Java library for contests) - CodeforcesA Java library for contests written by Alexey Dergunov (dalex). ArrayList, ArrayDeque, Heap, Sort, HashSet, HashMap, TreeSet, TreeMap, TreeList and pair classes are implemented


โ˜…โ˜…โ˜…Bit Twiddling HacksA huge compiled list of bit manipulation tricks.
โ˜…โ˜…โ˜…Comparing Floating Point Numbers, 2012 Edition - Random ASCIIEverything you need to know about floating point numbers. A must read especially for geometry topics.
โ˜…โ˜…โ˜†Object-Oriented C Style Languages: C++, Objective-C, Java, C# - a side-by-side reference sheetA detailed side-by-side reference sheet for common syntaxes.


Awesome tools that will make your life easier.


โ˜…โ˜…โ˜…VimCLI / Cross-PlatformVim is one of the most popular text editors among advanced programmers. It allows text-editing to be done very efficiently with solely keystrokes. Vim is also highly configurable, extensible and integrates with shells (command lines) really well. The only setback about Vim is that it has a high learning curve for beginners.
โ˜…โ˜…โ˜…EmacsCLI / Cross-PlatformEmacs is another popular text editor (or development environment to be more precise). The debate on "Vim vs. Emacs" is constantly brought up due to their popularity. Basically Emacs is more than just a text editor. It has plugins like file managers, web browsers, mail clients and news clients that allows users to performs these tasks directly inside Emacs. Emacs is "heavier" because of this, but it arguably has a relatively easier learning curve for beginners.
โ˜…โ˜…โ˜…Far ManagerHybrid / WindowsFar Manager is the most widely-used editor in the RU/CIS competitive programming community. It's actually a file manager in its bare bones, but you can install FarColorer - a syntax highlighter plugin to program on it. Properly configured, Far Manager allows you to navigate between files very efficiently while writing your codes.
โ˜…โ˜…โ˜…Code::BlocksGUI / Cross-PlatformCode::Blocks is the go-to IDE for C/C++. It's a full-fledged, versatile IDE with numerous great features. Code::Blocks is usually provided along with Vim in programming contests.
โ˜…โ˜…โ˜…IntelliJ IDEAGUI / Cross-PlatformIntelliJ IDEA is certainly one of the best IDEs for Java. It's used by most competitive programmers who use Java as their main language. Be sure to check out CHelper, a very handy plugin written for programming contests.
โ˜…โ˜…โ˜†Sublime TextGUI / Cross-PlatformSublime Text is an extraordinary text editor. Packed with powerful and innovative features like Multiple Carets, Minimaps and Command Palletes, it attracts a strong and engaging community. Sublime Text is highly extensible, so be sure to have Package Control installed and explore perhaps one of the largest catalogue of plugins!
โ˜…โ˜…โ˜†EclipseGUI / Cross-PlatformEclipse is another good IDE for Java. It's an okay alternative to Intellij IDEA (A tad inferior to IDEA by today's standards). Sometimes contests only provide Eclipse for some reason, so this might be a good incentive to try and use Eclipse.
โ˜…โ˜…โ˜†CLionGUI / Cross-PlatformCLion, produced by JetBrains - the same company who made Intellij IDEA, is a powerful IDE for C++. Free educational licenses are available OR you can try out their EAP (Early Access Program) which is still free as of Apr, 2018. You may want to turn off its code inspection feature as it will cause quite a bit of lag.
โ˜…โ˜†โ˜†Other IDEsMixedVisual Studio is the IDE to use in case you want to code in C#. ... Both Atom and Visual Studio Code are built with Electron (written in JavaScript) and therefore somewhat resource-hogging. ... CodeLite is a newly rising IDE. Beware that the load-up and project-creation times can be extraordinary.

Personal use

โ˜…โ˜…โ˜…VisuAlgoA website featuring a large collection of visualization tools for algorithms and data structures.
โ˜…โ˜…โ˜…General Practice Helpers: ... CHelper (IntelliJ IDEA) (manual) ... caide (Visual Studio, CodeLite, standalone command line app) ... JHelper (AppCode, CLion)Great tools that parse contests, inline library codes and provide testing frameworks. They save you from spending your precious time on switching windows and copy-pasting back and forth.
โ˜…โ˜…โ˜†Codeforces Parsers: ... Codeforces Parser ... GoCF ... cfparser (emacs) cfparser (cli)These tools parse Codeforces contest problems and help run sample tests.
โ˜…โ˜…โ˜…The On-Line Encyclopedia of Integer Sequences (OEIS)A stunning encyclopedia with a database of countless integer sequences. It also features a powerful search engine. Sometimes a seemingly difficult combinatorics problem could be equivalent to a simple or studied integer sequence.
โ˜…โ˜…โ˜†Syntax Highlighters: ... ... ... hilite.meVery handy for creating slides or team notebooks with pretty, formatted code snippets. Just copy the highlighted code snippets and paste them in your favorite WYSIWYG (What-You-See-Is-What-You-Get) editor!
โ˜…โ˜…โ˜†Code Sharing: ... ... ... Ubuntu PastebinThese tools generate semi-permanent pages for code sharing. Very useful especially when you're trying to get someone else to look into your code.
โ˜…โ˜…โ˜†IneffableA simple command-line grader for local grading.
โ˜…โ˜…โ˜†uDebugA platform that provides expected outputs for user-specified inputs to problems on the UVa Online Judge. Some problems also provide additional test cases for debugging.

Contest Preparation

โ˜…โ˜…โ˜…polygonpolygon provides a platform and a rich set of tools for professional contest preparation. ... An example: Validators with testlib.h - Codeforces
โ˜…โ˜…โ˜†Graph EditorA fantasic tool to create and visualize graphs.
โ˜…โ˜…โ˜†tcframeA C++ framework for generating test cases of competitive programming problems.
โ˜…โ˜…โ˜…Virtual Judge (vjudge)Virtual Judge (vjudge) allows users to create virtual contests with problems from notable problem archives.
โ˜…โ˜…โ˜†BNU Online JudgeBNU Online Judge also allows users to create virtual contests.
โ˜…โ˜…โ˜†KattisKattis assists in contest preparation (E-mail them for assistance).


Meet the god-like competitive programmers!
Learn helpful tips, tutorials and insights from these people :)


Name (Handle)Blog Name
Codeforces blogs
Petr Mitrichev (Petr)Algorithms Weekly
Makoto Soejima (rng_58)rng_58's blog
Bruce Merry (bmerry)Entropy always increases
Przemysล‚aw Dฤ™biak (Psyho)Psyho's blog
Anudeep Nekkanti (anudeep2011)Namespace Anudeep ;)
vexorian (vexorian)vexorian's blog
Ashar Fuadi (fushar)Fushar's blog
LiJie Chen (WJMZBMR)WJMZBMR (Chinese)
Huang I-Wen (dreamoon)ๅฐๆœˆ็š„่€ๅปขๆ—ฅ่ชŒ (Chinese)
Shiang-Yun Yang (morris1028)Morris' Blog (Chinese)
Yuhao Du (TooDifficuIt, TooSimple, xudyh)xudyh (Chinese)

Youtube and Livestreams

Name (Handle)Link
Petr Mitrichev (Petr)Youtube
Gate Lectures by Ravindrababu RavulaYoutube
Mostafa Saad Ibrahim (mostafa.saad.fci)Competitive Programming Youtube (Arabic Speech-English Text)
Tushar RoyYoutube, with many tutorial videos.
Algorithms Live!Youtube
code_reportYoutube, with contest updates and problem tutorials of HackerRank, LeetCode, Topcoder and Codeforces.
"Sothe" the Algorithm WolfYoutube
Egor Kulikov (Egor)Youtube
Adam Bardashevich (subscriber)Youtube
Bohdan Pryshchenko (I_love_Tanya_Romanova)Twitch, Youtube
Vladimir Smykalov (enot.1.10)Twitch, Youtube
Aleksandar Abas (Alex7)Youtube
Mikhail Tikhomirov (Endagorion)Youtube


Visit Competitive Programming - Quora (Top 10 Most Viewed Writers).

Important Community FiguresDescription
Bill PoucherExecutive Director of ACM-ICPC. CS Professor at Baylor University.
Michal Foriลกek (misof)Organizer of IPSC and IOI. CS Teacher at Comenius University in Slovakia. Algorithm and CS Education Researcher. Former highly-rated competitive programmer.
Ahmed Aly (ahmed_aly)Founder of A2OJ. HackerRank Lead Software Engineer. Former member of the Google Code Jam team.
Competitive Programmers
Thanh Trung Nguyen (I_love_Hoang_Yen)Brian Bi (bbi5291)Jonathan Paulson (jonathanpaulson)
Miguel Oliveira (mogers)Egor Suvorov (yeputons)Michal Danilรกk (Mimino)
Bohdan Pryshchenko (I_love_Tanya_Romanova)Vladimir Novakovski (vnovakovski)Nick Wu (xiaowuc1)
Cosmin NegruseriLalit Kundu (darkshadows)Ashish Kedia (ashish1294)
Johnny Ho (random.johnnyh)Joshua Pan (lonerz)Anudeep Nekkanti (anudeep2011)
Steven Hao (stevenkplus)Raziman T.V. (razimantv)

Other Awesome Resources


Informative and helpful articles

Overview of Programming Contests, by Przemysล‚aw Dฤ™biak (Psyho)
The 'science' of training in competitive programming - Codeforces, by Thanh Trung Nguyen (I_love_Hoang_Yen)
If you ask me how to improve your algorithm competition skill, I will give you the link of this blog. - Codeforces, by Huang I-Wen (dreamoon)
How to prepare for ACM - ICPC? - GeeksforGeeks, by Vishwesh Shrimali
Complete reference to competitive programming - HackerEarth, by Ravi Ojha
Getting started with the sport of competitive programming - HackerEarth, by Triveni Mahatha


Fine answers to frequently-asked questions

How do I start competitive programming? - Quora
How can I become good at competitive programming? - Quora ... What is the best strategy to improve my skills in competitive programming in 2-3 months? - Quora ... What is a good 6 month plan to start and progress through competitive programming? - Quora
How is competitive programming different from real-life programming? - Quora
What have you gained from competitive programming? - Quora

Awesome Lists

Relevant awesome lists

C++ BooksThe Definitive C++ Book Guide and List - Stack Overflow
Java BooksWhat are the best books to learn Java? - Quora
Advanced Java BooksWhat is the best book for advanced Java programming? - Quora
Algorithm Visualizationenjalot/algovis
Free Programming Booksvhf/free-programming-books
Community-curated C++

Interview Questions

CareerCupThe most popular website for software engineering interview preparation.
InterviewBitFeatures intriguing and refreshing game-play designs which are designed to invoke one's interest in practicing.
Awesome InterviewsA curated list of awesome interview questions


Creative Commons Attribution 4.0 International

Awesome Competitive Programming is licensed under a Creative Commons Attribution 4.0 International License.

Built With LoveBuilt With LoveSearch by