Upload Button Icon Add office photos

Filter interviews by

Lifesight Software Developer Interview Questions and Answers

Updated 14 Sep 2021

6 Interview questions

A Software Developer was asked
Q. 

Sliding Window Maximum Problem Statement

You are given an array/list of integers with length 'N'. A sliding window of size 'K' moves from the start to the end of the array. For each of the 'N'-'K'+1 possib...

Ans. 

Sliding window maximum problem where we find maximum element in each window of size K.

  • Use a deque to store indices of elements in decreasing order within the window.

  • Pop elements from the deque that are out of the current window.

  • Append the maximum element from the front of the deque to the result for each window.

A Software Developer was asked
Q. 

Combination Sum Problem Statement

Given an array of distinct positive integers ARR and a non-negative integer 'B', find all unique combinations in the array where the sum is equal to 'B'. Numbers can be ch...

Ans. 

Find all unique combinations in an array where the sum is equal to a given target sum, with elements in non-decreasing order.

  • Use backtracking to generate all possible combinations of elements in the array that sum up to the target sum.

  • Sort the array to ensure elements in each combination are in non-decreasing order.

  • Handle duplicate elements in the array to avoid duplicate combinations.

  • Consider edge cases like empt...

Software Developer Interview Questions Asked at Other Companies

asked in Amazon
Q1. Maximum Subarray Sum Problem Statement Given an array of integers ... read more
asked in Rakuten
Q2. Merge Two Sorted Arrays Problem Statement Given two sorted intege ... read more
asked in Amazon
Q3. Minimum Number of Platforms Needed Problem Statement You are give ... read more
asked in Cognizant
Q4. Nth Fibonacci Number Problem Statement Calculate the Nth term in ... read more
asked in PhonePe
Q5. Form a Triangle Problem Statement You are given an array of integ ... read more
A Software Developer was asked
Q. 

Longest Substring with K Distinct Characters

You are provided with a string S of length N, consisting of lowercase English alphabet letters, and a positive integer K.

Your task is to determine the maximum...

Ans. 

Find the longest substring with at most K distinct characters in a given string.

  • Use a sliding window approach to keep track of the characters and their counts in the substring.

  • Maintain a hashmap to store the characters and their frequencies.

  • Update the window size and characters count as you iterate through the string.

  • Return the maximum length of the substring with at most K distinct characters.

A Software Developer was asked
Q. 

Cycle Detection in Undirected Graph Problem Statement

You are provided with an undirected graph containing 'N' vertices and 'M' edges. The vertices are numbered from 1 to 'N'. Your objective is to determin...

Ans. 

Detect if an undirected graph contains a cycle.

  • Use depth-first search (DFS) to detect cycles in the graph.

  • Maintain a visited array to keep track of visited vertices.

  • If a visited vertex is encountered again during DFS, a cycle exists.

  • Consider disconnected graphs as well.

  • Example: For input N=3, Edges=[[1, 2], [2, 3], [1, 3]], output is Yes.

A Software Developer was asked
Q. 

Validate Binary Search Tree (BST)

You are given a binary tree with 'N' integer nodes. Your task is to determine whether this binary tree is a Binary Search Tree (BST).

BST Definition:

A Binary Search Tre...

Ans. 

Validate if a given binary tree is a Binary Search Tree (BST) or not.

  • Check if the left subtree of a node contains only nodes with data less than the node's data.

  • Check if the right subtree of a node contains only nodes with data greater than the node's data.

  • Recursively check if both the left and right subtrees are also binary search trees.

  • Example: For each node, validate if its left child is less than the node and ...

A Software Developer was asked
Q. 

Covid Vaccination Distribution Problem

As the Government ramps up vaccination drives to combat the second wave of Covid-19, you are tasked with helping plan an effective vaccination schedule. Your goal is ...

Ans. 

Given constraints and rules, find maximum vaccines administered on a specific day during a vaccination drive.

  • Iterate through each test case and calculate the maximum number of vaccines distributed on the specified day.

  • Distribute vaccines evenly across days while maximizing the number on the specified day.

  • Ensure that the sum of vaccines administered does not exceed the maximum allowed.

  • Consider edge cases like when ...

Lifesight Software Developer Interview Experiences

1 interview found

I appeared for an interview in Jan 2021.

Round 1 - Video Call 

(3 Questions)

Round duration - 75 Minutes
Round difficulty - Medium

