Prerequisites: Django Installation | Introduction to Django Django works on a MVC pattern. So there is a need to create data models (or tables). For… Read More »

Given a string, check if it is Colindrome or not. A string is said to be colindrome if it has consecutive 3 alphabets followed by… Read More »

The unordered_map::bucket() is a built-in STL function in C++ which returns the bucket number where the element with the key k is located in the… Read More »

Mahindra comviva visited my college two months ago, they were hiring for the profile “product development engineer” with working location either gurgaon(main branch) or bengaluru… Read More »

Prerequisites: Learn Basic HTML Learn Basic Javascript Redirecting a URL in JavaScript is nothing but sending the user from a URL to another URL. In… Read More »

vector:: assign() is an STL in C++ which assigns new values to the vector elements by replacing old ones. It can also modify the size… Read More »

What is a dynamic array? A dynamic array is similar to an array, but with the difference that its size can be dynamically modified at… Read More »

Given a positive integer n, print the matrix filled with rectangle pattern as shown below: a a a a a a b b b a… Read More »

Given co-ordinates of the center of a sphere (cx, cy, cz) and its radius r. Our task is to check whether a point (x, y,… Read More »

Given an integer n, find whether n is a Polydivisible or not. In mathematics, a number is called Polydivisible if it follows some unique properties.… Read More »

Given an unsorted array of length N and we have to find largest gap between any two elements of array.In simple words, find max(|Ai-Aj|) where… Read More »

Given an array A of size n. the task is to generate a new sequence B with size N^2 having elements sum of every pair… Read More »

Given a matrix of size M x N, the task is to find the Mean Vector of the given matrix. Examples: Input : mat[][] =… Read More »

Given an integer array, find a maximum product of a quadruple in the array. Examples: Input: [10, 3, 5, 6, 20] Output: 6000 Multiplication of… Read More »

Given an array of positive elements and a positive integer k, the task is to convert the GCD of the array to 1. To make… Read More »

What is Vector of Tuple? A tuple is an object that can hold a number of elements and a vector containing multiple number of such… Read More »

Given a binary tree and a node in the binary tree, find Preorder predecessor of the given node. Examples: Consider the following binary tree 20… Read More »

Given an integer n, the task is to find whether n can be expressed as sum of five consecutive integer. If yes, find the five… Read More »

Deep (Number of layers through which data is transformed) Learning is a part of Machine Learning. It is actually evolution of Machine Learning and is… Read More »

The circuit shown in the following figure realizes the function (A) ( ( A + B )’ + C ) ( D’ E’ ) (B)… Read More »