Non Palindromic Words [ZOHO]
Given a string with one or more words, print only the words that are not palindromes. Print -1 if all words are palindromes.
Master data structures and algorithms with our curated collection of coding challenges.
Given a string with one or more words, print only the words that are not palindromes. Print -1 if all words are palindromes.
Print characters at odd positions (1-indexed) in a given string by fixing logical errors in the provided C function.
Count the frequency of each alphabet character in a given string and display them in alphabetical order.
Calculate the sum of all odd numbers in a given range [M, N] inclusive.
Print 'Yes' for 'Y'/'y', 'No' for 'N'/'n', or 'Invalid' for any other character
Given a string containing alternating alphabets and their counts, expand each alphabet by repeating it according to its count.
Find the longest strictly increasing subsequence starting from the end of the array, with ties broken by first occurrence
Parse an email address and print the extension, domain, and username in reverse order
Replace characters in the X inner layers of an NxN matrix with asterisks
Calculate the number of vehicles parked beyond a specific time and those charged above a certain amount based on complex parking fee rules.
Compress a string by encoding consecutive character sequences into character-count pairs
Print a triangle pattern where each line contains hyphens and integers in an incrementing and decrementing sequence, with 0 at the center.