Suppose there is a building with 25 floors. If n-1 people enter an elevator and press a floor button. What is the probability that when the nth person enters, the 19th floor has already been pressed?
Financial Software Developer Interview Questions
757 financial software developer interview questions shared by candidates
Implement a function to raise a number to an exponent using your language of choice.
Write a program that given a 2D integer matrix (default value: 0) and a coordinate in the matrix, it sets all of the elements diagonal to the coordinate to a value of 1 (so that if you wrote it on a piece of paper there's an X with the coordinate at the center).
This was a question that I already encountered at another company. You have three lightbulbs in one room and three switches in another room. You can play with the switches as much as you want to, but you can only visit the room withthe bulbs once. How can you determine which switch corresponds to which bulb?
There are 20 floors in a building. I step into the elevator with 5 other people. What is the probability that I do not have to press my button? (ie someone else chooses the same floor as me)
#1: We have a linked list, but it is special in that it can have pointers down, as well as next. Any node can have an arbitrary number of links down as well as across. Write a function that will "flatten" this linked list so that it does not have any down pointers, but all elements remain in order.
How C allocate a piece of free memory?
Implement a square root function
There are two linked lists, each around million nodes long. One linked list merges into the second one. Find the node where the two linked lists merge i.e find the first node that is part of both linked lists.
Find the first two largest numbers in an array of integers.
Viewing 101 - 110 interview questions