Solve a classic string manipulation or array-based coding problem in an online IDE, ensuring optimal time and space complexity for Tempo.