Solve a string manipulation coding problem.
Reverse the characters in every non-whitespace word while preserving all whitespace exactly. After reversal, place the word's uppercase ASCII letters in descending alphabetical order among their existing uppercase positions.
Implement def reverse_words(s):. Return the transformed string. An empty string and whitespace-only strings are valid inputs.
def reverse_words(s):