Motricity

  www.motricity.com
Work in HR? Unlock Free Profile

Motricity Senior QA Engineer Interview Question

"Technical question. Count words in file. You have to ignore however many white spaces and special characters"
Add Tags [?]
Answer

Part of a Senior QA Engineer Interview Review - one of 11 Motricity Interview Reviews

Answers & Comments

0
of 0
votes
Loop through the characters in file and set a flag everytime space is encountered. Increment count by one and also check that a character before was not a blank space
- Interview Candidate on Apr 1, 2010

To comment on this question, Sign In with Facebook or Sign Up

Tags are like keywords that help categorize interview questions that have something in common.