Financial engineer Interview Questions | Glassdoor.co.uk

Find jobs for financial engineer

Financial engineer Interview Questions

151

financial engineer interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

Design an algorithm to find the first unique element in an array.

8 Answers

One possibility that comes in mind: * Walk the array, create a hashmap (key is the value in array, value is the count of such values). * Walk the array again and check the count in the hash map, once you hit 1, you have the first unique value. This is O(n) both space and time.

Are you sure that this is O(n), it is definitely O(n^2), you go over all items twice.

dear utk O(2n) = O(n) != O(n^2)...

A rabbit wants to climb some stairs and it can do steps of 1 or 2. How many possible paths are there to follow ( e.g 1-1-1... or 2-2-2 ... or 2-1-2-1... etc)

6 Answers

write a function that returns the first unique element in an array

5 Answers

int i=14; if (i=15) i++; How much is i?

4 Answers

You have a large data file, consisting of ten-digit numbers separated by new-line characters. Write a program in C to sort it, using at most 20MB of memory. Make it efficient.

4 Answers

They ask what can you tell about the firm and their products.

3 Answers

2 pieces of string of different length and non-uniform width, each take one hour to burn. the remaining length of a burning string doesn't tell you how much longer it burns for. with a lighter measure 45 mins.

3 Answers

how can I count the bit set to 1 in an integer? What if I want to optimize the process to work with several integers?

2 Answers

template<class T1; class T2; class T3> int Product (T1 a, T2 b, T3 c) { return a * b * c; } What is the error in the sample code above?

4 Answers

How does Java Garbage Collection work? How would you implement garbage collection?

2 Answers
110 of 151 Interview Questions