Filter interviews by
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
1. two sum
2. Easy DP problem
1. Easy LL problem
2. Tree
Seeking new challenges and growth opportunities
Looking for a new challenge to further develop my skills
Interested in exploring new technologies and projects
Seeking opportunities for career advancement and growth
Rotated sorted array problem involves finding a target element in a rotated sorted array.
Use binary search to find the pivot point where the array is rotated.
Divide the array into two subarrays and perform binary search on the appropriate subarray.
Handle cases where the target element is at the pivot point or not present in the array.
Housing.com interview questions for designations
I was interviewed before Feb 2021.
Round duration - 60 minutes
Round difficulty - Medium
Technical round with questions based on DSA.
Given a binary tree with integer nodes, your task is to determine the maximum level sum among all the levels in the binary tree. The sum at any level is the sum of all ...
This question can be solved by doing a level order traversal of the tree. While doing the traversal, process nodes of different levels separately. For every level being processed, calculate the sum of nodes in each level and keep track of the maximum sum. At the end, return the maximum sum.
Time Complexity: O(N)
Auxiliary Space: O(w) where w is the maximum width of the tree
Find the maximum possible sum of a non-empty subarray from a given circular array/list ARR
containing N
integers.
The array is circular, mean...
A modified Kadane’s algorithm can be used for this problem. Using kadane’s, find the minimum contiguous subarray sum and the maximum contiguous subarray sum in the array and then check for the maximum value between the max_value and the value left after subtracting min_value from the total sum.
Example 1:-
A = [1, -2, 3, -2]
Max_value = 3 (This means max subarray sum for normal array)
Min_value = -2 (This means min s...
Given two integers, NUM1
and NUM2
, as strings, your task is to compute and return the sum of these numbers.
The first line contains an integer T
, the number ...
Since the numbers are large, we store the numbers in string type. To add the two numbers, basic school mathematics can be applied.
Traverse both the strings from end, one by one add digits and keep track of carry.
Steps :
1) Reverse both strings.
2) Keep adding digits one by one from 0’th index (in reversed strings) to end of smaller string, append the sum % 10 to end of result and keep track of car...
Round duration - 60 minutes
Round difficulty - Easy
Briefly discussed about projects in resume and questions were completely related to projects mentioned. And then he asked questions based on DSA.
Given a string S
of length L
, determine the length of the longest substring that contains no repeating characters.
"abac...
The brute force approach would be to consider all substrings one by one and check for each substring whether it contains all unique characters or not. There will be n*(n+1)/2 substrings. Time complexity of this solution would be O(n^3).
For an efficient solution, a hashmap can be used. Maintain a hashmap which stores the characters in string as keys and their indexes(positions) as values, and keep two pointers which def...
Given a non-empty string sentence
containing no spaces and a dictionary of non-empty strings words
, your task is to construct and return all possible meaningful sen...
Hashing can be used to solve this question. Keep the count of words of the dictionary in a hash map. Iterate the string and for each word, check if is present in the map. If present, then decrease the count of that word in the map. If it is not present, then it is not possible to make the given string from the given dictionary of words.
Round duration - 60 minutes
Round difficulty - Easy
Technical round where the interviewer asked me 2 DSA problems.
Given a string STR
consisting of words separated by spaces, your task is to replace all spaces between words with the characters "@40".
The first line contains an integ...
One approach could be to calculate the number of spaces in the given string. Calculate the new length of the string as original length + 2*(number of spaces). Create a new string of the length calculated. Traverse the original string and keep appending all characters except spaces in the new string. As soon as a space is encountered, append '%20' in the string. Return the new string created.
Given an array/list representing boards, where each element denotes the length of a board, and a number ‘K’ of available painters, determine the minimum time required...
Firstly, we calculate the sum of all the elements in the array. If the sum is odd (sum%2!=0), then we cannot divide the array elements into 2 subsets with equal sum, but if the sum is even, we might be able to divide the array into 2 equal subsets. If the sum is even, we check if there is a subset with the sum of elements = sum/2. If it exists, that means the other subset also has elements with sum = sum/2, so we retur...
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.
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.
Get interview-ready with Top Housing.com Interview Questions
The function decodes a URL-encoded string by replacing specific characters with their corresponding symbols.
Iterate through each character in the input string
If the character is '%', check the next two characters to determine the replacement symbol
Replace the '%XX' sequence with the corresponding symbol
Continue until all occurrences of '%XX' are replaced
Check if an array can be partitioned into two subarrays with equal sum.
Iterate through the array and calculate the total sum of all elements.
If the sum is odd, return false as it cannot be divided into two equal parts.
If the sum is even, try to find a subset with sum equal to half of the total sum.
Use dynamic programming or backtracking to find the subset sum.
The maximum contiguous circular sum in an array is the maximum sum that can be obtained by wrapping the array around in a circular manner.
To find the maximum contiguous circular sum, we can use Kadane's algorithm twice.
First, we find the maximum sum using Kadane's algorithm for the non-circular array.
Then, we find the maximum sum using Kadane's algorithm for the circular array by subtracting the minimum sum subarray fr...
Given a binary tree, print sum of each level
Use a breadth-first search (BFS) algorithm to traverse the tree level by level
Keep track of the sum of each level using a separate variable for each level
Print the sum of each level after traversing the entire tree
It is not possible to add two integers that cannot be stored even in long long int.
The maximum value that can be stored in long long int is 9,223,372,036,854,775,807.
Any two integers whose sum exceeds this value cannot be stored in long long int.
In such cases, a different data type or approach is required to handle the large numbers.
Find the length of the longest substring without any repeating characters.
Use a sliding window approach to iterate through the string.
Keep track of the characters seen so far using a set.
Update the maximum length of the substring whenever a repeating character is encountered.
The exam duration is one and a half hours.
The total exam time is one and a half hours.
It encompasses all topics related to full stack development.
In two years, I see myself as a senior software developer leading a team on innovative projects.
Advancing to a senior software developer role
Leading a team on new and innovative projects
Continuing to enhance my technical skills through ongoing learning and training
I applied via Naukri.com and was interviewed in Oct 2024. There were 4 interview rounds.
Easy level to Medium level
2 Easy questions of DSA
Some of the top questions asked at the Housing.com Software Developer interview -
based on 4 interviews
1 Interview rounds
based on 4 reviews
Rating in categories
Senior Accounts Manager
400
salaries
| ₹4.2 L/yr - ₹13 L/yr |
Accounts Manager
231
salaries
| ₹3.5 L/yr - ₹8.8 L/yr |
Team Manager
73
salaries
| ₹5 L/yr - ₹16.6 L/yr |
Software Development Engineer
63
salaries
| ₹10 L/yr - ₹28.5 L/yr |
Key Account Manager
46
salaries
| ₹4.2 L/yr - ₹12 L/yr |
MagicBricks
NoBroker
PropTiger.com
99acres