Home > Riddles > The shredded password

The shredded password

Numerical territoryLevel 3 · Intermediate · ●●●○○

A 6 letter password was hashed.
All its consecutive fragments of length 3 were preserved, out of order:

$$ \texttt{ABA},\ \texttt{BAC},\ \texttt{ACB},\ \texttt{CBA}. $$

Reconstruct the original password.

Didactic closure of the level

If you can justify why recurrence is correct and not just use it, you are already at a solid level.

Hints

Show hints
  1. Reconstruction by 2-letter overlaps: ABA ends in BA $\Rightarrow$ fits with BAC.
  2. Reconstruction by 2-letter overlaps: ACB ends in CB $\Rightarrow$ fits with CBA.
  3. Checking for consecutive fragments of length 3: $\texttt{ABA}$, $\texttt{BAC}$, $\texttt{ACB}$, $\texttt{CBA}$. They match the dice exactly.

Solution

Show full solution

Back to issue
Answer:

$$ \texttt{ABACBA}. $$

Reconstruction by 2-letter overlaps:

  • ABA ends in BA $\Rightarrow$ fits with BAC,
  • BAC ends in AC $\Rightarrow$ fits with ACB,
  • ACB ends in CB $\Rightarrow$ fits with CBA.

Resulting string:

$$ \texttt{ABACBA}. $$

Verification of consecutive fragments of length 3:

$$ \texttt{ABA},\ \texttt{BAC},\ \texttt{ACB},\ \texttt{CBA}. $$

They match the dice exactly.

Related riddles

Keep practicing

If you enjoyed this one, try more pure-logic riddles, explore this theme, browse the full archive, or read the riddle-solving guide.

← Previous: The impossible row of cards · Next: Los cuatro pesos →