Write a function to reverse the order of a sentence word by word without using any other data
structure. \( E.g \), if the input is `Algoqueue is the best website', the result will be `website best the is Algoqueue'.
< Using split function >
public static void revSentenceWordByWord(String input){ < Without using split function >
public static char[] revSentenceWordByWord(char[] input){ |