sanjeevnk
BAN USER
Forum Posts (1)
Comments (7)
Reputation 0
- 4 Answers Suggestions for Infibeam Interview
Hi,
- sanjeevnk February 04, 2011
I've my telephonic round with Infibeam on Thursday. Has anyone interviewed with Infibeam recently? What kind of questions are expected in first round? Any thoughts about the interview process?...
Thanks,
Sanjeev| Flag | PURGE
Page:
1
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
0
of 0 vote
public int countWords(String line) {
int wordcount = 0;
for (int i = 0; i < line.length(); i++) {
char ch = line.charAt(i);
int j = i + 1;
if (i == line.length() - 1) {
wordcount++;
break;
}
if ((isDelimitedChar(ch)) && !
(isDelimitedChar(line.charAt(j)))) {
wordcount++;
}
}
return wordcount;
}
//Runs in O(n). The only functions used are length() and chartAt(...) which is fine as per expectation.
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
Page:
1
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
Interesting!
- sanjeevnk January 28, 2011