24 questions · from 2 interviews
Livspace interview questions
Every question candidates reported from their Livspace interviews, most frequently asked first. Each links to the write-up it came from, so you can see the round and how it went.
Livspace coding and DSA questions
- 01
Process User Activities Data
Given an array of user activities, group the data by userId , sum their duration , remove duplicate equipment items, and sort the equipment array lexicographically. Input: const activities = [ { user: 8, duration: 50, equipment: ['study'] }, { user: 7,…
Medium · From Livspace | SDE 2 | Frontend | Interview experience
- 02
Event Emitter
Implement an Event Emitter class with subscribe and emit methods, allowing multiple callbacks for a given event and ensuring all subscribed callbacks are executed when an event is emitted. The subscribe method should return an object with an unsubscribe…
Medium · From Livspace | SDE 2 | Frontend | Interview experience
- 03
Interactive Grid with Click Order Reset
Design an interactive grid where n x n cells are dynamically generated. Initially, all cells should have the same background color (e.g., blue). When a user clicks on a cell, it should immediately change to a different color (e.g., red) and its click order…
Hard · From Livspace | SDE 2 | Frontend | Interview experience
- 04
House Robber
Given an array of integers (positive/negative/zero), find the maximum sum of a subset such that no two elements are adjacent.
Medium · From Livspace | SDE1 | Bangalore | April 2022
- 05
Validate Binary Search Tree
Given the root of a binary tree, determine if it is a valid binary search tree (BST).
Medium · From Livspace | SDE1 | Bangalore | April 2022
- 06
Diameter of Binary Tree
Given the root of a binary tree, return the length of the diameter of the tree.
Easy · From Livspace | SDE1 | Bangalore | April 2022
- 07
Minimum Number of Platforms
Given the arrival and departure times of all trains that reach a railway station, the task is to find the minimum number of platforms required for the railway station so that no train waits. We are given two arrays that represent the arrival and departure…
Medium · From Livspace | SDE1 | Bangalore | April 2022
- 08
Max Area of Island
You are given an m x n binary matrix grid. An island is a group of '1's (representing land) connected 4-directionally (horizontal or vertical). You may assume all four edges of the grid are surrounded by water. The area of an island is the number of '1's in…
Medium · From Livspace | SDE1 | Bangalore | April 2022
- 09
Word Break
Given a string s and a dictionary of strings wordDict, return true if s can be segmented into a space-separated sequence of one or more dictionary words. Note that the same word in the dictionary may be reused multiple times in the segmentation.
Medium · From Livspace | SDE1 | Bangalore | April 2022
Livspace system design questions
- 01
Design a Restaurant Ordering System
Design a complete restaurant ordering system, considering various aspects such as menu management, order placement, kitchen display system, payment processing, user roles (customer, staff), and scaling considerations.
Hard · From Livspace | SDE 2 | Frontend | Interview experience
- 02
Design an Elevator System
Design an elevator system. Also, optimize which elevator will come to the floor from which a request is made.
Livspace behavioural and HR questions
- 01
Why Livspace?
Why do you want to join Livspace?
- 02
Conflict with a Senior
Tell us about a time you had a conflict with a senior colleague and how you handled it.
- 03
Passion for Frontend Development
Explain your motivation for becoming a software developer, and specifically why you chose frontend development.
- 04
Explain a Project
Explain one of your projects mentioned in your resume.
- 05
Explain a Specific Resume Project
Explain one specific project mentioned in your resume.
- 06
Discuss Projects, Challenges, and Goals
Discuss projects from resume, challenges faced and how they were tackled, and career goals.
Livspace other questions
- 01
Difference between async and defer
Explain the differences between the 'async' and 'defer' attributes for script tags in HTML, and when you would use each.
- 02
Persisting Form Data with Session Storage
How would you use session storage to persist form data even after a page refresh?
- 03
Next.js vs. React 19 SSR
Discuss the reasons why Next.js might still be needed or preferred, even with React 19 introducing Server-Side Rendering (SSR) capabilities.
- 04
- 05
- 06
Spring Boot: @Bean vs @Component
What is the difference between @Bean and @Component annotations in Spring Boot?
- 07
Java: Pass by Reference vs Pass by Value
Is Java pass by reference or pass by value?
Livspace interview questions FAQ
What questions are asked in Livspace interviews?
Candidates reported 24 distinct questions across 2 Livspace interviews. 9 coding and DSA questions, 2 system design questions, 6 behavioural and HR questions, 7 other questions.
How difficult are Livspace interview questions?
Of the questions candidates rated, 10% were easy, 70% medium and 20% hard.