return type depends on input typescript

Solutions on MaxInterview for return type depends on input typescript by the best coders in the world