Interview Question

Technical Lead Interview


Bridgewater Associates

In 30 minutes write an code snippet in C# which will count the words in a document, and count the sentences in the document as well.

AnswerAdd Tags

Interview Answers

2 Answers


Be prepared to handle all strange cases, different punctuations, abbreviations, special characters and quotes within sentences. This is a pen and paper exercise. Although they tell you they want to assess your coding ability they really want to see if you will stop and ask questions before you begin coding. They don't really care how you code, they care how you think. They don't tell you this up front however.

Anonymous on


Is this not an exceptionally easy question for what I hope is a very demanding job? Are unit tests at least required?

Candidate just considering on

Add Answers or Comments

To comment on this, Sign In or Sign Up.