Weak Testcases. Do attempt this question on Leetcode

Tags: #<Tag:0x00007f182cfa3890>


Given that how widely used this site is,they should have atleast have better test cases.My code got accepted here but got error on leetcode.


Can you share the link of it?


if you meant this https://leetcode.com/problems/maximum-subarray/
The problem statement is different, so probably shouldn’t compare