Given an array arr[] consisting of N integers and an integer K, the task is to count the number of subsequences of the given array… Read More

Given an array arr[] consisting of first N natural numbers, construct a undirected graph using the array elements such that for any array element, connect… Read More

In this article, we are going to see how to set the borderScaleFactor of a Path using Fabric.js. The Path in Fabric.js is movable and… Read More

Given an array arr[] consisting of positive integers and an array Q[][] consisting of queries, the task for every ith query is to count array… Read More

Given two arrays arr1[] and arr2[] of equal length, the task is to find the maximum sum of any subset possible by selecting elements from… Read More

Given an array arr[] of size N, the task is to find the number of prefix arrays whose maximum is less than the maximum element… Read More

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

Given an array arr[] of size N and a positive integer K, the task is to find the index of the smallest array element required… Read More

Given an array arr[] of N non-negative integers and an integer K, the idea is to find the length of the longest subsequence having Xor… Read More

Lido learning is an E-Learning company and its headquarter is located in Mumbai. I give the interview through on-campus placement. There is a total of… Read More

Given an array arr[] of length N, the task is to select a quadruple (i, j, k, l) and calculate the sum of the second… 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

STL Priority Queue is the implementation of Heap Data Structure. By default, it’s a max heap, and can be easily for primitive data types. There… Read More

Prerequisites: Angular must be installed In this article, we will see how we can show or hide the child components in Angular. Lets… Read More

In the digital world, everyone knows how important websites are for the growth of the business. It is the best way to market one’s business… Read More

Featured Articles

View All