13 views
22 Dec 2025
Remove duplicate characters from a string while preserving order....
13 views
22 Dec 2025
Find the longest common prefix among an array of strings....
12 views
22 Dec 2025
Find the longest palindromic substring within a given string....
15 views
22 Dec 2025
Check if one string is a rotation of another string....
14 views
22 Dec 2025
Count the number of words in a sentence considering multiple spaces....
14 views
22 Dec 2025
Reverse the order of words in a sentence without reversing individual words....
16 views
22 Dec 2025
Check whether one string is a subsequence of another string....
13 views
22 Dec 2025
Generate and print all possible substrings of a given string....
11 views
22 Dec 2025
Replace all occurrences of a character with another character in a string....
17 views
22 Dec 2025
Determine whether two strings are isomorphic with proper character mapping....
14 views
22 Dec 2025
Find the length of the longest substring containing the same character after replacements....
14 views
22 Dec 2025
Check whether a string containing parentheses is valid....
15 views
22 Dec 2025
Compress a string by counting consecutive repeated characters....
16 views
22 Dec 2025
Implement naive pattern matching to find occurrences of a pattern in a text....
13 views
22 Dec 2025
Reverse a given string without using any built-in reverse function and explain the logic clearly....
14 views
22 Dec 2025
Check whether a given string is a palindrome by comparing characters from both ends....
16 views
22 Dec 2025
Count the number of vowels and consonants present in a string....
15 views
22 Dec 2025
Identify duplicate characters in a string using an efficient approach....
15 views
22 Dec 2025
Check whether two strings are anagrams of each other and explain the reasoning....
12 views
22 Dec 2025
Find the first non-repeating character in a string....