Authorities say the arrests are linked to an investigation in Bosnia , in which a Turk , a Swede and a Bosnian were arrested in Sarajevo on October 19 and 20 on suspicion of preparing a terrorist attack .