For programming related question, you are most welcome to comment on programming style, code errors or any other more efficient solution. For General post also comments/suggestions are welcome. General posts are my personal views/observations.
Showing posts with label TObeSolved. Show all posts
Showing posts with label TObeSolved. Show all posts
Friday, October 26, 2012
Length of the longest substring without repeating characters
length of the longest substring without repeating characters in a given string
Thursday, October 25, 2012
Find sub matrix with maximum sum
Suppose you have an NxN matrix of positive and negative integers. Write a code that finds the sub-matrix with the maximum sum of its elements.
or
Bit less difficult variant
Given a m * n matrix and value k. Find k * k matrix within the given matrix whose sum is maximum.
or
Bit less difficult variant
Given a m * n matrix and value k. Find k * k matrix within the given matrix whose sum is maximum.
Subscribe to:
Posts (Atom)
