Write code to reverse the words of a sentence and not the sentence itself eg: Input: a quick brown foxOutput:a kciuq nworb xofTest the codeNow what if there is a punctuation mark like a quick, brown fox ...we still want the output to be a kciuq, nworb xof and not a ,kciuq nworb xofWhat if the developer did not want to fix this bug since it is not there in the specs...what would you do?
Write code to reverse the words of a sentence and not the sentence itself eg: Input: a quick brown foxOutput:a kciuq nworb xofTest the codeNow what if there is a punctuation mark like a quick, brown fox ...we still want the output to be a kciuq, nworb xof and not a ,kciuq nworb xofWhat if the developer did not want to fix this bug since it is not there in the specs...what would you do?
Answers:
No Answers yet. Be the first one to submit an answer!
To post an answer to this question, please login or sign up.


Reddit This!