Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • Build your AI Agent
    • GfG 160
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Contests
    • Accenture Hackathon (Ending Soon!)
    • GfG Weekly [Rated Contest]
    • Job-A-Thon Hiring Challenge
    • All Contests and Events
  • DSA
  • Practice Problems
  • Python
  • C
  • C++
  • Java
  • Courses
  • Machine Learning
  • DevOps
  • Web Development
  • System Design
  • Aptitude
  • Projects
Similar Topics
DSA
22.3k+ articles
Arrays
6.4k+ articles
C++
4.1k+ articles
GBlog
3.1k+ articles
Linux-Unix
2.7k+ articles
C++ Programs
2.4k+ articles
Competitive Programming
2.3k+ articles
Misc
1.4k+ articles
STL
1.2k+ articles
Git
690+ articles

CPP-Competitive-Programming

11 posts
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 nu ...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 ...read more
Arrays
CPP-Competitive-Programming
DSA
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 w ...read more
Competitive Programming
CPP-Functions
CPP-Competitive-Programming
DSA
Similar Topics
DSA
22.3k+ articles
Arrays
6.4k+ articles
C++
4.1k+ articles
GBlog
3.1k+ articles
Linux-Unix
2.7k+ articles
C++ Programs
2.4k+ articles
Competitive Programming
2.3k+ articles
Misc
1.4k+ articles
STL
1.2k+ articles
Git
690+ articles
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 co ...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 ...read more
image
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 Setti ...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 ...read more
image
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 l...read more
image
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 ...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 pro ...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 ...read more
GBlog
Competitive Programming
C++
CPP-Competitive-Programming
DSA
1
1
1
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
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
Lightbox