Frage im Vorstellungsgespräch bei Senseforth.ai

Given a string array, swap alternating characters without using another array. For example, abcde should result to cdabe.