Construct array with sum of product of same indexed elements in the given array equal to zero
Given an array, arr[] of size N (always even), the task is to construct a new array consisting of N non-zero integers such that the… Read More »
Given an array, arr[] of size N (always even), the task is to construct a new array consisting of N non-zero integers such that the… Read More »
In Competitive Programming, it is important to read input as fast as possible to save valuable time. Input/Output in Python can be sometimes time taking… Read More »
Competitive Programming has been the most trending activity to be part of for the whole coders’ community on today’s date. Competitive programming is a brain… Read More »
Given an array, arr[] of size N and an integer K, the task is to find the minimum number of operations required to make all… Read More »
Given five integers X, Y, A, B, and N, the task is to find the maximum possible absolute difference between X and Y by performing… Read More »
Given an array of strings arr[], the task is to find the pair of strings from the given array whose length of the longest common… Read More »
Given an integer N, the task is to construct a binary matrix of size N * N such that the sum of each row and… Read More »
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 have a dream to win a Gold Medal in the Olympics of Programming(ACM ICPC)? Do want to ace your career with Google Kickstart or… Read More »