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)

chi@c.ocm

kjfdjdfjd fdjfd b

13-Jun-2015

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

13-Jun-2015

ppoo

o

13-Jun-2015

chitraksh

this is a comment

13-Jun-2015

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





Telecasts