Given and array. How do you find if there are such three numbers whose sum is Zero. What is the cost of this algorithm?
Software Developer I Interview Questions
710,791 software developer i interview questions shared by candidates
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
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 861 - 870 interview questions