Determine the nth fibonacci number recursively.
Desarrollador Web Java Interview Questions
711,818 desarrollador web java 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?
1) 6 hours problem - Walls and Guards, use triple loop as a solutions and matrix. 2) Live coding question - 3 boxes with apples, oranges and apple and oranges, famous problem.
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.
Check if a String contains a number or not
Which programming language you most familiar with?
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
* Write a function, preferably in C or C++, to reverse a string.
Viewing 861 - 870 interview questions