Skip to content
Step 1: Initially, I filled a google form that said, “HashedIn – Freshers Registration Form” on 26th May 2021. Step 2: On June 4, I… Read More
Given two 2D matrices mat[][] and T[][] of size M×N and P×Q respectively. The task is to check whether the matrix T[][] is a result… Read More
Given an array arr[] of size N, the task is to calculate the maximum sum that can be obtained by dividing the array into several… Read More
Given three positive integers A, B, and N, which represent a linear congruence of the form AX=B (mod N), the task is to print all… Read More
Given an array arr[] of size N, (where 0<A[i]<=N, for all 0<=i<N), the task is to calculate for each number X from 1 to N,… Read More
We all know the popularity of React, and how this library has made development tasks easier for frontend developers. React is the most popular front-end… Read More
Threads are the backbone of multithreading. We are living in a real-world which in itself is caught on the web surrounded by lots of applications.… Read More
Python is not only one of the most loved languages but rather it is used in various different domains. Due to its high dependency and… Read More
Given a positive integer N, the task is to find the largest and smallest elements, from the maximum leaf nodes of every possible binary max-heap… Read More
Given two sentences S1 and S2, the task is to check if the sentences can be made equal by inserting at most one sentence(possibly, empty)… Read More
Given an array arr[] of size N, which contains a permutation of numbers from 1 to M, as well as an element that is repeated(one… Read More
Given an integer array arr[] of size N, the task is to calculate the total number of distinct Greatest Common Divisors(GCDs) among all the non-empty… Read More
Given a range L to R, the task is to find the maximum possible value of GCD(X, Y) such that X and Y belongs to… Read More
Given a string S consisting of N lowercase English characters, the task is to print the lexicographically, the largest string obtained using only the minimum… Read More
Given an array arr[] consisting of N positive integers, the task is to check if it is possible to color the N objects such that… Read More