This round was with SDE-1 
After my introduction , he asked me 3 Questions
 

  • Q1. 

    Validate Binary Search Tree (BST)

    You are given a binary tree with 'N' integer nodes. Your task is to determine whether this binary tree is a Binary Search Tree (BST).

    BST Definition:

    A Binary Search Tr...

  • Ans. 

    Validate if a given binary tree is a Binary Search Tree (BST) or not.

    • Check if the left subtree of a node contains only nodes with data less than the node's data.

    • Check if the right subtree of a node contains only nodes with data greater than the node's data.

    • Recursively check if both the left and right subtrees are also binary search trees.

    • Example: For each node, validate if its left child is less than the node and right...

  • Answered by AI
  • Q2. 

    Longest Substring with K Distinct Characters

    You are provided with a string S of length N, consisting of lowercase English alphabet letters, and a positive integer K.

    Your task is to determine the maximu...

  • Ans. 

    Find the longest substring with at most K distinct characters in a given string.

    • Use a sliding window approach to keep track of the characters and their counts in the substring.

    • Maintain a hashmap to store the characters and their frequencies.

    • Update the window size and characters count as you iterate through the string.

    • Return the maximum length of the substring with at most K distinct characters.

  • Answered by AI
  • Q3. 

    Cycle Detection in Undirected Graph Problem Statement

    You are provided with an undirected graph containing 'N' vertices and 'M' edges. The vertices are numbered from 1 to 'N'. Your objective is to determi...

  • Ans. 

    Detect if an undirected graph contains a cycle.

    • Use depth-first search (DFS) to detect cycles in the graph.

    • Maintain a visited array to keep track of visited vertices.

    • If a visited vertex is encountered again during DFS, a cycle exists.

    • Consider disconnected graphs as well.

    • Example: For input N=3, Edges=[[1, 2], [2, 3], [1, 3]], output is Yes.

  • Answered by AI
Round 2 - Video Call 

(2 Questions)

Round duration - 90 Miinutes
Round difficulty - Medium

This round was with a Senior Data Engineer as this position was a mix of Backend and Big Data.

 

  • Q1. 

    Covid Vaccination Distribution Problem

    As the Government ramps up vaccination drives to combat the second wave of Covid-19, you are tasked with helping plan an effective vaccination schedule. Your goal is...

  • Ans. 

    Given constraints and rules, find maximum vaccines administered on a specific day during a vaccination drive.

    • Iterate through each test case and calculate the maximum number of vaccines distributed on the specified day.

    • Distribute vaccines evenly across days while maximizing the number on the specified day.

    • Ensure that the sum of vaccines administered does not exceed the maximum allowed.

    • Consider edge cases like when the n...

  • Answered by AI
  • Q2. 

    Combination Sum Problem Statement

    Given an array of distinct positive integers ARR and a non-negative integer 'B', find all unique combinations in the array where the sum is equal to 'B'. Numbers can be c...

  • Ans. 

    Find all unique combinations in an array where the sum is equal to a given target sum, with elements in non-decreasing order.

    • Use backtracking to generate all possible combinations of elements in the array that sum up to the target sum.

    • Sort the array to ensure elements in each combination are in non-decreasing order.

    • Handle duplicate elements in the array to avoid duplicate combinations.

    • Consider edge cases like empty arr...

  • Answered by AI
Round 3 - Video Call 

(1 Question)

Round duration - 75 Minutes
Round difficulty - Easy

This round was taken by Engineering Manager
There were 2 sections to this round
Technical and Non Techincal
 

  • Q1. 

    Sliding Window Maximum Problem Statement

    You are given an array/list of integers with length 'N'. A sliding window of size 'K' moves from the start to the end of the array. For each of the 'N'-'K'+1 possi...

  • Ans. 

    Sliding window maximum problem where we find maximum element in each window of size K.

    • Use a deque to store indices of elements in decreasing order within the window.

    • Pop elements from the deque that are out of the current window.

    • Append the maximum element from the front of the deque to the result for each window.

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Guru Gobind Singh Indraprastha University. Eligibility criteria2+ years of Work Experience in the relevant fieldLifesight interview preparation:Topics to prepare for the interview - DataStructures, Algorithms, Problem Solving, Big Data, Distributed Systems, SparkTime required to prepare for the interview - 3 MonthsInterview preparation tips for other job seekers

Tip 1 : Be solid with the basics of Ds, Algo. Good to have end to end projects which are hosted on cloud.
Tip 2 : Its always good to be presentable and have good communications skills
Tip 3 : Be honest, clear in approach and always walkthrough your thought process to the interviewer

Application resume tips for other job seekers

