Six Blocks Two Towers
Given six block heights and two target tower heights, arrange three blocks each to form two towers of specified heights, outputting blocks in descending order
Choose your challenge. Start easy and work your way up.
Given six block heights and two target tower heights, arrange three blocks each to form two towers of specified heights, outputting blocks in descending order
Arrange four strings of equal length around a square matrix such that the last character of one string matches the first character of the next string in the sequence
Expand a string by inserting additional vowels next to each existing vowel based on specific rules (a/A: 1 extra, e/E: 2 extra, i/I: 3 extra, o/O: 4 extra, u/U: 5 extra)
Calculate the discounted price based on predefined slabs and their corresponding discount percentages
Given a string with multiple words, print words up to and including the word with the most consonants (or the last such word if tied).
Count the number of substrings in a digit string where no two consecutive digits are identical.
Find the longest string formed by traversing diagonally from a given cell in a matrix
Find the highest jersey number in each team when students are divided into teams of size T with remaining students distributed round-robin
Toggle the case of consonants that are adjacent to vowels in a given string.