Pregunta de entrevista de Cognizant

Q. How to handle routes with different values/names? Subroutes with params.