Question: Reverse the given string word wise. That is, the last word in given string should come at 1st place, last second word at 2nd place and so on. Individual words should remain as it is. Input format : String in a single line Output format : Word wise reversed string in a single line Constraints : 0 <= |S| <= 10^7 where |S| represents the length of string, S. Sample Input 1: Welcome to Coding Ninjas Sample Output 1: Ninjas Coding to Welcome Ans: package learningJava ; import java . util .*; /** * This program demonstrates a function to reverse words in a given string. * It takes a string as input and reverses the order of words in the string. */ public class regPract { /** * Reverses the order of words in a given string. * * @param end The ending index of the input string. * @param start The starting index for extracting a word. * @param j An index variable used in loops. * @param input The input string to rever...