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

SDE - 1

Slice
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 8 months
Topics: Algorithms, Dynamic Programming, Graph, Javascript, OOPS,
Tip
Tip

Tip 1 : Just don't be a grasshopper and jump on different topics without doing topics completely
Tip 2 : Be patient, your time will come

Application process
Where: Campus
Eligibility: ABove 7 CGPA
Resume Tip
Resume tip

Tip 1 : Whatever we mention on resume should be studied properly
Tip 2 : Don't make lengthy resume, it should be of single page only

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 Minutes
Interview date15 Oct 2021
Coding problem2

1. Perfect Team.

Hard
15m average time
85% success
0/120
Asked in companies
SliceUberAspire Systems

You have been given ‘SKILL’ and ‘AGE’ of ‘N’ players. You want to choose the team with the highest total skill. The total skill is the sum of skills of all players in the team. However, in a team, no two players must exist such that the younger player has greater skill than the older player. In a team, two people of the same age can have different skill levels. Return the highest total skill of the team which is possible.

Example:
Let’s say the age of players is [1,2,6,4] and the skill of players is [1,2,3,4]. We cannot take all players in the team as 3rd player is older than 4th player but 4th player has strictly greater skill than 3rd player. Therefore we can take anyone among them. Therefore the highest total skill of team which is possible is 7.
Try solving now

2. Minimum Depth Of Binary Tree

Moderate
20m average time
80% success
0/80
Asked in companies
FacebookGoldman SachsMakeMyTrip

You have been given a Binary Tree of integers, find the minimum depth of this Binary Tree. The minimum depth of a Binary Tree is the number of nodes along the shortest path from the root node down to the nearest leaf node.

Note:
A leaf is a node with no children.
For example:
For the given binary tree

alt text

Output: 2
The shortest path is from root node 1 to leaf node 2 which contains 2 nodes in the path. Hence, the minimum depth is 2.
Try solving now
02
Round
Easy
Face to Face
Duration30 Minutes
Interview date2 Dec 2022
Coding problem2

It was an online interview round

1. Left View Of a Binary Tree

Easy
10m average time
90% success
0/40
Asked in companies
OlaHSBCArcesium

You have been given a binary tree of integers. You are supposed to find the left view of the binary tree. The left view of a binary tree is the set of all nodes that are visible when the binary tree is viewed from the left side.

Example:

example

The left view of the above binary tree is  {5, 7, 14, 25}.
Try solving now

2. Maximum Path Sum Between Two Leaves

Hard
50m average time
35% success
0/120
Asked in companies
OYOAmazonMathworks

You are given a non-empty binary tree where each node has a non-negative integer value. Return the maximum possible sum of path between any two leaves of the given tree.

The path is also inclusive of the leaf nodes and the maximum path sum may or may not go through the root of the given tree.

If there is only one leaf node in the tree, then return -1.

Try solving now
03
Round
Easy
Face to Face
Duration30 Minutes
Interview date2 Dec 2022
Coding problem1

1. System Design Question

Building red bus app using OOPs concept. In this we have to mention appropriate data structure that would be used in implementation.

Here's your problem of the day

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

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
SDE - 1
4 rounds | 7 problems
Interviewed by Slice
3323 views
1 comments
0 upvotes
SDE - 1
2 rounds | 4 problems
Interviewed by Slice
2343 views
0 comments
0 upvotes
SDE - 1
3 rounds | 5 problems
Interviewed by Slice
2486 views
0 comments
0 upvotes
SDE - 1
4 rounds | 5 problems
Interviewed by Slice
2080 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57825 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes