Skip to content / Đến nội dung
ThichHocToan.com

BEBRAS 2025 Grade 7-8 Round 2 Ext Question 10

BEBRAS · BEBRAS 2025 Grade 7-8 Round 2 Ext

Question 10

A language machine has left and right input strings. Repeatedly take the last character of the right string and append it to the output, then take the last character of the left string and append it. Stop when at least one input is empty, and append any remaining letters from the other input. The examples show the rule.

Question illustration

What is the output for left COMPE and right TITION?

Question illustration
  1. NEOPIMTOICT
  2. NEOPMITOICT
  3. NEOPITMOICT
  4. NEOPIMTOITC