C++ program for Sliding Window Maximum
Question : You are given an array of integers and a integer k. You need to figure out the maximum […]
Question : You are given an array of integers and a integer k. You need to figure out the maximum […]
Question : You will be given a collection of intervals. Now you need to merge all the intervals. Input: intervals […]
Question : You are given an array . You need to return all the unique triplets which sums to zero […]
Question : You are given a string str , you have to find the length of the longest substring which […]
Question : You are given a sorted array . In the array all elements appeared twice , and there is […]
Question : You are given an integer array .The given array is sorted but it is rotated . For example […]
Question : You are given an array which is sorted , Your task is to remove the duplicate elements and […]
Question : You are given a m x n matrix with integers . if an element is 0, set its entire […]
Question : You are given a 2D matrix of mxn ; your task is to find if the given number […]
Question : You are given an array , You need to find out if there is an element which has […]
Question : You are given two integers , write a function to calculate x^n . Example : x=2 , n=`10 […]
Question : You are given an array . The array contains integer from 1 to n .The array contains n+1 […]
Question : You are given an array of integers.Your task is to find the contiguos subarry which has the largest […]
Question : A n*n matrix is given to you .You need to rotate the matrix in clockwise direction by 90 […]
Question : You are given an array of integers and an integer SUM.Your task is to deteremine whether or not […]
Copyright © 2024 | WordPress Theme by MH Themes