Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
The tasks are identical. Besides, in many languages a string is just a list of numbers. On this site the criteria for duplicate tasks is ones whose solutions are correct for both tasks or can be trivially modified to the other task. In this case I believe almost every solution to each challenge will work in either. Do not be discouraged that your challenge is a duplicate; people pose duplicate challenges here all the time without noticing. Instead, use the Sandbox next time so you can get feedback on the challenge before posting it.