Write algorithm to compute the intersection of two arrays. What is the time complexity of this algorithm (using the big O notation)?
Programmer Analyst Ii Interview Questions
716,610 programmer analyst ii interview questions shared by candidates
Given a string, find whether it has any permutation of another string. Need to be efficient
1. What is a virtual? 2. If class has virtual function, what happens in compile time and in run time? 3. What is a polymorphism? 4. Write the function that gets array of chars and returns number of elements with 3 bits ON, performance is important. 5. Write the function that draws a line from x1,y1 to x2,y2 6. You have very long function with many return statements. You have to determine how much time it runs.
1- Given an array of integers, positive and negative. find an interval in that array, whose elements constitutes the maximum sum
Given an integer write a function that converts the input into a linkedList where each node corresponds to a number of the integer. Eg: 25697 == 2 -> 5 -> 6 -> 9 -> 7 Then write a function that takes 2 linkedList, add the corresponding integers and return a third list with the result.
Sabes que es c++?
Write a function that takes an input string, consisting of several words separated by spaces, and print out each word reversed, keeping the same order within the string.
Sum up integer array?
write a boolean method to find out if a number is a power of 2
int getCount(int[] arr, int num)
Viewing 1731 - 1740 interview questions