This functionality separates the even and odd numbers from an array into two different ArrayLists and displays them. 2. Find Two Neighboring Numbers with the Smallest Difference This function finds ...
UserInput.java – Handles user input. ArrayFunctions.java – Contains methods for separating even and odd numbers, finding the smallest distance pair, and converting between arrays and ArrayLists.