A simple program used by ThoughtWorks for first round of interview.
Please view the problem statement with sample input and expected output here
- Sample input is stored in
input.txt
and output inoutput.txt
- Please read further analysis here
Please feel free to create PR, if you feel something can be changed
Kamal Nayan