edoc0code
BAN USER
Questions (5)
Comments (4)
Reputation 90
- 1of 1 vote
AnswersCode a distributed hash table that will always live on 3 machines. Optimize for the case where the 3 machines are virtual on a single physical machine and when they are 3 physical machines.
- edoc0code in United States| Report Duplicate | Flag | PURGE
Shutterfly Software Engineer / Developer Distributed Computing - 0of 0 votes
AnswersMirror a binary tree. Second part involved mirroring without using a temporary variable.
- edoc0code in United States| Report Duplicate | Flag | PURGE
Shutterfly Software Engineer / Developer Algorithm
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
Unfortunately, could not code or optimize this properly. My solution involved a very simple sharding of the hash table by modding the kv hash by the node-id. I believe the interviewer was not very satisfied with the approach.
- edoc0code August 08, 2012