Samarth Sadgurudev Shri Ramlal Ji Siyag

His Spiritual Mission for Divine Transformation of Humanity

Maximum sum 2-d subarray (View By 606 People)

Given a 2-dimensional array of positive and negative integers, find the sub-rectangle with the largest sum. The sum of a rectangle is the sum of all the elements in that rectangle. In this problem the sub-rectangle with the largest sum is referred to as the maximal sub-rectangle. A sub-rectangle is any contiguous sub-array of size tex2html_wrap_inline33 or greater located within the whole array. As an example, the maximal sub-rectangle of the array: displaymath35 is in the lower-left-hand corner: displaymath37 and has the sum of 15.

Posted On : 03-Jun-2015 By nidhi      Replies (9)


kjfdjdfjd fdjfd b


varul rawal

jsdjsdf sdfs dfsdf sdf sf sdf sdf sfsdfkn ksdnfjsdjsdf sdfs dfsdf sdf sf sdf sdf sfsdfkn ksdnfjsdjsdf sdfs dfsdf sdf sf sdf sdf sfsdfkn ksdnf






this is a comment


News & Events

AVSK has organized a Mega Event in Delhi

AVSK has organized a mega event at ramleela maidan , in which thousands of disciples of sadgurudev shri ramlal ji siyag was gathered, and celebrated world yoga day.


Jai Kalki

test news

test new text desc

ertdrg srofosd fojsofj osjd

chitraksh marriage on 04-02-2015 with nidhi gupta