Pergunta de entrevista da empresa Fast Enterprises

Phone interview: - What is inheritance? - How would you explain inheritance to a child? - Difference between passing argument as value or reference ? 3 hour interview: - If a cube is made of 1000 smaller cubes, how many cubes are on the surface? - You have a 4 minute and a 7 minute hourglass, how do you count to 9 minutes exactly? - If you have 25 horses and can only race 5 at a time, how do you determine the three fastest horses in 7 races (without a stopwatch)? Pseudo code: - write a program to determine if a new appointment will overlap with a pre-existing appointment. - write a program to tally a how many 'a' characters are in a given string. The HR and managerial questions were pretty standard and focused heavily on relocation.