All Problems

Master data structures and algorithms with our curated collection of coding challenges.

215
Total Problems
215 results

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.

easy
42

Function printCharAtOddPos – CTS PATTERN

Print characters at odd positions (1-indexed) in a given string by fixing logical errors in the provided C function.

easy
41

String Alphabet Count

Count the frequency of each alphabet character in a given string and display them in alphabetical order.

easy
42

Sum of odd numbers from M to N

Calculate the sum of all odd numbers in a given range [M, N] inclusive.

easy
41

Function printYesOrNo – CTS PATTERN

Print 'Yes' for 'Y'/'y', 'No' for 'N'/'n', or 'Invalid' for any other character

easy
42

Expand Alphabets

Given a string containing alternating alphabets and their counts, expand each alphabet by repeating it according to its count.

medium
42

Longest Increasing Subset – From Last

Find the longest strictly increasing subsequence starting from the end of the array, with ties broken by first occurrence

medium
41

Username Domain Extension

Parse an email address and print the extension, domain, and username in reverse order

easy
41

Asterisks – X Inner Layers

Replace characters in the X inner layers of an NxN matrix with asterisks

medium
43

Parking Charges

Calculate the number of vehicles parked beyond a specific time and those charged above a certain amount based on complex parking fee rules.

medium
41

String Compression

Compress a string by encoding consecutive character sequences into character-count pairs

medium
42

Increment & Decrement Triangle Pattern

Print a triangle pattern where each line contains hyphens and integers in an incrementing and decrementing sequence, with 0 at the center.

medium
42
PrevPage 16 of 18Next