Tip 1 : Mention your projects and experience at the top. Be clear on what was done, a brief on how it was done, language /tech stack involved. If possible try to host and make it accessible. You never know if you can present it with just one click.
Tip 2 : Choose a balance between, white spaces and text, it should be well indented, no grammatical errors.
Tip 3 : It takes less than 2 min to scan a resume. Don't mention things which are irrelevant.

Final outcome of the interviewSelected

Skills evaluated in this interview

Top trending discussions

View All
Interview Tips & Stories
1w
toobluntforu
·
works at
Cvent
Can speak English, can’t deliver in interviews
I feel like I can't speak fluently during interviews. I do know english well and use it daily to communicate, but the moment I'm in an interview, I just get stuck. since it's not my first language, I struggle to express what I actually feel. I know the answer in my head, but I just can’t deliver it properly at that moment. Please guide me
Got a question about Lifesight?
Ask anonymously on communities.

Interview questions from similar companies

I applied via Company Website and was interviewed before Jun 2021. There were 2 interview rounds.

Round 1 - Aptitude Test 

First round was coding as well as aptitude done together went well I guess focusing on codes helps a lot.

Round 2 - Technical 

(1 Question)

  • Q1. 2nd round included tr and mr round went quite enegritic

Interview Preparation Tips

Interview preparation tips for other job seekers - Resume skills matters a lot don't fill resume the technologies you don't even aware of

Software Developer Interview Questions Asked at Other Companies

asked in Amazon
Q1. Maximum Subarray Sum Problem Statement Given an array of integers ... read more
asked in Rakuten
Q2. Merge Two Sorted Arrays Problem Statement Given two sorted intege ... read more
asked in Amazon
Q3. Minimum Number of Platforms Needed Problem Statement You are give ... read more
asked in Cognizant
Q4. Nth Fibonacci Number Problem Statement Calculate the Nth term in ... read more
asked in PhonePe
Q5. Form a Triangle Problem Statement You are given an array of integ ... read more

I applied via Campus Placement and was interviewed in Apr 2020. There was 1 interview round.

Interview Questionnaire 

2 Questions

  • Q1. Are you willing to relocate?
  • Ans. 

    Yes, I am open to relocating for the right opportunity that aligns with my career goals and personal growth.

    • Relocation can provide exposure to new technologies and methodologies.

    • I am excited about the prospect of working in diverse teams and cultures.

    • For example, moving to a tech hub like San Francisco could enhance my career.

    • I understand the challenges of relocating, but I see them as opportunities for growth.

  • Answered by AI
  • Q2. Why should I hire you?
  • Ans. 

    I bring a unique blend of skills, experience, and passion for software development that aligns perfectly with your team's goals.

    • Proven experience in developing scalable applications, such as a recent project where I improved performance by 30%.

    • Strong problem-solving skills demonstrated through my contributions to open-source projects, enhancing functionality and fixing bugs.

    • Excellent teamwork and communication abilitie...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - My technical and Hr interview done at same place. It lasted about 40minutes. The interviewer test both my technical knowledge and communication skills. I tell most of the answer. They check patience level.He stressed on my final year project . Asking about range and specification of compotents which I heve used in my project. Finally ask some HR questions.

I applied via LinkedIn and was interviewed before Jul 2021. There were 2 interview rounds.

Round 1 - Aptitude Test 

Easy logical questions
basic quant

Round 2 - Coding Test 

Easy level coding questions
Counting frequency of alphabets

Interview Preparation Tips

Interview preparation tips for other job seekers - Just go through the basics of javascript
Hoisting

Interview Questionnaire 

1 Question

  • Q1. How to use multiple dispatch in redux?
  • Ans. 

    Multiple dispatch is not a feature of Redux. It can be achieved using middleware or custom logic.

    • Middleware like redux-thunk or redux-saga can be used to dispatch multiple actions based on a single action.

    • Custom logic can be implemented in the reducer to handle multiple actions based on a single action type.

    • For example, a single 'ADD_ITEM' action can trigger multiple actions like 'UPDATE_TOTAL', 'UPDATE_HISTORY', etc.

    • M...

  • Answered by AI

Skills evaluated in this interview

I applied via Campus Placement and was interviewed before Jun 2020. There were 3 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. Simple program
  • Q2. I wrote a simple program in C

Interview Preparation Tips

Interview preparation tips for other job seekers - Be bold and confident

