Showing 3 of 21 questions
Find the shortest string of a given length that meets specific "beautiful" criteria, prioritizing the lexicographically smallest one if multiple solutions exist. The beauty criteria involves avoiding palindromic substrings of length two or three.
#1. Shortest and Lexicographically Smallest Beautiful String
Determine if an equation where words represent numbers can be solved such that each letter maps to a unique digit. You need to check if a valid assignment of digits to letters exists to make the equation true.
#2. Verbal Arithmetic Puzzle
You are given an array of numbers. Minimize the largest number in the array by repeatedly replacing pairs of numbers with their product.
#3. Minimizing Array After Replacing Pairs With Their Product
Page 1 of 1 · 21 total