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

Added: Find Minimum and Maximum in an Array Using Recursion #1723

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

rajdeepchakraborty-rc
Copy link
Contributor

Issue Resolved

Algorithm Added

Find Minimum and Maximum in Array using Recursion

Description

This program demonstrates how to find the minimum and maximum elements in an array using a recursive algorithm. It is a useful technique in situations requiring array analysis without relying on iterative loops, showcasing the power of recursion in breaking problems into smaller subproblems.

Example:
Enter the size of the array: 5
Enter the elements of the array:
Element 1: 12
Element 2: 7
Element 3: 19
Element 4: 3
Element 5: 15

Output:
The elements of the array:
12 7 19 3 15
Minimum element in the array: 3
Maximum element in the array: 19

@rajdeepchakraborty-rc
Copy link
Contributor Author

@pankaj-bind Please review the PR at your convenience.

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

Successfully merging this pull request may close these issues.

[NEW ALGORITHM] Find Minimum and Maximum in Array under Recursion
1 participant