Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
DSA
22.5K+ articles
Arrays
6.4K+ articles
C++
4.3K+ articles
GBlog
3.2K+ articles
Linux-Unix
2.8K+ articles
C++ Programs
2.4K+ articles
Competitive Programming
2.3K+ articles
Misc
1.3K+ articles
STL
1.3K+ articles
Git
705+ articles
CPP-Competitive-Programming
12 posts
Recent Articles
Popular Articles
Minimum number of operations required to make all the elements positive
Last Updated: 04 April 2024
Given an array A[] of length N. You can apply the below operation:Choose an index i such that (i+1) element exists. After that choose any number X (positive or negative). ...
read more
Arrays
Competitive Programming
C++
Arrays
Geeks Premier League
CPP-Competitive-Programming
DSA
DSA-Blogs
Geeks Premier League 2023
Lexicographically smallest permutation with adjacent sum at least K
Last Updated: 06 July 2023
Given two positive integers N and K, the task is to find a permutation P of length N such that the sum of every adjacent pair of elements in P is greater than or equal to ...
read more
Arrays
CPP-Competitive-Programming
DSA
Top Programming Languages For Competitive Programming
Last Updated: 20 May 2025
Building an application, running a server, or even implementing a game needs a programming language as the foundation. There are more than 700 programming languages that a...
read more
GBlog
CPP-Competitive-Programming
GBlog-Competitive-Programming
GBlog 2025
Top 10 Most Used Inbuilt C++ functions for Competitive Programming
Last Updated: 18 April 2023
In this article, we will discuss about the 10 most used inbuilt functions of C++ which will help you to save time and make code concise as well during competitive programm...
read more
Competitive Programming
CPP-Functions
CPP-Competitive-Programming
DSA
Why C++ is best for Competitive Programming?
Last Updated: 11 May 2022
C++ is the most preferred language for competitive programming. In this article, some features of C++ are discussed that make it best for competitive programming.STL (Stan...
read more
Technical Scripter
Competitive Programming
C++
C++ Programs
Technical Scripter 2020
CPP-Competitive-Programming
DSA
How to setup Competitive Programming in Visual Studio Code for C++
Last Updated: 11 May 2022
GCC compiler installationWe need to install GCC compilers for Windows. Linux has already GCC installed.Steps for installation1.Download and Install the MinGW for GCC compi...
read more
Competitive Programming
TechTips
C++ Programs
CPP-Competitive-Programming
DSA
Writing code faster during Competitive Programming in C++
Last Updated: 11 May 2022
This article focuses on how to implement your solutions and implement them fast while doing competitive programming.Setup Please refer Setting up a C++ Competitive Program...
read more
Competitive Programming
C++
CPP-Competitive-Programming
DSA
Setting up a C++ Competitive Programming Environment
Last Updated: 11 May 2022
In this article, we will learn about how to setup all in one Competitive Programming EnvironmentOperating SystemIt is always recommended to use a Linux based OS. It is so ...
read more
Competitive Programming
C++
C++ Programs
Linux-Unix
Git
Write From Home
CPP-Competitive-Programming
DSA
Which C++ libraries are useful for competitive programming?
Last Updated: 11 May 2022
C++ is one of the most recommended languages in competitive programming (please refer our previous article for the reason)C++ STL contains lots of containers which are use...
read more
Misc
Competitive Programming
STL
C++
CPP-Competitive-Programming
DSA
C++ tricks for competitive programming (for C++ 11)
Last Updated: 10 June 2022
We have discussed some tricks in the below post. In this post, some more tricks are discussed. Writing C/C++ code efficiently in Competitive programming Although, practice...
read more
Competitive Programming
STL
C++
CPP-Competitive-Programming
DSA
Writing C/C++ code efficiently in Competitive programming
Last Updated: 12 September 2023
First of all you need to know about Template, Macros and Vectors before moving on the next phase!Templates are the foundation of generic programming, which involve writing...
read more
Competitive Programming
C++
CPP-Competitive-Programming
DSA
Fast I/O for Competitive Programming
Last Updated: 07 August 2024
In competitive programming, it is important to read input as fast as possible so we save valuable time. You must have seen various problem statements saying: " Warning:...
read more
GBlog
Competitive Programming
C++
CPP-Competitive-Programming
DSA
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !