Determine the nth fibonacci number recursively.
Software Engineer Interview Questions
466,538 software engineer interview questions shared by candidates
Given and array. How do you find if there are such three numbers whose sum is Zero. What is the cost of this algorithm?
You are given an array of integers, a1, that have sequential integers 1 through n. ( { 1,2,3,4,5 } or { 1,2,3 } or any other array) You are also given an array of integers, a2, that also have numbers 1 through n, but are not in sequential order and are missing one of the numbers between 1 and n. Find the missing number in a2. Did you check for special cases? Can you do this in O(n) runtime?
You are given a number n, you have to find all prime numbers from 1 upto n and print them (or save them in an array). A varriation is (which changes the answer) is you are given two numbers m and n and you are to find all prime numbers between them.
Swap two variables without using a temp.
Which programming language you most familiar with?
Check if a String contains a number or not
There is an array of size n which consists of any numbers from 1 to n .Find the numbers in the array which are appear more than once
Given a dictionary as a hashtable and a word. Find the minimum # of deletions needed on the word in order to make it a valid word in the dictionary.
write a function to calculate X^N
Viewing 631 - 640 interview questions