<commit_before><commit_msg>Create : 53 Maximum Subarray<commit_after>public class Solution {

    public int maxSubArray(int[] nums) {

        int sum = 0;
        int max = Integer.MIN_VALUE;

        for (int i = 0; i < nums.length; i++) {

            sum += nums[i];

            if (max < sum) {
                max = sum;
            }

            if (sum < 0) {
                sum = 0;
            }

        }

        return max;

    }

}
{'fraction_non_alphanumeric': 0.1130820399113082, 'fraction_numerical': 0.013303769401330377, 'mean_word_length': 1.1626794258373205, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3310587', 'n_tokens_mistral': 153, 'n_tokens_neox': 134, 'n_words': 37}