Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding
Ninjas X Naukri.com

Lifesight interview experience Real time questions & tips from candidates to crack your interview

Lifesight

3 rounds | 9 Coding
problems

Preparation

Duration: 3 Months

Topics: DataStructures, Algorithms, Problem Solving, Big Data, Distributed Systems, Spark

Tip

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 process

Where: Linkedin

Eligibility: 2+ years of Work Experience in the relevant field

Resume tip

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.

01

Round

Medium

Video Call

Duration75 Minutes

Interview date28 Dec 2020

Coding problem3

This round was with SDE-1

After my introduction , he asked me 3 Questions

```
In the below graph, there exists a cycle between vertex 1, 2 and 3.
```

```
1. There are no parallel edges between two vertices.
2. There are no self-loops(an edge connecting the vertex to itself) in the graph.
3. The graph can be disconnected.
```

```
Input: N = 3 , Edges = [[1, 2], [2, 3], [1, 3]].
Output: Yes
Explanation : There are a total of 3 vertices in the graph. There is an edge between vertex 1 and 2, vertex 2 and 3 and vertex 1 and 3. So, there exists a cycle in the graph.
```

```
‘S’ = “bacda” and ‘K’ = 3.
So, the substrings having at most ‘3’ distinct characters are called good substrings. Some possible good substrings are:
1. “bac”
2. “acd”
3. “acda”
The substring “acda” is the largest possible good substring, as we cannot get any other substring of length 5 or more having distinct characters less than or equal to ‘3’. Thus, you should return ‘4’ as the answer.
```

```
• The left subtree of a node contains only nodes with data less than the node’s data.
• The right subtree of a node contains only nodes with data greater than the node’s data.
• Both the left and right subtrees must also be binary search trees.
```

```
Level 1:
All the nodes in the left subtree of 4 (2, 1, 3) are smaller
than 4, all the nodes in the right subtree of the 4 (5) are
larger than 4.
Level 2 :
For node 2:
All the nodes in the left subtree of 2 (1) are smaller than
2, all the nodes in the right subtree of the 2 (3) are larger than 2.
For node 5:
The left and right subtrees for node 5 are empty.
Level 3:
For node 1:
The left and right subtrees for node 1 are empty.
For node 3:
The left and right subtrees for node 3 are empty.
Because all the nodes follow the property of a binary search tree, the above tree is a binary search tree.
```

02

Round

Medium

Video Call

Duration90 Miinutes

Interview date30 Dec 2020

Coding problem3

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

He asked me 4-5 SQL queries.

Asked to implement Upsert functionality in Spark Dataframes,

Asked about optimizations I had used and was aware about, interanl implementation of thoese Optimization.

```
Let the array 'ARR' be [1, 2, 3] and 'B' = 5. Then all possible valid combinations are-
(1, 1, 1, 1, 1)
(1, 1, 1, 2)
(1, 1, 3)
(1, 2, 2)
(2, 3)
```

03

Round

Easy

Video Call

Duration75 Minutes

Interview date4 Jan 2021

Coding problem3

This round was taken by Engineering Manager

There were 2 sections to this round

Technical and Non Techincal

He took a deep dig at my projects and asked me everything around my resume, after that he asked me a coding Question

He then asked me a SQL query on window functions and dense rank

In Spark in he asked me around the fundamentals and implementation of Broadcast Variables.

My Aspirations, How my team mates should be , How my Manager should be, Relationships with Manager,Relationships with Team members, Difficult scenario encoutered in the past, how did I overcome an unwinable situation.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

What does HTML stand for?

Choose another skill to practice

Start a Discussion

Similar interview experiences

SDE - 1

4 rounds | 8 problems

Interviewed by Amazon

2038 views

0 comments

0 upvotes

Analytics Consultant

3 rounds | 10 problems

Interviewed by ZS Associates

251 views

0 comments

0 upvotes

SDE - Intern

1 rounds | 3 problems

Interviewed by Amazon

871 views

0 comments

0 upvotes

SDE - 2

4 rounds | 6 problems

Interviewed by Expedia Group

588 views

0 comments

0 upvotes

Companies with similar interview experiences

SDE - 1

5 rounds | 12 problems

Interviewed by Amazon

105608 views

24 comments

0 upvotes

SDE - 1

4 rounds | 5 problems

Interviewed by Microsoft

50418 views

5 comments

0 upvotes

SDE - 1

3 rounds | 7 problems

Interviewed by Amazon

31392 views

6 comments

0 upvotes