All Problems

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

215
Total Problems
215 results

Increase By Adjacent Difference

Increment each number by the absolute difference between its adjacent cells, treating missing neighbors as zero.

medium
43

Function isNotVowel – CTS PATTERN

Fix the logical error in the isNotVowel function to correctly identify non-vowel characters

easy
43

Reverse and Print Common Characters in Two Strings Using Python

Find common characters between two strings at the same index positions after reversing the second string

easy
43

Toggle Bit to Check Multiple of 5 in Binary Representation

Check if a binary number can become a multiple of 5 by toggling exactly one bit

mediumBit Manipulation
47

SQL – Employee Name Search

Query database to find employees whose names start with 'S' or end with 'n' and order results by designation.

easy
44

Function printNto1 – CTS PATTERN

Print numbers from N down to 1 using recursion without modifying the original function signature

easy
43

Concatenate Remove & Interlace

Process two strings based on a given operator (+, -, *) to concatenate, remove common characters, or interlace characters.

easy
45

Print Largest Even Number – Digits

Find the largest possible even number that can be formed using all the digits from a given number.

medium
44

Function tenthOddOrEven – CTS PATTERN

Determine if the tenth digit of a given integer is odd or even and print the result

easy
42

Function print_1_Pattern – CTS PATTERN

Print a triangular pattern of 1s with N rows where each row i contains i number of '1' characters separated by spaces.

easy
45

Longest Non-Overlapping Prefix Suffix

Find the longest prefix of a string that is also a suffix, ensuring they do not overlap.

medium
44

Function Subtraction of Multiplicative Product – CTS PATTERN

Given three integers, find the absolute difference between the second maximum value and the product of the maximum and minimum values

easy
42
PrevPage 15 of 18Next