Customers Group – Purchase Amount
Group customers by purchase amount in descending order and sort names within each group
Choose your challenge. Start easy and work your way up.
Group customers by purchase amount in descending order and sort names within each group
Print characters from a matrix alternating between first N characters from odd rows and last N characters from even rows.
Simulate the movement of robots moving in alternating directions across rows and output their positions after T seconds
Find the middle digit(s) of an integer - return the middle digit if odd length, or the two middle digits if even length
Count the number of triplets in an array where three integers appear in strictly decreasing order.
Find the nearest integer to N where the concatenation of its first and last digits is a factor of the integer itself.
Find the lexicographic rank of a string among all unique substrings of itself
Print a vertical zigzag pattern of numbers in a matrix format
Find the basket under a tree that receives the most different colors of flowers from its tree and adjacent trees.
Print odd numbers from A to B interlaced with even numbers from B to A
Find multiples of N starting from N*1 and stop when a multiple is divisible by X
Print a pattern where each line shows repeated characters from the start of the string followed by the remaining characters