Ad
  • Default User Avatar

    Can someone explain how this output is the correct answer:

    Input: WEAREDISCOVEREDFLEEATONCE

    with n=2

    the expected output is WADCEFACTLROIREESVEEOENED

    but even working it out manually I find the answer to be WAEICVRDLETNEERDSOEEFEAOC (as take every other letter and put on one other rail)?
    eg

    W A E I C V R E F E A O C
     E R D S O E E D L E T N E