Difficulty Levels

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

213
Total Problems

Customers Group – Purchase Amount

Group customers by purchase amount in descending order and sort names within each group

medium
41

Character Matrix – Alternate Ends

Print characters from a matrix alternating between first N characters from odd rows and last N characters from even rows.

medium
41

Zig-Zag Robots

Simulate the movement of robots moving in alternating directions across rows and output their positions after T seconds

medium
41

Function middle – CTS PATTERN

Find the middle digit(s) of an integer - return the middle digit if odd length, or the two middle digits if even length

medium
41

Count of Triplets – Decreasing Order

Count the number of triplets in an array where three integers appear in strictly decreasing order.

mediumArrays & Strings
41

Nearest Integer – Factor

Find the nearest integer to N where the concatenation of its first and last digits is a factor of the integer itself.

medium
41

String Rank among SubStrings

Find the lexicographic rank of a string among all unique substrings of itself

medium
44

Vertical ZigZag Pattern

Print a vertical zigzag pattern of numbers in a matrix format

medium
42

Basket with Most Colors

Find the basket under a tree that receives the most different colors of flowers from its tree and adjacent trees.

medium
42

Python Program for Interlace odd / even from A to B

Print odd numbers from A to B interlaced with even numbers from B to A

medium
41

Multiple of N till divisible by X

Find multiples of N starting from N*1 and stop when a multiple is divisible by X

medium
42

Mirror of L Pattern

Print a pattern where each line shows repeated characters from the start of the string followed by the remaining characters

medium
41
PrevPage 3 of 9Next