Given 99 numbers from 1 to 100 no-duplicate, find the number that is not there between 1 to 100; given 98 numbers from 1 to 100 no-duplicate, find the two numbers missing between 1 to 100.
Financial Engineer Interview Questions
1,105 financial engineer interview questions shared by candidates
There are 10 boxes of apples. Each apple in the boxes weights 1 pound, except that one of the boxes contains bad apples, which weights 0.9 pound each. You are given a digital weight (not a scale), and you can take apples out of the boxes. what is the minimum time of weighs to find out which box has bad apples? I gave one solution of 3 times using divide and conquer, but the interviewer said that 1 step is possible. So I couldn`t come up with the solution.
Given an array with building sizes, find the building to be knocked over from the left (assuming you are Godzilla) so as to knock over maximum number of buildings. The buildings once knocked over, can reach as far as their height. So, if the array is (2, 4, 0, 0, 0, 1) , We would have to knock over 2, which will knock over 4, 2 and 1. Also notice in (2, 6, 4, 0, 0, 0, 0, 1) the 6 would reach over the 4 and knock over the 1. (Something that I confirmed with the interviewer)
How to avoid having instances of your class created on the stack
Given an continuous integer array, if there is one number missing, how to find it out without sorting? How about two numbers?
You're given a set of strings. You want to test if any two strings in the set are anagrams.
Find the square root of a number without using the standard library function.
You have DB which stored employee ID and a cache. Design how to manage a cache from employee ID took from DB.
Is there any algorithm to verify whether a linked list is circular or not?
gave me a tree of 3 level and provided me a number that contains the level number and asked me to code a program that would print the nodes on that level in the tree.
Viewing 131 - 140 interview questions