As the world has been gripped by the deadly pandemic, Work From Home has become a new lifestyle. For many people, working from home is… Read More

With the growing technology, there has been a massive change in the software testing industry with the help of newly upgraded tools and trends. This… Read More

Given a string str and an array of words word[], the task is to find whether str is a prefix string of word[]. Examples: Input:… Read More

Given three positive integers A, B, and C, the task is to find out that, if we divide any one of them with any integer… Read More

Given 3 positive integers A, B, and C. Choose a positive integer M and multiply any one of A, B, or C with M. The… Read More

Given an array of pairs v[][] of size N which shows the score of the match at N instances where (v[i][0], v[i][1]) shows a score… Read More

Given an integer N, the task is to find the number of distinct values possible for the bit-wise XOR of X and Y where 1… Read More

Given a Binary Tree rooted at root, the task is to find the sum of all leaf nodes which are left child of their parents… Read More

Given an array arr[] of size N. The task is to count the number of unique subsets. Examples: Input: arr[] = {1, 2, 2}Output: 6Explanation:… Read More

Given an array arr[] of size N. The task is to maximize the minimum value of the array after performing given operations. In an operation,… Read More

Given an NxN square matrix M[][]. The task is to check whether the matrix M is a zero division matrix or not. A matrix is… Read More

Given a matrix arr[][] of size M*N containing only positive integers, the task is to check if every row contains all the integers from 1… Read More

Given a binary matrix of size M*N containing only 0 and 1. The task is to count the number of mappings in the matrix. There… Read More

Given a string S of length N and a positive integer K, the task is to find the minimum total cost of picking K unique… Read More

Given a string str of length N. The task is to print the frequency of adjacent repeating characters. Examples: Input: str = “Hello”Output: l: 2Explanation:… Read More