## Bitwise OR of N binary strings

Given an array arr[] of binary strings, the task is to calculate the bitwise OR of all of these strings and print the resultant string.… Read More »

Given an array arr[] of binary strings, the task is to calculate the bitwise OR of all of these strings and print the resultant string.… Read More »

Given an array arr[] representing a sequence of piles of boxes where each and every box has the same height of 1 unit. Given that… Read More »

Given there are N elements in an array. The task is to remove elements from the array from left to right. However, some time is… Read More »

Given N works numbered from 1 to N. Given two arrays D1[] and D2[] of N elements each. Also, each work number W(i) is assigned… Read More »

Given an array of n elements and an integer K, the task is to find the subarray with minimum value of ||a[i] + a[i +… Read More »

Given an undirected weighted graph. The task is to find the minimum cost of the path from source node to the destination node via an… Read More »

Given an array of N positive integers. The task is to perform the following operations according to the type of query given. 1. Print the… Read More »

Given an infinite grid, initial cell position (x, y) and a sequence of other cell position which needs to be covered in the given order.… Read More »

Given an array of pairs where each pair represents a range, the task is to find the sum of the minimum difference between the consecutive… Read More »

Given an array of integers and a number K with initial and final values. Your task is to find the minimum number of steps required… Read More »

Given a doubly linked list containing N nodes and a number X, the task is to delete all the nodes from the list that are… Read More »

Given a number N, place numbers from the range [1, N2] in an NxN matrix such that sum in every row is equal. Examples: Input:… Read More »

Given a Binary Search Tree and a number N, the task is to find the smallest number in the binary search tree that is greater… Read More »

Given a string S consisting of lowercase alphabets. The task is to find the lexicographically smallest string X of the same length only that can… Read More »

Given two integers and , where . Find the maximum number of one’s in a binary matrix can have such that every sub-matrix of size… Read More »