I was given two lists of integers and number. The question is to write a function which returns true if the are two numbers in the array such that their sum in the number given.
Software Developer Engineer Interview Questions
466,919 software developer engineer interview questions shared by candidates
Flip a bit in a uint32 using C.
You have an array of numbers. For example: [-5, 1, 7, -3, 4] Find the pair with the greatest product.In the example above, it would be 28(7x4).
Write function to calculate sum of first N powers of 2 starting from 1. You shouldn't use any built-in function for calculating power. Implement the most efficient solution.
Write a function atoi in C, which takes a String as input, such as "123", and outputs an int, in this case 123.
How would you test if a binary tree were symmetrical and balanced.
There are many conference room at Amazon, your manager want you to book a conference room for a meeting. The number of people and time is given. Please return a list of rooms which are available at that time and have enough capacity.
What is the fast sorting algorithm and why?
Given a text file containing the text for Hamlet (/usr/share/file.txt), return the top 5 most frequent words with count.
Varied behavioral questions. Technical focused on oops concepts(explain 4 pillars of OOP with examples). Was asked to write code to print the largest number in an unsorted integer array of infinite size. Although the position was for C#, they were cool about me coding in java.
Viewing 1151 - 1160 interview questions