MCQ Round had programming questions of moderate difficulty
Programmer Trainee Interview Questions
712,403 programmer trainee interview questions shared by candidates
You are given two integers, p and q. Complete the function calculatePower which takes two integers as arguments and returns p to the power of q, without using the built-in power function. We expect you to do better than O(q). A same input is p = 2 and q = 3, and the corresponding output is 8. Constraints: 0 <= p^q <= ((2^63) - 1)
Write code to parse a string and count the number of occurrences of each word.
Code Review
Since i have a working experience of 1 year and 3 months, i was told to join as a Fresher, because i haven't worked professional working experience in Android Development. And for a fresher, salary is quite less as you can expect. But at the end of the day, you are getting paid while you are at learning stage. Should be enough for a fresher only.
Reverse an array
What is the time complexity to find the median in an array?
Given a value in a binary search tree, write an algorithm that returns the next greatest value. The tree is assumed to contain the given value.
If there are two lists, and each have an identical number in them except for one unique number, how do you find the unique number?
Given unsorted array, find the 2 max numbers in it.
Viewing 711 - 720 interview questions