convert array to string while preserving brackets

Solutions on MaxInterview for convert array to string while preserving brackets by the best coders in the world