FactSet Research Systems, Inc Interview Question Software Engineer / Developers


Country: United States
Interview Type: Phone Interview


Comment hidden because of low score. Click to expand.
1
of 1 vote

Q: Differences between C and Java? How is memory managed in Java and C?
A: Quite too many to name. I'll just address the second question because it's one difference. In Java, allocated memory that becomes unreachable is automatically returned to the pool of memory available for tasks through a process known as "garbage collection". In C, memory must be allocated and deallocated manually, except for on-stack memory, which is freed when the corresponding function returns.

I'd probably start with that and have my interviewer prompt for more details if they care to.

Q: What is your favorite algorithm?
A: This is a ridiculous question. If I were to humor this, I suppose maybe I'd try to name something the interviewer has never heard of (or has and knows to be really advanced). I'd probably have to say ILP-relaxation (well, that's a family of algorithms, I suppose). I could say Djikstra's Banker's algorithm if I thought the more theoretical aspects of concurrency were important to these people. Maybe I'd say Savitch's algorithm in academia (a very surprising and interesting algo, but rather useless in practice). Of course there's no wrong answer.

Q: Write code to insert an element into a binary search tree?
A: Standard algorithm; you can find it (not what I'd say in the interview, I'm just addressing the reader here).

- Anonymous on October 31, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

ILP relaxation is more like a technique than even a family of algorithms, kind of like dynamic programming is a technique.

- eugene.yarovoi on October 31, 2011 | Flag


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book walking you through getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More