Trilogy, Recently Asked Online Assessments in 04 Sep, 2025 | Cryptarithm Puzzle Solutions | Coding Assessment | Complete Solutions & Tips | Mathematical Puzzles & Backtracking | Sep 4th

Question · Posted Mar 2026

Question: Cryptarithm Solver Problem Statement: A cryptarithm is a mathematical puzzle where the goal is to find the correspondence between letters and digits such that the given arithmetic equation consisting of letters holds true. Given a cryptarithm as an array of strings crypt, count the number of its valid solutions. The solution is valid if each letter represents a different digit, and the leading digit of any multi-digit number is not zero. crypt has the following structure: [word1, word2, word3], ...

The full answer & interview discussion are available to premium members.

Log in Create a free account