Difficulty Levels

Choose your challenge. Start easy and work your way up.

213
Total Problems

Reversed Sum of Pairs

Print the sum of every two consecutive elements in an array starting from the end

easy
42

Function getOnesCount – CTS PATTERN

Fix the given function to correctly count the number of 1's in the binary representation of an integer.

easy
43

Second Largest Integer – Greater than X

Find the second largest integer from a list that is greater than a given threshold X

easy
42

Octal Equivalent Of N

Convert a decimal integer to its octal representation

easy
42

Outer to Inner Swap – Both Odd/Even

Swap elements from outer positions to inner positions if both elements are odd or both are even

easy
41

Morse Code – Words

Decode a message from Morse code represented by consecutive 1's where each group corresponds to a letter of the alphabet

easy
43

First and Last X Digits

Extract and print the first X digits and last X digits from a given number N

easy
41

Function findMinimum – CTS PATTERN

Fix the logical error in the given code to correctly find the minimum value in an integer array

easy
42

Sum of even numbers from M to N

Calculate the sum of all even numbers within a given range from M to N (inclusive).

easy
41

Function matrixSum – CTS PATTERN

Fix syntax errors in the matrixSum function to correctly calculate the sum of all elements in a 2D matrix stored as a 1D array

easy
42

Function isNotVowel – CTS PATTERN

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

easy
42

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
42
PrevPage 7 of 9Next