The basic idea behind this method is to guess the answer, and then prove it correct by induction. This method can be used to solve… Read More
Category Archives: Articles
N-Dimensional Arrays: The N-Dimensional array is basically an array of arrays. As 1-D arrays are identified as a single index, 2-D arrays are identified using… Read More
Linear Queue: A Linear Queue is generally referred to as Queue. It is a linear data structure that follows the FIFO (First In First Out)… Read More
Mo’s Algorithm is a generic algorithm. It can be used in many problems that require processing range queries in a static array, i.e., the array… Read More
Preprocessor Directives are programs that process our source code before compilation. There are a number of steps involved between writing a program and executing a… Read More
While solving problems on any online judge sometimes it might get Time Limit Exceeded. Below are some of the ways to optimize the code: Minimize… Read More
Communication between two processes in a distributed system is required to exchange various data, such as code or a file, between the processes. When one… Read More
C++ has a tradition of introducing new improvements and features in every 3 years in the form of a standard. With the last standard having… Read More
C++ is a general-purpose programming language and widely used nowadays for competitive programming. It has imperative, object-oriented, and generic programming features. C++ runs on lots… Read More
Time Complexity is a concept in computer science that deals with the quantification of the amount of time taken by a set of code or… Read More
In this article, we will discuss some use cases of Mouse Programming: Restrict mouse pointer: The mouse pointer can be restricted in particular rectangle. The… Read More
In this article, we will discuss some use cases of Mouse Programming: Display Mouse Pointer in graphics mode: For displaying the Mouse Pointer, first enable… Read More
Till now we have seen only static output on the black window in C/C++ without any peripheral device interaction(like mouse). Here static means that interaction… Read More
Array: An array is a collection of homogeneous(same type) data items stored in contiguous memory locations. For example, if an array is of type “int”,… Read More

