#coding-challenge
Read more stories on Hashnode
Articles with this tag
Program to Reverse a String Input: str="Navnath" Original String is: "Navnath" Output: revstr="htanvaN" Reverse String is:...
Problem Description Given a string A. The string contains some words separated by spaces.Return the number of words in the given string. Problem...
Given two strings s1 and s2, return true if s2 contains a permutation of s1, or false otherwise. In other words, return true if one of s1's...
Problem: For two strings s and t, we say "t divides s" if and only if s = t + ... + t (i.e., t is concatenated with itself one or more times). Given...
Problem You have been given a String S consisting of uppercase and lowercase English alphabets. You need to change the case of each alphabet in this...
Given two strings s and p, return an array of all the start indices of p's anagrams in s. You may return the answer in any order*.* An Anagram is a...