Apprendre
Des caractères adjacents sont inversés.
Transposition errors occur when two adjacent characters swap positions. This is one of the most common data entry errors, often caused by typing too quickly or by dyslexia. Examples include typing '1324' instead of '1234' or 'hte' instead of 'the'. These errors are subtle because all the correct characters are present.
Original: ABCD → Error: ABDC (C and D swapped)
- 12345 → 12435 (3 and 4 transposed)
- ABCDEF → ABDCEF (C and D transposed)
- AB-1234 → AB-1324 (2 and 3 transposed)
Comment le reconnaître
- Same characters, but two adjacent ones are in reversed order
- Length remains the same
- Often occurs in the middle of strings
Erreurs fréquentes
- Confusing transposition with substitution
- Missing subtle swaps in long strings
- Not checking adjacent pairs systematically
Résolution étape par étape
Trouvez l'erreur : Original '12345' vs Donné '12435'
- Comparer position 1 : '1' = '1'
- Comparer position 2 : '2' = '2'
- Comparer position 3 : '3' vs '4' - différence trouvée !
- Comparer position 4 : '4' vs '3' - différence trouvée !
- Comparer position 5 : '5' = '5'
- Motif : les positions 3 et 4 contiennent des caractères inversés
Réponse: Erreur de transposition : '3' et '4' inversés aux positions 3-4