split a string into n equal parts

Solutions on MaxInterview for split a string into n equal parts by the best coders in the world