Sliding Window Maximum (Maximum of all subarrays of size k).Given an array arr, find the maximum j – i such that arr > arr.Maximum difference between two elements such that larger element appears after the smaller number.Maximum profit by buying and selling a share at most k times.Maximum profit by buying and selling a share at most twice.Count possible ways to construct buildings.Compute sum of digits in all numbers from 1 to n.Program for Sum of the digits of a given number.Finding sum of digits of a number until sum becomes single digit.Sum of maximum of all subarrays | Divide and Conquer.Maximum Sum SubArray using Divide and Conquer | Set 2.Maximum Subarray Sum using Divide and Conquer algorithm.Find the Number Occurring Odd Number of Times.Given an array A and a number x, check for pair in A with sum as x (aka Two Sum).Maximum sum rectangle in a 2D matrix | DP-27.Given an n x n square matrix, find sum of all sub-squares of size k x k.Print maximum sum square sub-matrix of given size.Sum of all Submatrices of a Given Matrix.ISRO CS Syllabus for Scientist/Engineer Exam. ![]() ISRO CS Original Papers and Official Keys.GATE CS Original Papers and Official Keys.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |