Tutorials
Courses
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
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Misc
8.8K+ articles
C++
4.3K+ articles
GBlog
3.3K+ articles
Competitive Programming
3.3K+ articles
C++ Programs
2.4K+ articles
TechTips
2.1K+ articles
STL
1.3K+ articles
CPP-Functions
619+ articles
CPP-Competitive-Programming
12 posts
Recent Articles
Popular Articles
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++
DSA
CPP-Competitive-Programming
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
C++
DSA
STL
CPP-Competitive-Programming
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++ Programs
Linux-Unix
C++
Git
Write From Home
DSA
CPP-Competitive-Programming
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++
DSA
CPP-Competitive-Programming
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
DSA
CPP-Competitive-Programming
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++ Programs
C++
Technical Scripter 2020
DSA
CPP-Competitive-Programming
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
DSA
CPP-Functions
CPP-Competitive-Programming
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
Competitive Programming
CPP-Competitive-Programming
GBlog-Competitive-Programming
GBlog 2025
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
DSA
Arrays
CPP-Competitive-Programming
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++
DSA
CPP-Competitive-Programming
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
C++
DSA
STL
CPP-Competitive-Programming
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
Dynamic Programming
Competitive Programming
C++
Geeks Premier League
DSA
Arrays
prefix-sum
LIS
Arrays
CPP-Competitive-Programming
DSA-Blogs
Geeks Premier League 2023
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 !