All Hard Articles
Consider the two statements. S1: There exist random variables X and Y such that S2: For all random variables X and Which one of the… Read More
Let G be a group of order 6, and H be a subgroup of G such that 1
Consider a 3-bit counter, designed using T flip-flops, as shown below: Assuming the initial state of the counter given by PQR as 000, what are… Read More
Given a range the task is to write a R program to print all perfect numbers in that range. A positive integer that is equal… Read More
Given a string S of length N, the task is to count the number of anagrams of S whose first character is a consonant and… Read More
In our Geeks Digest: Expert Advice series, we’re constantly trying to provide you with several enriching advice and mentorship every month to resolve all your… Read More
JavaScript Objects are the most important data type and form the building blocks for modern JavaScript. The “Object” class represents the JavaScript data types. Objects… Read More
The .w3-badge class is used to add additional information to the content. For example, some websites associate some number of notifications to the link. The… Read More
Node.js streams are a type of data-handling method and are used to read or write input into output sequentially. Streams are used to handle reading/writing… Read More
Given an array arr[] of size N, and an integer K representing a digit, the task is to print the given array in increasing order… Read More
Given an array arr[] of size N, the task is to print all the perfect numbers from an array whose sum of digits is also… Read More
In this article, the task is to draw an ellipse using OpenCV in C++. The ellipse() function from OpenCV C++ library will be used. Syntax:… Read More
In the previous article, we discussed how to select an Image from Gallery in Android, but in this project, there is no crop functionality. Sometimes… Read More
Given a matrix grid[][] of size N x N, the task is to find the minimum cost required to reach the bottom right corner of… Read More
Given a string S, the task for every index of the string is to find the length of the longest palindromic substring that either starts… Read More
Question 1. Draw a quadrilateral in the Cartesian plane, whose vertices are (– 4, 5), (0, 7), (5, – 5), and (– 4, –2). Also,… Read More
HSBC visited our campus for virtual interviews this year on 10/02/2021. There were in total 3 rounds. 1st Round: The questions were based on scenarios… Read More
In MongoDB, a relationship represents how different types of documents are logically related to each other. Relationships like one-to-one, one-to-many, etc., can be represented by… Read More
The following example covers how to pass variables to the next middleware using next() in Express.js. Approach: We cannot directly pass data to the next… Read More
Prerequisites: OpenCV OpenCV is a huge open-source library for computer vision, machine learning, and image processing. OpenCV supports a wide variety of programming languages like… Read More