Preetika Prakashpreetikaprakash.hashnode.devยทSep 19, 2023DSA Day 94/100Topic: Strings 1) Length of last wordEasy Input: s = " fly me to the moon " Output: 4 Explanation: The last word is "moon" with length 4. public class lengthoflastword { public static int lengthOfLastWord(String s) { Stri...StringsAdd a thoughtful commentNo comments yetBe the first to start the conversation.