This question evaluates competency in basic array manipulation, specifically filtering elements by parity and reversing their order while preserving no other ordering constraints.
Given an integer array nums, remove all odd numbers and return the remaining even numbers in reverse order (preserving no other ordering constraints).
Example:
nums = [2, 3, 4]
[4, 2]
Clarifications:
0
is even.