Difficulty Levels

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

215
Total Problems

Zig-Zag Triangle – String Pattern

Print a zig-zag triangular pattern using characters from a string with alternating forward and reverse order

medium
41

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
42

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
42

Count of Triplets – Decreasing Order

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

mediumArrays & Strings
410

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
42

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
43

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
42

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