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.
Developer Interview Questions
269,158 developer interview questions shared by candidates
Onsite - 1. You have a computer with seven core cpu, you have a file and you have to read each line of the file, check if it has the word UPS in it, if so , then write it to a file, if there is no word as UPS in it, write that line to a different file. 2. An amount will be given as input. The amount will have some cents in change. So, for example $29.90. For the change, you have to start using the highest denomination and go to the lowest until the change value is completely met.
What's your favorite text editor?
Write an API for a phonebook service where the answer time (search name by the phone number) does not depend on the size of the phonebook.
Do you believe in aliens?
Q : Write a Code in one line to check an integer is palindrome or not
Tell me the inheritance concept in c++..?
Favorite project (worked on a team, and was interesting to me) technical questions: 1- have sorted array with empty places at end, want to add element, what to use? 2- have sorted array with empty places at end, want to add another sorted array to it, write the code in C++.
How to make a global error class for Retrofit errors?
is it possible to have a static class ?
Viewing 1301 - 1310 interview questions