Financial Software Developer Internship Interview Questions

56,796 financial software developer internship interview questions shared by candidates

Given a stream of integers, how do you find the median of the numbers? Follow Up: Consider the functionality for a corp., to find the median of company, what is the most time effective way of doing it? Now, if having similar functionalities such as average, min, max, variance, etc. what data structures would you use?
avatar

Financial Software Developer

Interviewed at Bloomberg

4
Feb 17, 2015

Given a stream of integers, how do you find the median of the numbers? Follow Up: Consider the functionality for a corp., to find the median of company, what is the most time effective way of doing it? Now, if having similar functionalities such as average, min, max, variance, etc. what data structures would you use?

read the following code and tell me the output, and is there anything wrong about it? #include <iostream> class A { public: A() { foo(); } virtual void foo(int a = 10) { std::cout << "A = " << a << std::endl; } }; class B : public A { public: B() { foo(); } virtual void foo(int b = 20) { std::cout << "B = " << b << std::endl; } }; int main() { A* aPtr = new B(); aPtr->foo(); delete aPtr; return 0; }
avatar

Financial Software Developer

Interviewed at Bloomberg

4
Jul 2, 2015

read the following code and tell me the output, and is there anything wrong about it? #include <iostream> class A { public: A() { foo(); } virtual void foo(int a = 10) { std::cout << "A = " << a << std::endl; } }; class B : public A { public: B() { foo(); } virtual void foo(int b = 20) { std::cout << "B = " << b << std::endl; } }; int main() { A* aPtr = new B(); aPtr->foo(); delete aPtr; return 0; }

Viewing 1921 - 1930 interview questions

Glassdoor has 56,796 interview questions and reports from Financial software developer internship interviews. Prepare for your interview. Get hired. Love your job.