Company: DeShaw_5july
Difficulty: medium
Triangle Summation Problem Description A student has created an innovative project for a science fair. To protect his work from being copied, the student decides to encrypt the project details from a sequence of digits. The student devises an encryption method he calls 'Triangle Summation'. When a sequence of digits (representing some aspect of his project) is input into his encryption system, it adds up the adjacent digits. The system then takes the rightmost digit (the least significant digit) from each sum and uses it for the next step. As a result, the number of digits in each step decreases by one. This process continues until only two digits remain, and this pair of digits forms the encrypted code for his project. Given the initial sequence of digits, your task is to determine the encrypted code using the student's 'Triangle Summation' method. The output should be a string representing the encrypted code. Examples Example 1: Input: numbers = [4, 5, 6, 7] Output: 04 Explanation: E