↳
have you received offer letter?
↳
Which type of questions are asked in online test
↳
my dream job is the one which gives me a passion to learn new things to the position in a company Less
↳
i tried my best in 2nd round but i got rejected
↳
Guys i had attend interview in march 2017 ..I cleared all round then HR told me wait mail or call did u tell me how much days I have to wait for result or anyone got offer letter or call..plz tell me Less
↳
after how many monthes i could attain syntel again because attained in january 2nd. Less
↳
I would like to see myself donning one of the senior positions in organization contributing to technology as well as participating in business growth. Less
↳
test
↳
Because of sharing my knowledge and skills and improving them until I became an expert on the particular task or whatever job assigned to me, I see myself on a higher position within 5 years. Less
↳
Can,t we do sorting from largest to smallest give arr[1] which is of course second largest Less
↳
It Took Time but Simple logic is needed.
↳
Would be impressive to solve the general case... find the kth large number: create a minheap of size k, and for each element in the array, if that number is bigger than the top of the minheap, replace the top of the minheap with that number and recreate the minheap. Running time is O(nlgn). If you can have negative numbers, then you can easily modify this code. int findKthLargestNumber(int[] A, int k) { if (k minHeap[2*i+1]) { int temp = minHeap[i]; minHeap[i] = minHeap[2*i+1]; minHeap[ 2*i+1] = temp; i = 2*i+1; } else if (minHeap.length minHeap[2*i+2)]) { int temp = minHeap[i]; minHeap[i] = minHeap[2*i+2]; minHeap[ 2*i+2] = temp; i = 2*i+2; } else { done = true; } } Less
↳
I thought out loud the whole time, almost everything was hints, otherwise it was a tough problem. Less
↳
When was your interview? 13th?
↳
Can you elaborate on String replacement problem? Currently studying for other interviews and was wondering what this was like. Thanks! Less
↳
The answer is 6. counter weights of 1, 2, 4, 8, 16 ,32
↳
Can the answer also be 1, 3, 9, and 27. That means only 4 weights
↳
Can the answer also be 1, 3, 9, and 27. That means only 4 weights
↳
Really that is what you would answer? What if they stirred the jars around after you distributed the marbles? Personally I think a better answer is to put 1 white marble in the first far and 99 white marbles and 100 black marbles in the second jar. If you choose the jar at random you now have a 74.87% chance of getting a white marble, regardless of the marbles position in the jar. Less
↳
qq is right, that is the optimum combination.
↳
2 colours, 2 jars. White in one, black in the other
↳
Because if its square, the lid can easily slip inside along the diagonal. length of diagonal is greater than side of square. Less
↳
1. Easy to roll 2. comparison to other shapes, distributes weight along sides easily :) Less
↳
Minimum surface area.
↳
abstract class is contain abstract methods as well as concreat methods where as interface contain only abstract methods Less
↳
Interface is a service recuirments specification which describes the services offered. And it is 100% abstract class. If we don't want to allow a program to create an object for a class, then declare that class as abstract class. Methods in abstract class are may or may not abstract methods. Less
↳
Interface is a service recuirments specification which describes the services offered. And it is 100% abstract class. If we don't want to allow a program to create an object for a class, then declare that class as abstract class. Methods in abstract class are may or may not abstract methods. Less
↳
They dint give 5th or 6th numbers.. So in odd places it is +3 and in even places it is +4.. Less
↳
This is prime number series 2,3,5,7, then 11 like this and normal prime number condition we have to do😊 Less
↳
print the prime no series