Epic Systems Interview Question
Software Engineer / Developerstr filter in unix does it for you.
I am not sure if interviewer was expecting you to write code in c or c++ / or he wanted to know whether u know stuff beyond c/c++.
whenever u get interviewed try to understand the intent of the question rather than just start writing code.
also, question may be ambigious so he expects you to ask all questions i.e. all edge cases.
in c++ .
we can use hashset to store all words encountered in sentence and replace the word that we want.
- pondy April 11, 2009