DSA Day 94/100
Topic: 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...
preetikaprakash.hashnode.dev1 min read