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

SDE - Intern

Housing.com
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Data Structures, Algorithms, OS, DBMS, OOPS
Tip
Tip

Tip 1 : Do much practise of DSA and Algorithm (Min 500 ques on leetcode). 
Tip 2 : Only Write in the resume that is 100% correct. 
Tip 3 : Do know about the deep of your project
Tip 4 : Do atleast 2 projects

Application process
Where: Linkedin
Eligibility: No criteria (Good resume)
Resume Tip
Resume tip

Tip 1 : Write about your projects deeply with GitHub link or live link
Tip 2 : Only write things that is correct 
Tip 3 : No need to write the hobby or clubs things

Interview rounds

01
Round
Medium
Face to Face
Duration60 minutes
Interview date6 Jan 2021
Coding problem2

1 hr timing
Platform - Google Meet
Code Platform - Google docs
2 ques

1. Find Minimum in Rotated Sorted Array

Moderate
10m average time
90% success
0/80
Asked in companies
OlaAmazonMorgan Stanley

You are given an array 'arr' of size 'n' having unique elements that has been sorted in ascending order and rotated between 1 and 'n' times which is unknown.


The rotation involves shifting every element to the right, with the last element moving to the first position. For example, if 'arr' = [1, 2, 3, 4] was rotated one time, it would become [4, 1, 2, 3].


Your task is to find the minimum number in this array.


Note :
All the elements in the array are distinct. 


Example :
Input: arr = [3,4,5,1,2]

Output: 1

Explanation: The original array was [1,2,3,4,5] and it was rotated 3 times.


Problem approach

1st sol -> Brute force . Tell the time and space complexity
2nd sol -> Sorting method
3rd sol -> Binary search Method -> o(log(n)) [Interviewer became happy ]

Try solving now

2. Group Anagrams Together

Moderate
0/80
Asked in companies
Dell TechnologiesPayPalArcesium

You have been given an array/list of strings 'STR_LIST'. You are supposed to return the strings as groups of anagrams such that strings belonging to a particular group are anagrams of one another.

Note :
An Anagram is a word or phrase formed by rearranging the letters of a different word or phrase. We can generalize this in string processing by saying that an anagram of a string is another string with the same quantity of each character in it, in any order.
Example:
{ ā€œabcā€, ā€œgedā€, ā€œdgeā€, ā€œbacā€ } 
In the above example the array should be divided into 2 groups. The first group consists of { ā€œabcā€, ā€œbacā€ } and the second group consists of { ā€œgedā€, ā€œdgeā€ }.
Problem approach

Many solutions to this problem
1. Brute force -> use of Sorting and Map in C++ 
2. Complexity is not too good
3. Now use the unordered_map and without sorting
4. Write full code on google docs

Try solving now
02
Round
Medium
Face to Face
Duration60 minutes
Interview date20 Jan 2022
Coding problem2

Duration - 1 hour
Platform - Google Meet
Code Platform - Google docs

Number of Questions - 2

1. Jump Game

Moderate
15m average time
85% success
0/80
Asked in companies
Deutsche BankGoldman SachsAmazon

You have been given an array 'ARR' of ā€˜N’ integers. You have to return the minimum number of jumps needed to reach the last index of the array i.e ā€˜N - 1’.


From index ā€˜i’, we can jump to an index ā€˜i + k’ such that 1<= ā€˜k’ <= ARR[i] .


'ARR[i]' represents the maximum distance you can jump from the current index.


If it is not possible to reach the last index, return -1.


Note:
Consider 0-based indexing.
Example:
Consider the array 1, 2, 3, 4, 5, 6 
We can Jump from index 0 to index 1
Then we jump from index 1 to index 2
Then finally make a jump of 3 to reach index N-1

There is also another path where
We can Jump from index 0 to index 1
Then we jump from index 1 to index 3
Then finally make a jump of 2 to reach index N-1

So multiple paths may exist but we need to return the minimum number of jumps in a path to end which here is 3.
Try solving now

2. Operating System Question

What is the difference between process and program?
What is a bootstrap program in OS?
What is paging ?
What is thrashing in OS?
What is the difference between multitasking and multiprocessing OS?
 

Problem approach

Tip 1 : Core subjects are also important as DSA.
Tip 2 : Please solve Top 100 SQL questions on CodeStudio.
 

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
3 rounds | 8 problems
Interviewed by Housing.com
1509 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 2 problems
Interviewed by Housing.com
1359 views
1 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15605 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
15499 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
10216 views
2 comments
0 upvotes