- You are given an ArrayList of positive integers.
- You have to remove prime numbers from the given ArrayList and return the updated ArrayList.
- Note : The order of elements should remain same.
Example 1:
Input: n = 4, al = [3 12 13 15] Output: [12, 15]
Constraints:
1 <= N <= 10000