Skip to content

Gasg10/Recursive-Array-Processing-in-Java-2

Repository files navigation

Recursive Array Processing in Java 2

Description

This project implements a set of recursive functions for processing arrays in Java. The functions perform operations such as counting elements greater than a threshold, checking for vowels in a character array, and computing the product of unique numbers in an array.

Function Structure

1. f01(int[] texto, int a)

  • Recursively counts the number of elements in the array greater than 5, starting from index a. img.png

2. f02(char[] texto)

  • Recursively checks if the character array contains at least one vowel (case insensitive). img_1.png

3. f03(int[] texto)

  • Recursively computes the product of unique elements in the array, ignoring duplicate values. img_2.png

4. nomesDasFuncoes()

  • Returns an array of strings with descriptive names for the implemented functions.

How to Use

  1. Clone the repository.
  2. Compile and execute the Main.java class.
  3. Call the functions as needed within the main method or other classes.

Requirements

  • Java 8 or higher

Author

Developed by Gonçalo Gonçalves.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages