All Basic Articles
Given a 2D array of size M * N and two points in the form (X1, Y1) and (X2 , Y2) where X1 and X2… Read More
What is an array? An array in any programming language is a data structure that is used to store elements or data items of similar… Read More
Arrays and pointers are two derived data types in C++ that have a lot in common. In some cases, we can even use pointers in… Read More
A significant benefit of object-oriented programming is the reusability of code which eliminates redundant coding. An important feature of C++ is called templates. Templates support… Read More
Probability defines the measure of the occurrence of a likable event out of all the possible results/outcomes of that event. The probability of an event… Read More
Laws of Motion describe how objects move under the influence of different types of forces. These forces can be due to any physical phenomenon, but… Read More
Given a string, str consisting of lowercase English alphabets, the task is to find the number of unique characters present in the string. Examples: Input:… Read More
A ‘New Year’ always comes with a lot of positivity and hope – and people often utilize this new beginning to set relevant and doable… Read More
The Java String hashCode() method is used to return the particular value’s hash value. The hashCode() uses an internal hash function that returns the hash… Read More
Given a 2D square matrix, find the sum of elements in Principal and Secondary diagonals. For example, consider the following 4 X 4 input matrix. … Read More
Given a matrix, the task is to find the maximum element of each row. Examples:  Input : [1, 2, 3] [1, 4, 9] [76, 34,… Read More
A graph database is a type of NoSQL database that is designed to handle data with complex relationships and interconnections. In a graph database, data… Read More
In this article, we will see how we can connect an instance present in a private subnet with the help of an instance present in… Read More
Prerequisite: Software Development Life Cycle SDLC stands for Software Development Life Cycle. It refers to the methods of developing quality software by clearly defining the… Read More
Spring Security is a powerful and highly customizable authentication and access-control framework. It is the de-facto standard for securing Spring-based applications. Spring Security is a… Read More
In SQL, we sometimes need to display all the currently existing constraints on a table. The whole process for doing the same is demonstrated below.… Read More
Two pointers is really an easy and effective technique which is typically used for searching pairs in a sorted array.Given a sorted array A (sorted… Read More
Two pointers is really an easy and effective technique which is typically used for searching pairs in a sorted array.Given a sorted array A (sorted… Read More
Gradients are considered to be eye-catching elements in UI/UX and graphic design. Having gradient elements in your apps can really elate your app in terms… Read More
Spring Boot is built on the top of the spring and contains all the features of spring. Spring also provides JPA and hibernate to increase… Read More