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
426

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
423

String Alphabet Count

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

easy
441

Sum of odd numbers from M to N

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

easy
419

Function printYesOrNo – CTS PATTERN

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

easy
426

Expand Alphabets

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

medium
425

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
419

Username Domain Extension

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

easy
428

Asterisks – X Inner Layers

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

medium
423

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
424

String Compression

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

medium
424

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
422
PrevPage 16 of 18Next