Skip to content

Category Archives: Competitive Programming

Competitive Programming is a mind sport where time matters the most. For that, a fast and easy-to-use tool is required for writing code. Sublime text… Read More
Given binary string S of length N, the task is to minimize cost to sort the binary string using the following operations: Operation-1: Take any… Read More
Building an application, running a server, or even implementing a game needs a programming language as the foundation. There are almost more than 700 programming… Read More
Every great programmer, like you, works to develop code that is as efficient as possible and produces the best results. So the main goal of… Read More
Dynamic connectivity, in general, refers to the storage of the connectivity of the components of a graph, where the edges change between some or all… Read More
Google Code Jam is an international programming competition hosted and controlled by Google. The competition began in 2003. From 2003 to 2007, Google Code Jam… Read More
Dynamic programming (DP) is arguably the most important tool in a competitive programmer’s repertoire. There are several optimizations in DP that reduce the time complexity… Read More
Starting the journey of programming and competitive coding, every coder wants to test himself/herself in the waters. To do so, he/she has to participate in… Read More
Knuth’s optimization is a very powerful tool in dynamic programming, that can be used to reduce the time complexity of the solutions primarily from O(N3)… Read More
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… Read More
Given an array arr consisting of N elements and Q queries of the following two types:   1 K: For this type of query, the array… Read More
Given an array arr consisting of N elements and Q queries of the following two types:   1 K: For this type of query, the array… Read More
Given an array arr consisting of N elements and Q queries of the following two types:   1 K: For this type of query, the array… Read More
Given an array arr consisting of N elements and Q queries of the following two types:   1 K: For this type of query, the array… Read More
Given a permutation arrays A[] consisting of N numbers in range [1, N], the task is to left rotate all the even numbers and right… Read More

Start Your Coding Journey Now!