sum of k smallest number
Developer Interview Questions
640,961 developer interview questions shared by candidates
Write a function to divide a number by two without using the division operator
Is JVM a process based system or a thread based system
Swap two numbers while not using the temp variable.
One of the easier questions was gaining points while rolling 3 dice inputs (a, b, c).
How will you resolve technical conflicts among team members
I have an array of million integers. I want to sum it efficiently. How would you do it without using Java 8 parallel streams?
1. Logical Question In an array of 1001 ,numbers from 1 to 1000 are randomly stored and one number is repeated how to determine that number by running loop only one time and without using any secondary storage
Given a = 4, b = 6. Swap the value of those two variables without using extra variable(s).
Interview Question – two algorithm questions each phone interview. Two of them were a bit challenging . One of them was : given a value k and an array , design an efficient algorithm that should output the number of pairs that sum up to k. They wanted a n log n solution, wich i provided, but I wasn't handy with the implementation. We spent several minutes with questions like why would you want to work for us? or how did you heard and what you know about us ?
Viewing 2141 - 2150 interview questions