# Category Archives: Competitive Programming

Algorithm: An algorithm is a step-by-step procedure to solve a problem. A good algorithm should be optimized in terms of time and space. Different types of… Read More
In this article, we will discuss the VS Code setup required for break-point debugging. Firstly create a file launch.json that configures the VS Code to… Read More
In this article, we will learn how to compile and run C++ program in VS Code. There are two ways of doing that you can… Read More
In Competitive Programming, it’s quite often to write code that works on the given sample test cases but on submitting its end up with a… Read More
Runtime Errors: A runtime error in a program is an error that occurs while the program is running after being successfully compiled. Runtime errors are… Read More
In the Competitive Programming field C++ is one of the most used language, because of it’s huge STL(standard template library) functions, and day by day… Read More
Most of us struggle with using heavy software to run C++ and python code and things become more complicated when we have too many files… Read More
Do you have a dream to win a Gold Medal in the Olympics of Programming (ACM ICPC)? Do you want to ace your career with… Read More
Given two integers N and T denoting the number of levels and the number of seconds respectively, the task is to find the number of… Read More
Needless to say, Competitive Programming is one of the most crucial and popular aspects of a programmer’s journey. Though, all the programmers are strongly recommended… Read More
Given a positive integer N, the task is to find the minimum N-digit number such that performing the following operations on it in the following… Read More
Given an array arr[] of size N, the task is to find the number of subarrays having the sum of its elements equal to the… Read More
Given an array arr[] consisting of N integers and queries Q[][] of the form {L, R} where 0 ≤ L < R ≤ N –… Read More
Given an array A[], for each element in the array, the task is to find the sum of all the previous elements which are strictly… Read More
Given two numbers L and R, the task is to find two distinct minimum positive integers X and Y such that whose LCM lies in… Read More