Housing.com interview experience Real time questions & tips from candidates to crack your interview

Software Engineer

Housing.com
upvote
share-icon
3 rounds | 8 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 4 months
Topics: Node JS, Javascript, CSS, Angular JS, Puzzles
Tip
Tip

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application process
Where: Campus
Eligibility: Above 7 CGPA
Resume Tip
Resume tip

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Interview rounds

01
Round
Easy
Face to Face
Duration60 minutes
Interview date10 Jan 2015
Coding problem4

This was a technical round with questions on CSS and Node js.
Tip : Have a basic knowledge about : SASS,Susy,Jade,npm,grunt,gulp,yeoman,LibSASS

1. CSS Question

What are the different attributes for CSS position property?

Problem approach

The CSS position property has 4 possible attributes: Static, Relative, Absolute and Fixed.
Static : The default or 'natural' position of block elements on the page. 
Relative : Relative to the placement of the element within the flow of the document.
Absolute : Removes the element from the flow of content and allows it to be positioned in relation to the HTML document.
Fixed : Removes elements from the flow of the HTML and allows them to be positioned anywhere.

2. Technical Question

List out the Data Types that SassScript supports?

Problem approach

SassScript supports seven main data types

Numbers ( eg; 1,5 ,10px)
Strings of texts ( g., “foo”, ‘bar’, etc.)
Colors (blue, #04a3f9)
Booleans (true or false)
Nulls (e.g; null)
List of values, separated by space or commas (g., 1.5em, Arial, Helvetica etc.)
Maps from one value to another (g., ( key 1: value1, key 2: Value 2))

3. Technical Question

What are Grunt modules/plugins?

Problem approach

Grunt modules are distributed through Node’s NPM directory. Normally, they are prefixed with grunt- and official grunt plugins are prefixed with grunt-contrib.

4. Technical Question

Difference between Sockets and Ajax

Problem approach

1. The job of web sockets is that it enables client-side JavaScript to open a persistent connection to a server. When web sockets are used, data can be exchanged in the form of a fast message due to this established connection. On the other hand, Ajax enables client-side JavaScript application to make a request to access different server-side resources.
2. Secondly, Ajax can send calls only through the string data type. This creates an overhead of casting all other data types to a string. This is difficult when Booleans come into the picture. Web sockets can send any data type that the JavaScript browser is making use of. This means that Booleans do not need any more casting on the server.

02
Round
Easy
Face to Face
Duration60 minutes
Interview date10 Jan 2015
Coding problem2

This was a technical round with questions on Java script, Web Fundamentals etc.
Tip : Have knowledge about Closures,Prototypes,Function/variable hoisting,prototypal inheritance,modular pattern,JSONP,this etc

1. Technical Question

How does the server work?

Problem approach

The web browser requests a specific web page – looking for the correct IP address associated with that domain.
The web browser requests a full URL for the site it wants to display – sending this information over to the server.
The web server finds and assembles all the information needed to display the site – including things like ads, dynamic elements, content and more. The server then sends this complete package of information back to the web browser as a response.
The web browser receives this complete page and displays it for the user.

2. Technical Question

Difference between function expression and function declaration

Problem approach

1. A function declaration must have a function name. A function Expression is similar to a function declaration without the function name.
2. Function declaration does not require a variable assignment. Function expressions can be stored in a variable assignment.
3.Function declarations are executed before any other code. Function expressions load and execute only when the program interpreter reaches the line of code.
4. The function in function declaration can be accessed before and after the function definition. The function in function expression can be accessed only after the function definition.

03
Round
Easy
Face to Face
Duration30 minutes
Interview date10 Jan 2015
Coding problem2

This was a puzzle round. 2 puzzles were given to solve .

1. Puzzle

Bag of Coins

Problem approach

There is only one bag with forgeries. Ishita can use a simple approach to locate that bag. She must take one coin from the first bag, two coins from the second bag, three coins from the third bag, and ten coins from the tenth bag. She should now just add the weights of all the coins she has chosen.
If there are no forgeries, the total weight should be 55 grams (1+2+3+... +10). If the total weight is 55.3, she can safely deduce that the third bag contains forgeries. If the total weight is (55.n), then the nth bag clearly contains forgeries.

2. Puzzle

Josephus problem

Problem approach

Let f(n,k) denote the position of the survivor. After the kth person is killed, we're left with a circle of n-1, and we start the next count with the person whose number in the original problem was (k mod n)+1. The position of the survivor in the remaining circle would be f(n-1,k), if we start counting at 1; shifting this to account for the fact that we're starting at (k mod n)+1 yields the recurrence
f(n, k) = ((f(n-1, k) + k - 1) mod n) + 1, 
f(1, k) = 1

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
Frontend Engineer
3 rounds | 8 problems
Interviewed by Housing.com
1436 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 5 problems
Interviewed by Housing.com
1361 views
0 comments
0 upvotes
company logo
Software Engineer
4 rounds | 12 problems
Interviewed by Housing.com
1469 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Housing.com
1307 views
1 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7976 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
10148 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4448 views
1 comments
0 upvotes