String X-Pattern
Print a string in an X pattern using the characters from the string on the diagonals and asterisks elsewhere
Choose your challenge. Start easy and work your way up.
Print a string in an X pattern using the characters from the string on the diagonals and asterisks elsewhere
Count trees whose shadows fall within a rectangular matrix field based on sunlight direction
Find the longest consecutive sequence of successful target hits given a series of shooting scores
Count occurrences of a specific alphabet in a string that has been repeated to reach a specified length
Find and print common factors of (X, Y) and (Y, Z) in descending order, allowing duplicates
Print the elements of a square matrix in an inverted L-shape pattern row by row
Count the number of positions where two integers have equal bits
Fix the logical error in the toggleVowelCase function to correctly toggle the case of vowels in a string
Simulate a musical bench game where players move between benches in a circle based on music duration and player speed, eliminating players when benches are removed.
Count the number of non-overlapping occurrences of a pattern string within a given text string.
Sort integers by their frequency in descending order, with ties broken by ascending value
Count inversions in a derived sequence formed by sum of digits in base 6 representation