Given an array arr[], the task is to find the count of array elements whose squares are already present in the array. Examples: Input: arr[]… Read More
All Basic Articles
Modulo or Remainder Operator returns the remainder of the two numbers after division. If you are provided with two numbers, say A and B, A… Read More
What is Googletest? It is a test framework i.e., a software tool for writing and running unit tests. It is a library for writing C++… Read More
Given a matrix arr[][] of size N * M, the task is to print the boundary elements of the given matrix in a clockwise form.… Read More
Many times we have seen people, especially students, complaining about how they can’t maintain consistency while doing Coding and solving programming problems. All the excitement… Read More
Most of us love to surf our desktop and apps through dark mode as it will reduce our eye strain and resultantly makes us more… Read More
Web development and Android development are the two most emerging career sectors for developers. Both of these sectors require different skills, have different markets, and… Read More
The full-form of JSON is JavaScript Object Notation. It means that a script (executable) file which is made of text in a programming language, is… Read More
An OrderedDict is a subclass that preserves the order in which the keys are inserted. The difference between OrderedDict and Dict is that the normal… Read More
In this article, we are going to discuss how to create the Game of Craps using Python. Rules of the game: Two dices are required… Read More
Following are some simple steps in order to create a simple NodeJS project and running it in VS Code editor: Step 1: Create an empty… Read More
Every student has big dreams in his/her eyes when he/she enter college but unfortunately, some students totally give up when they come in the second… Read More
Machine learning is a scientific field that offers computers the ability to learn without being programmed directly. When many learners, students, engineers, and data scientists… Read More
Typecasting: It is a is converted into another data type by the programmer using the casting operator during the program design. In typecasting, the destination… Read More
Reasons behind getting TLE: It is slower compared to other programming languages. It offers slower Input/Output. It has a lower recursion depth which often gives… Read More
NPTEL is an acronym for National Programme on Technology Enhanced Learning which is an initiative by seven Indian Institutes of Technology (IIT Bombay, Delhi, Guwahati,… Read More
It is quite common that errors may occur while reading data from a file in C++ or writing data to a file. For example, an… Read More
Given an integer N and an isosceles triangle consisting of height H, the task is to find (N – 1) points on the triangle such… Read More
An onChange event is triggered when values are entered in the input. This fires a function handleChange(), that is used to set a new state… Read More
Given two integers X and Y, the task is to find the number of integers, K, such that gcd(X, Y) is equal to gcd(X+K, Y),… Read More

