cast to string failed for value

Solutions on MaxInterview for cast to string failed for value by the best coders in the world