one question was as under - "Symmetric Difference of Arrays" Input: two arrays of integers Output: one array of integers which occur in only one (not both) arrays Test case: Input: [ 1, 7, 8, 2, 4, 5 ] [ 3, 5, 1, 7, 6, 9 ] Output: [ 8, 2, 4, 3, 6, 9 ]
Software Engineer Php Interview Questions
664,898 software engineer php interview questions shared by candidates
String palindrome , difference between Authorization and authentication , where to use key value.
Nothing new... only the usual questions...
Say you have an unordered list of numbers ranging from 1 to n, and one of the numbers is removed, how do you find that number? What if two numbers are removed?
if there are 6 people in a team, how many handshakes will be there
Find median of an infinite stream of integers in O(1) time
You are climbing a stair case. Each time you can either make 1 step or 2 steps. The staircase has n steps. In how many distinct ways can you climb the staircase ?
Write a program to compute if one string is a rotation of another.
How would you measure 4 litres of water if you have 3 litre and 5 litre canisters?
Given an unsorted array of integers, find a 3-element subset that sums to zero
Viewing 231 - 240 interview questions