Given an array and a target value, return true if there is a pair of numbers in the array that sum to this target.
Desarrollador Sr Java Interview Questions
713,214 desarrollador sr java interview questions shared by candidates
Determine the nth fibonacci number recursively.
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.
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
Viewing 861 - 870 interview questions