Filter interviews by
Find all pairs (i, j) in an array where ai > aj and i < j using an efficient nlogn approach.
Use a modified merge sort to count inversions while sorting the array.
During the merge step, count how many elements from the right half are less than the current element from the left half.
Example: For array [3, 1, 2], pairs are (3, 1), (3, 2), (2, 1).
The algorithm runs in O(n log n) time complexity.
Implementing an auto-suggest feature for search engines to enhance user experience by predicting search queries.
Use a trie data structure for efficient prefix searching.
Store a list of common queries and their frequencies to prioritize suggestions.
Implement a backend service that queries the database for suggestions based on user input.
Consider using machine learning models to improve suggestion accuracy over time...
Create a linked list from a number by storing each digit as a node in sequence.
Define a Node class with properties for value and next node.
Convert the number to a string to iterate through each digit.
Create the head of the linked list with the first digit.
Iterate through the remaining digits, creating new nodes and linking them.
Example: For number 12345, nodes will be created as 1 -> 2 -> 3 -> 4 -> 5.
Position property in CSS
position: static is the default value
position: relative is relative to its normal position
position: absolute is relative to the nearest positioned ancestor
position: fixed is relative to the viewport
A server is a computer program that provides services to other computer programs or clients over a network.
A server listens for incoming requests from clients
It processes the requests and sends back the response
Servers can be dedicated or shared
Examples include web servers, email servers, and file servers
Node is a popular server-side JavaScript runtime environment.
Node is fast and efficient for handling I/O operations.
It has a large and active community with a vast number of modules available.
Node allows for easy scalability and can handle a large number of concurrent connections.
It is cross-platform and can run on various operating systems.
Node is commonly used for building real-time applications, APIs, and micro...
Good is subjective and can vary based on context. Bad can be improved by identifying and addressing the root cause.
Good can be good because it meets a specific need or requirement
Good can also be good because it exceeds expectations or provides additional benefits
Bad can be improved by identifying the root cause of the issue
Once the root cause is identified, a plan can be put in place to address it
Regular evaluati...
Good products solve problems and provide value, while bad products are poorly designed and fail to meet user needs.
Good products are intuitive and easy to use
Good products have a clear value proposition
Good products are reliable and perform well
Bad products have confusing interfaces and are difficult to navigate
Bad products lack key features or have unnecessary ones
Bad products are prone to bugs and crashes
Example...
Sockets and Ajax are both used for real-time communication, but sockets are more efficient for continuous data transfer.
Sockets provide a persistent connection between client and server, while Ajax uses HTTP requests.
Sockets are faster and more efficient for real-time data transfer.
Ajax is better suited for occasional data updates or small amounts of data.
Examples of socket-based applications include chat rooms an...
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 req...
Use binary search algorithm with slight modifications to handle rotated sorted array efficiently.
Find the pivot point where the array is rotated.
Determine which half of the array the target value lies in based on the pivot point.
Perform binary search on the appropriate half of the array.
I applied via Campus Placement
Aptitude plus 2 basic DSA
Design a calculator using OOP principles, focusing on classes, methods, and encapsulation.
Create a base class 'Calculator' with basic operations: add, subtract, multiply, divide.
Use inheritance to create specialized calculators, e.g., 'ScientificCalculator' for advanced functions like sin, cos.
Implement encapsulation by keeping internal state private and providing public methods for interaction.
Consider using interface...
Design a heap tree data structure
A heap is a complete binary tree where the value of each node is greater than or equal to the values of its children
There are two types of heaps: min heap (parent node is smaller than children) and max heap (parent node is larger than children)
Heap can be implemented using arrays where parent node at index i has children at indices 2i+1 and 2i+2
Strong references prevent objects from being deallocated, while weak references allow for deallocation, avoiding memory leaks.
Strong Reference: Keeps an object in memory; e.g., 'let strongRef = someObject'.
Weak Reference: Does not keep an object in memory; e.g., 'weak var weakRef = someObject'.
Use Cases: Strong references are used for ownership, while weak references are used to avoid retain cycles.
Example of Retain Cy...
Implement a generics method map in Java
Create a generic method that takes an array and a function as parameters
Use a lambda expression to apply the function to each element in the array
Return a new array with the transformed elements
Duration 1 hr
1. reverse of link list
2. find link list is circular or not
Inheritance with prototypes allows objects to inherit properties and methods from other objects in JavaScript.
Create a constructor function for the parent object
Add properties and methods to the parent object's prototype
Create a constructor function for the child object
Set the child object's prototype to be an instance of the parent object
Closure in JS is when a function is able to remember and access its lexical scope even when it is executed outside that scope.
Closure allows a function to access variables from its outer function even after the outer function has finished executing.
Functions in JavaScript form closures, which means they 'remember' the variables in the scope where they were created.
Closures are commonly used in event handlers, callbacks...
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
I applied via Referral and was interviewed in Jun 2024. There were 3 interview rounds.
Asked to prepare a PPT on Impact of Digital marketing on Real estate
Experienced Accounts Manager with a strong background in financial reporting and team leadership, dedicated to driving efficiency and accuracy.
Over 7 years of experience in accounts management, overseeing financial operations for a mid-sized company.
Successfully implemented a new accounting software that reduced reporting time by 30%.
Led a team of 5 accountants, fostering a collaborative environment that improved team ...
The candidate is being asked about their last drawn salary package.
Be honest and provide the exact figure of your last drawn CTC.
Explain any additional benefits or perks included in the CTC.
Mention any bonuses or incentives received on top of the CTC.
Discuss any salary negotiations or increments during your tenure.
Avoid exaggerating or understating your last CTC.
I'm seeking new challenges and opportunities for growth that my current organization cannot provide at this time.
Desire for professional growth: I want to expand my skills in a more dynamic environment.
Limited advancement opportunities: My current role has no clear path for promotion.
Seeking a better cultural fit: I'm looking for a workplace that aligns more closely with my values.
Interest in new challenges: I'm eager ...
I applied via Naukri.com and was interviewed in Mar 2024. There were 2 interview rounds.
I applied via Referral and was interviewed in Oct 2023. There were 2 interview rounds.
Top trending discussions
Some of the top questions asked at the Housing.com interview -
The duration of Housing.com interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 43 interview experiences
Difficulty level
Duration
based on 611 reviews
Rating in categories
Hyderabad / Secunderabad
2-7 Yrs
₹ 5-8.5 LPA
Senior Accounts Manager
384
salaries
| ₹5.5 L/yr - ₹12.5 L/yr |
Accounts Manager
224
salaries
| ₹3.5 L/yr - ₹9 L/yr |
Team Manager
75
salaries
| ₹8.6 L/yr - ₹16 L/yr |
Software Development Engineer
68
salaries
| ₹10 L/yr - ₹29.2 L/yr |
Senior Manager
45
salaries
| ₹5.3 L/yr - ₹18.2 L/yr |
MagicBricks
NoBroker
Udaan
Swiggy