Pergunta de entrevista da empresa Cognizant

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