sexta-feira, 10 de abril de 2015

Given the sequence π = (-3, 2, -5, -6, 7, -8, 1, 4, 9), which of the following sequences can be obtained from π by applying a reversal?
  1. (-3 -7 6 5 -2 -8 1 4 9)
  2. (9 4 1 -8 7 -6 -5 2 -3)
  3. (3 -2 5 6 -7 8 -1 -4 -9)
  4. (-3 -2 -5 -6 -7 -8 1 4 9)
  5. NDA
Original Idea by: Danilo Brandão Gonçalves
Translate help: Leandro José de Bortoli

Um comentário: