Add office photos
Housing.com logo
Employer?
Claim Account for FREE

Housing.com

3.7
based on 547 Reviews
Video summary
Filter interviews by
Designation
Fresher
Clear (1)

10+ Housing.com Interview Questions and Answers for Freshers

Updated 5 Feb 2024
Popular Designations

Q1. Given two sides of a river having the same cities labeled in characters. Bridges are to be drawn from one side to another that can connect the same labels but the bridges shudnt cross each other. Find the max n...

read more
Ans.

The maximum number of bridges that can be connected between two sides of a river without crossing each other.

  • This is a dynamic programming problem.

  • Create a 2D array to store the maximum number of bridges that can be connected at each position.

  • Initialize the first row and column of the array with 0.

  • Iterate through the sides of the river and compare the labels.

  • If the labels match, update the value in the array by adding 1 to the diagonal element.

  • If the labels don't match, take ...read more

Add your answer
right arrow

Q2. Given a set of n steps. A person can climb one or two steps at a time. Find the number of ways in which one can reach the nth step. (Easy stuff.. I probably wasn't doing good by this time)

Ans.

The number of ways to reach the nth step using 1 or 2 steps at a time.

  • Use dynamic programming to solve this problem

  • Create an array to store the number of ways to reach each step

  • Initialize the first two elements of the array as 1, since there is only one way to reach the first and second steps

  • For each subsequent step, the number of ways to reach it is the sum of the number of ways to reach the previous two steps

  • Return the value at the nth index of the array

Add your answer
right arrow

Q3. Make a set of all nodes that can occur in any path from a source to a destination in both directed as well as undirected graph. Note that a node can be visited any number of times not necessarily only once.

Ans.

The set of all nodes that can occur in any path from a source to a destination in both directed and undirected graphs.

  • Perform a depth-first search (DFS) or breadth-first search (BFS) from the source node to the destination node.

  • During the search, keep track of all visited nodes.

  • Add each visited node to the set of nodes that can occur in any path.

  • Repeat the search for both directed and undirected graphs.

  • The resulting set will contain all nodes that can occur in any path from t...read more

Add your answer
right arrow

Q4. Given many pairs intervals with their start and end. Find the maximum interval which intersects the maximum number of intervals. Look for corner cases again!

Ans.

Find the maximum interval that intersects the maximum number of intervals.

  • Sort the intervals based on their start times.

  • Iterate through the sorted intervals and keep track of the current interval with the maximum number of intersections.

  • Update the maximum interval whenever a new interval intersects more intervals than the current maximum interval.

Add your answer
right arrow
Discover Housing.com interview dos and don'ts from real experiences

Q5. Given two sorted arrays find of size n and m. The n sized array has m spaces empty at the end. Code to merge these to arrays in single pass O(n+m).

Ans.

Merge two sorted arrays with empty spaces at the end in a single pass.

  • Initialize two pointers at the end of each array

  • Compare the elements at the pointers and place the larger element at the end of the merged array

  • Decrement the pointer of the array from which the larger element was taken

  • Repeat until all elements are merged

Add your answer
right arrow

Q6. Given a binary tree. Code to have each node point to the next node in the same level. Last element in the level must point to NULL

Ans.

The code should traverse the binary tree level by level and update the next pointers accordingly.

  • Use a queue to perform level order traversal of the binary tree.

  • For each node, update its next pointer to point to the next node in the queue.

  • If the current node is the last node in the level, update its next pointer to NULL.

Add your answer
right arrow
Are these interview questions helpful?

Q7. Implement a ctlr+f (find) functionality in a file. Make a data structure for this implementation

Ans.

Implement a ctlr+f (find) functionality in a file using a data structure.

  • Create a data structure to store the file content, such as an array of strings.

  • Implement a function that takes a search query and returns the matching lines from the file.

  • Use string matching algorithms like Knuth-Morris-Pratt or Boyer-Moore for efficient searching.

  • Consider optimizing the data structure for faster search operations, like using a trie or a hash table.

Add your answer
right arrow

Q8. How do you think does the rental real estate work in India

Ans.

Rental real estate in India is a thriving market with high demand and various factors influencing its functioning.

  • Rental real estate in India is driven by factors such as location, property type, and market demand.

  • The rental market in India is highly competitive, especially in major cities like Mumbai, Delhi, and Bangalore.

  • Property owners can earn rental income by leasing out residential or commercial properties.

  • Rent agreements in India typically involve a fixed term, securit...read more

View 3 more answers
right arrow
Share interview questions and help millions of jobseekers 🌟
man with laptop

Q9. Case Study 1: How many women travel in a Delhi metro line on a Saturday

Ans.

The exact number of women traveling in a Delhi metro line on a Saturday is not available.

  • The Delhi metro authorities do not provide real-time data on the number of women passengers.

  • The number of women traveling on a Saturday can vary depending on various factors such as time of day, specific metro line, and events happening in the city.

  • To determine the exact number, a survey or data collection process would be required.

  • The Delhi metro authorities may have historical data on t...read more

Add your answer
right arrow

Q10. Case Study 2: How many Nike shoes get sold in India during sale season

Ans.

The number of Nike shoes sold in India during sale season is not available.

  • Data on the number of Nike shoes sold in India during sale season is not provided.

  • The exact number of Nike shoes sold during sale season can vary each year.

  • Sales data for Nike shoes in India during sale season is not publicly available.

Add your answer
right arrow

Q11. How do you think financial markets impact real estate

Ans.

Financial markets have a significant impact on real estate by influencing interest rates, investment flows, and property values.

  • Interest rates: Changes in interest rates affect mortgage rates, making it more or less affordable for individuals to buy homes.

  • Investment flows: Investors often allocate funds between financial markets and real estate, impacting property prices and demand.

  • Property values: Economic conditions and investor sentiment in financial markets can influence ...read more

Add your answer
right arrow

More about working at Housing.com

Back
Awards Leaf
AmbitionBox Logo
#8 Best Tech Startup - 2022
Awards Leaf
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at Housing.com for Freshers

based on 1 interviews
Interview experience
3.0
Average
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

Maruti Suzuki Logo
4.2
 • 370 Interview Questions
Lupin Logo
4.2
 • 239 Interview Questions
Aarti Industries Logo
4.1
 • 225 Interview Questions
Thermax Limited Logo
4.1
 • 222 Interview Questions
Hyundai Motor India Limited Logo
4.3
 • 138 Interview Questions
Fujitsu Logo
3.8
 • 135 Interview Questions
View all
Recently Viewed
SALARIES
Collins Aerospace
SALARIES
Jaideep Ispat & Alloys
DESIGNATION
INTERVIEWS
Senco Gold
No Interviews
JOBS
B. G. Shirke Construction Technology
No Jobs
INTERVIEWS
Vaibhav Global
No Interviews
INTERVIEWS
Integra Software Services
10 top interview questions
INTERVIEWS
Senco Gold
No Interviews
SALARIES
Marine Electricals
INTERVIEWS
Sourcebits Technologies
5.6k top interview questions
Top Housing.com Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter