Skip to content

maxArraySum Problem #171

@shubhdwiv12

Description

@shubhdwiv12

Hi, I am new into open source project, I can see that we don't have maxArraySum() problem in the project. i would like to add this problem.

Problem Statement is as follows:-

  1. Write a function which takes an array and a number, now, it will find the maximum sum of consecutive subarray with the length of number passed to it,

For example:-

maxArray([1,2,3,4], 2) //7 as [3+4]
maxArray([3,4], 4) // null as the length of subarray should be 4

Request you to assign me this issue. I will work on it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions