Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add New Problem: Maximum Sum Path in Two Sorted Arrays with Solution #187

Open
pradip2004 opened this issue Oct 17, 2024 · 0 comments
Open

Comments

@pradip2004
Copy link
Contributor

pradip2004 commented Oct 17, 2024

I would like to contribute a new problem statement and its solution to the project. Below are the details:

Problem Statement:
Given two sorted arrays of distinct integers, arr1 and arr2, each array may have some elements in common. The task is to find the maximum sum of a path from the beginning of any array to the end of any array. The twist is that you can switch from one array to another array only at the common elements. When switching, consider the common element only once in the result.

Please accept my PR and label it as hacktoberfest-accepted if my contribution is relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant