nr
BAN USER- 1of 1 vote
AnswerImplement cache with proper synchronization.
- nr in United States| Report Duplicate | Flag | PURGE
American Airlines SDE1 - 2of 2 votes
AnswersGiven a 2D rectangular matrix of boolean values, write a function which returns whether or not the matrix is the same when rotated 180 degrees.
- nr in United States for maps| Report Duplicate | Flag | PURGE
Google SDE1 - 2of 2 votes
AnswersGiven a 'friendship' graph, how would you generate friend suggestions for people, and how would you distribute the data across machines?
- nr in United States for google map| Report Duplicate | Flag | PURGE
Google SDE1 Algorithm - 1of 1 vote
AnswersDesign a counter across all Google's servers.
- nr in United States| Report Duplicate | Flag | PURGE
Google SDE1 Algorithm - 0of 0 votes
AnswersGive me real time application of BST.....
- nr in United States| Report Duplicate | Flag | PURGE
Google SDE1 Algorithm - 0of 0 votes
AnswersData-structure and algorithm used in Load Balancer??
- nr in United States
Explaining algorithm write code for it| Report Duplicate | Flag | PURGE
Google SDE1 Algorithm - 0of 0 votes
AnswersAdding Very Large Numbers. Write clean code for it. please check all corner cases..
- nr in United States for web service
Number can be really really large| Report Duplicate | Flag | PURGE
Amazon SDE1 Algorithm - 0of 0 votes
AnswersExplain Collaborative Caching?
- nr in United States for Kindle| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer - 1of 3 votes
AnswersCode to create a file system.... Have classes like directory, file and all
- nr in United States for Kindle
please write the full code| Report Duplicate | Flag | PURGE
Amazon SDE1 Algorithm - 0of 0 votes
AnswersDesign File System. Interviewer said just code and no OOP
- nr in United States for kindle| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Algorithm - 0of 0 votes
AnswersYou have a point say Point<x,y> get the 10 nearest point to the centre with complexity of 0(1) as you add element.
- nr in United States| Report Duplicate | Flag | PURGE
Amazon - 0of 0 votes
Answersdouble payment = 0.1;
- nr in -
double sum = 0.0;
for (int i=0; i<10; i++)
{
sum += payment;
}
why is output 0.9999999999999999
public class TestFloatingPoint {
public static void main(String[] args) {
double payment = 0.125;
double sum = 0.0;
for (int i=0; i<8; i++) {
sum += payment;
}
System.out.println(sum);
}
}
Why does this give 1.0| Report Duplicate | Flag | PURGE
Ebay Software Engineer / Developer - 0of 0 votes
AnswersGiven an n-ary tree of resources arranged hierarchically. A process needs to lock a resource node in order to use it. But a node cannot be locked if any of its descendant or ancestor is locked. You are supposed to:
- nr in United States
-> write the structure of node
-> write codes for
Islock()- returns true if a given node is locked and false if it is not
Lock()- locks the given node if possible and updates lock information
Unlock()- unlocks the node and updates information.
Codes should be :
Islock –O(1)
Lock()- O(log n)
unLock()- O(log n)| Report Duplicate | Flag | PURGE
Amazon Software Engineer in Test Algorithm
RepChariserMachado, Android test engineer at ABC TECH SUPPORT
Hey, I am Charisar. And I'm working in Stratpro as a meeting director and it's been 3 years ...
Repchrishwalsh369@gmail.com, Android Engineer at ABC TECH SUPPORT
A computer operator is a role in IT that oversees the running of a computer system.Apart from this, today ...
why can not this work ... my solution is just o(1)+o(1)
- nr May 16, 2013