阅读背景:

和等于0的最大子数组

来源:互联网 

This is a typical interview question. Given an array that contains both positive and negative elements without 0, find the largest subarray whose sum equals 0. I tried to solve this. This is what I came up with. This is a typical interview question. Given an




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: