Skip to main content
DevHives

Pack a List of Strings Into One String

Loading editor…

3 examples run when you press Run. Submit checks every hidden test too.

Case 1
Input:
["red","a,b",""]
Expected:
["red","a,b",""]
Case 2
Input:
["12#x","#","\"q\""]
Expected:
["12#x","#","\"q\""]
Case 3
Input:
[]
Expected:
[]
Ready

Run checks your code against the 3 examples. Submit checks it against all 123 tests and needs a free account. You can also try ideas in the free JavaScript or Python compiler.