Gblog 30 Days to Form a New Habit of Coding – Are You In?
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
January 23, 2021
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
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
NPM is like a powerhouse for Node.js  that contains all the necessary modules for the smooth running of the node.js application. It gets installed on… Read More
MongoDB, the most popular NoSQL database, is an open-source document-oriented database. The term ‘NoSQL’ means ‘non-relational’. It means that MongoDB isn’t based on the table-like… Read More