TASK DEFINITION: In this task, you need to reverse all words of a given length in the sentence. The number of letters in a word determine its length. For example, the length of the word "apple" is 5.
PROBLEM: Sentence: 'a giraffe standing next to a leafy tree'. Reverse all words of length '1' in the given sentence.

SOLUTION: a giraffe standing next to a leafy tree

PROBLEM: Sentence: 'a group of people riding in a black raft'. Reverse all words of length '1' in the given sentence.

SOLUTION: a group of people riding in a black raft

PROBLEM: Sentence: 'a man gets ready to hit a tennis ball'. Reverse all words of length '5' in the given sentence.

SOLUTION:
a man gets ydaer to hit a tennis ball