Zillow Interview Report
- 0of 0 votes
AnswersGiven a String, write a routine that converts the string to an long, without using the built in Java functions that would do this. Describe what (if any) limitations the code has. For example:
- chad July 12, 2012 in United States
long StringToLong(String s)
{
/* code goes here to convert a string to a long */
}
void Test()
{
long i = StringToLong("123");
if (i == 123)
... success ...
else
... failure ...
}| Report Duplicate | Flag | PURGE
Zillow Software Engineer / Developer General Questions and Comments - 0of 0 votes
AnswersImplement insert and delete in a tri-nary tree. Much like a binary-tree but with 3 child nodes for each parent instead of two -- with the left node being values < parent, the right node values > parent, and the middle node values == parent. For example, if I added the following nodes to the tree in this
- chad July 12, 2012 in United States| Report Duplicate | Flag | PURGE
Zillow Software Engineer / Developer Data Structures
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.