Zillow Interview Questions
- 0of 0 votes
AnswersImplement a web crawler. Follow up - parrarelize it.
- Lively July 01, 2016 in United States| Report Duplicate | Flag | PURGE
Zillow Software Engineer Algorithm - 0of 0 votes
AnswersGiven points on the Cartesian plane. Return the K points closest to the origin (0,0).
- Lively July 01, 2016 in United States| Report Duplicate | Flag | PURGE
Zillow Software Engineer Algorithm - 0of 0 votes
AnswersImplement a Reader/Writers lock by only using primitive locking semantics (such as mutex,semaphore, etc..)
- Lively July 01, 2016 in United States| Report Duplicate | Flag | PURGE
Zillow Software Engineer Coding - 0of 0 votes
AnswersYou are given a "hand" in the game of blackjack. where cards are numbered 1 - 10, A = 1/11 J - 12,Q - 13, K - 14. a Hand consists of several cards. Given a single hand, you need to return the score of that hand which is closest to 21.
- Lively July 01, 2016 in United States| Report Duplicate | Flag | PURGE
Zillow Software Engineer - 0of 0 votes
AnswersGiven an N X M matrix where some position are free and some have trees in them. You can build a house on any group of free positions that form a square (including a single position). Return the largest house you can build given these requirements.
- Lively July 01, 2016 in United States| Report Duplicate | Flag | PURGE
Zillow Software Engineer Algorithm - 0of 0 votes
AnswerImplement a class to provide in real-time the list of the top 100 most viewed
- chestnut304 August 14, 2015 in United States
properties in the last hour. For the purposes of this exercise, you should think of
"the last hour" as the 3600 seconds ending now. Properties are represented by a
"zpid" or Zillow property ID, which we will treat as a unique string.
Example, if the current time is 2:20:
| 1 | 2 | 3 | 4 |
|-------| <- we want this time range
One possible interface:
interface MostViewed
{
// Every user view of a property calls this:
void propertyViewed(String zpid);
//Anytime we want the top 'count' properties, we can call this:
//which returns a list of zpids
List<String> getCurrentMostPopular(int count);
}| Report Duplicate | Flag | PURGE
Zillow Data Structures - 1of 1 vote
AnswersGiven a 2^31 x 2^31 tic tac toe board, describe how you would store the state of the game to check if there is a winner.
- Algorithmy December 10, 2014 in United States| Report Duplicate | Flag | PURGE
Zillow Data Structures - 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 - 0of 0 votes
AnswersDesign a format that describes the pathways you can traverse in the game Zelda.
- Brian July 29, 2010| Report Duplicate | Flag | PURGE
Zillow Solutions Architect Trees and Graphs - 0of 0 votes
Answers1. Question: A solution consists of four balls from a set of four different colors. The user tries to guess the solution.
- Visions September 26, 2007
If they guess the right color for the right spot, record it as being in the correct 'Location'. If it's the right color, but the wrong spot, record it as a correct 'Color'. For example: if the solution is 'BGRR' and the user guesses 'RGYY' they have 1 'Location' and 1 'Color'. A correct solution would be 4 'Location' and 0 'Color'.
Write a program to, given a solution and a guess, calculate the response that we present to the user.| Report Duplicate | Flag | PURGE
Zillow Algorithm - 0of 0 votes
AnswersQuestion: You are given an array of n integers (both positive and negative). Find the first continuous sequence of integers with the largest sum. For example, {-7, 4, -2, 5, 3, -6, 8, -9} : {4, -2, 5, 3, -6, 8} or {5, -3, -4, -2, 6, -4, 1, 3} : {6}
- Veritas September 26, 2007| Report Duplicate | Flag | PURGE
Zillow Software Engineer / Developer Algorithm - 0of 0 votes
AnswersFind the number of trailing zeros in n! where n >= 5.
- oxygen August 01, 2007| Report Duplicate | Flag | PURGE
Zillow Software Engineer / Developer Algorithm - 0of 0 votes
AnswersGiven an array A, how would you create an array B where for each i from 0 to n,
- darshan June 16, 2007
b[i] = a[0] * a[1] * ... * a[n-1] /a[i]
You should do this in O(n) time without using division.
As an example, if A = {1,2,3,4}, B should be (24,12,8,6).| Report Duplicate | Flag | PURGE
Zillow Software Engineer / Developer Algorithm - 0of 0 votes
AnswersYou are given an array of integers and a sum. Find all pairs of integers that equal that sum. Assume you have some sort of data structures that will be able to store the pairs. Write an algorithm to find all these pairs.
- eww February 14, 2007
Try to think of the non-trivial solutions| Report Duplicate | Flag | PURGE
Zillow Microsoft Software Engineer / Developer Algorithm - 0of 0 votes
AnswersHow would you discover a memory leak in a software product that contains thousands of lines? I said build a reference table for dynamically allocated variables, similar to one java does, and he seemed OK with that.
- Oz. October 23, 2006| Report Duplicate | Flag | PURGE
Zillow Software Engineer / Developer Computer Architecture & Low Level