Given a positive integer N, write a function to return a list of the first N fibonacci numbers in order. For example, if N=5, the output list is 0 1 1 2 3.
Senior Software Interview Questions
75,489 senior software interview questions shared by candidates
Is this valid/what would this do (C): int *p; p=0; p++; printf("%d",p);
How do you write an algorithm to count all subsets of strings in a string.
Java question was around String pattern searching which you can do easily in around 20 minutes, if you can keep your mind calm where that clock is also ticking.
Given the daily stock prices of a share during last 30 days, write a program to find out best buying and selling dates for maximum gain. The program should run with O(n) complexity.
Write a function that determines if a tree is a BST or not
Given an ordered large array of integers, find all pairs of numbers that add up to a particular given sum.
sort binary array with minimum time complexity
puzzle : there is a island and the resident are either blue or black eyed. The residents are trapped in the island and want to leave. One day a foreigner comes and says there are few blue eyed people. He will be sending a steamer to the island every day and blue eyed people can leave. But if a black eyed person approaches the steamer, he will be killed. Constraint: No body knows their eye colour and can't even ask or say the colour to any other person. even cant see their reflection. So how many days is required for all the blue eyed person to leave the island.
Difference between an array list and a linked list.
Viewing 101 - 110 interview questions