Write a function that determines the divisors of an supplied parameter and which of those are prime numbers.
Entwickler Interview Questions
467,504 entwickler interview questions shared by candidates
Without using length and size function how could you get the 2nd last variable in an array of integers?
Basic Algo questions. 1 DP question and then design questions.
Find local maxima in an unsorted array with n time
find total # of numbers that satisfy x*(x+1) that fall within a and b (a, b, x all integers and a<=b)
Where is string constants stored in Memory? Ex: char * a = "Hello" ;
What does the following function do: unsigned int doit(int x) { unsigned int z = 0; while (x &= (x-1)) z++; return z; }
Given a linked list. Write a C program to reverse it.
void sort(String s){ } void sort(Integer I){ } void sort(Object o){ } calling : sort(null) which function will be called?
Given an integer array containing positive and negative numbers, how do you get the maximum sum of its sub-arrays? Continuous numbers form a sub-array of an array. For example, if the input array is {1, -2, 3, 10, -4, 7, 2, -5}, the sub-array with the maximum sum is {3, 10, -4, 7, 2} whose sum 18.
Viewing 2201 - 2210 interview questions