I applied via Naukri.com and was interviewed before Oct 2019. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. What technical challenges have you faced in your work till now and how did you overcome it?
  • Ans. 

    Faced various technical challenges, including system integration and performance optimization, which I successfully navigated through strategic solutions.

    • Integration of legacy systems with modern applications: I utilized APIs and middleware to ensure seamless data flow.

    • Performance bottlenecks in a web application: Implemented caching strategies and optimized database queries, resulting in a 40% speed increase.

    • Debugging...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Be truthful and give detailed explanation of the issues and how it was resolved. Explain the severity of the problem and what blockage it had caused in your daily work. How did you chose a solution and how fast was it implemented.
Are these interview questions helpful?

I applied via Walk-in and was interviewed before Sep 2019. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. 1.Technical Ques(OOPS Concept)and 2. Area of Interest 3. About Company 4. more

Interview Preparation Tips

Interview preparation tips for other job seekers - Hello Folks,
Sharing some tips while facing Interview Assessment or GD Round Assessment.
1. Be Confident always give the answer what they ask for, Never connect your answer with different topic.
2. Always go through Company Portal or wiki about their Operation & Function.
3. Always have positive vibes that whatever yes or No, You will surely gain something.
All the Best..!!

I applied via Naukri.com and was interviewed before Apr 2020. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. Technical questions

Interview Preparation Tips

Interview preparation tips for other job seekers - I have visited interview location on morning 7am DLF block Hyderabad. Buy my interview was taken in evening 6:45pm. That was not an interview test it was a patience test.

Interview Questionnaire 

3 Questions

  • Q1. Tell me something about yourself
  • Ans. 

    I am a passionate software developer with 5 years of experience in developing web applications using various technologies.

    • 5 years of experience in software development

    • Proficient in developing web applications

    • Skilled in using various technologies

    • Passionate about coding and problem-solving

  • Answered by AI
  • Q2. What is the difference between encapsulation and polymorphism?
  • Q3. What do you mean by deadlock in OS?
  • Ans. 

    Deadlock is a situation in which two or more processes are unable to proceed because each is waiting for the other to release a resource.

    • Deadlock occurs when two or more processes are stuck in a circular waiting state.

    • It happens when processes compete for resources and each process holds a resource that another process needs.

    • Four necessary conditions for deadlock are mutual exclusion, hold and wait, no preemption, and ...

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: We were asked to solve a questionnaire containing 25 questions based on logical reasoning and basic mathematics. We went to the test center in their recruitment center where there were many desktops for the candidates to sit and give the test. At the entrance, they checked the letter we got from them to authenticate us.Then they gave us a login ID and password. Exactly when the test started, the portal became active and we were asked to enter the credentials. I completed the test in half the time as it was pretty easy and straightforward.
Tips: Practice simple aptitude questions for greater speed and accuracy.
Duration: 1 hour
Total Questions: 20

Round: Group Discussion
Experience: Ten candidates who were shortlisted from the written test attended the group discussion. The topic given to us was fairly simple and lucky for me, I used to work as an anchor, and being a strong feminist person, I had a lot of valid points to put forward. I was the one to start the discussion, and I felt I was the best speaker there. The topic was something that I follow regularly, yet I came across a few unique points from the other candidates.
Tips: Improve your English speaking skills. Be assertive and speak concisely.
Duration: 15 minutes

Round: HR Interview
Experience: The interview basically revolved around this one question which had a few follow-up questions, such as who all are there in my family, what are my strengths and weaknesses, and why am I fit for this job.
Tips: Be confident and honest about yourself.

Round: Technical Interview
Experience: I tried to be as calm and confident as possible during the whole of the interview

College Name: Guru Nanak Institute of Technology (GNIT)

Skills evaluated in this interview

Tell us how to improve this page.

Lifesight Software Developer Reviews and Ratings

based on 1 review

4.0/5

Rating in categories

4.0

Skill development

4.0

Work-life balance

3.0

Salary

3.0

Job security

3.0

Company culture

4.0

Promotions

3.0

Work satisfaction

Explore 1 Review and Rating
Product Marketing Manager
7 salaries
unlock blur

₹15 L/yr - ₹17 L/yr

Associate Product Manager
6 salaries
unlock blur

₹17 L/yr - ₹19 L/yr

Data Analyst
6 salaries
unlock blur

₹4.6 L/yr - ₹7.6 L/yr

Associate Software Engineer
5 salaries
unlock blur

₹8 L/yr - ₹9 L/yr

Senior Software Engineer
5 salaries
unlock blur

₹15 L/yr - ₹42.5 L/yr

Explore more salaries
Compare Lifesight with

TCS

3.6
Compare

Accenture

3.8
Compare

Wipro

3.7
Compare

Cognizant

3.7
Compare
write
Share an Interview