Most difficult question involved graphs and path finding.
Software Developer Interview Questions
96,406 software developer interview questions shared by candidates
They asked me find last digit on n!
Come up a most efficient way to determine if a integer is odd or even.
Write a function to compute a factorial n
You are given an array with negative and positive unsorted numbers. Find out a pair whose sum = 0. If no such pair exists, find the pair whose sum is the closest to 0.
Can we use the final keyword with the constructor?
what is inheritance
Implement a lock-free queue/stack/... using atomic test-and-set functions.
Tell me the inheritance concept in c++..?
Identify whether there exists a pair of numbers in an array such that their sum is equal to N Input: The first line contains one integer N, which is the sum we are trying to find; The second line contains one integer M, which is length of the array; This is followeb by M lines each containing one element of the array; Output: Output 1 if there exists a pair of numbers in the array such that their sum equals N. If such a pair does not exist, output 0. Note: The array must be sorted.
Viewing 571 - 580 interview questions