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

SDE - 1

Unthinkable Solutions
upvote
share-icon
1 rounds | 2 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 4 months
Topics: DSA , OOPS , OS, CN, Algorithms, DBMS , Dynamic Programming , Graphs
Tip
Tip

Tip 1 : Do DSA
Tip 2 : Do Extra Subjects
Tip 3 : Prepare some Projects

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

Tip 1 : Do Mention coding profiles in resume
Tip 2 : Do add summary of Projects

Interview rounds

01
Round
Easy
Online Coding Test
Duration60 minutes
Interview date9 Sep 2021
Coding problem2

there were total 2 questions

1. Min Jumps

Easy
15m average time
85% success
0/40
Asked in companies
AckoHSBCIBM

You live in a Ninja town which is in the form of a N * M grid. In this town, people travel from one place to another by jumping over the buildings which are present in each cell of the grid. It is Christmas eve, and Santa wants to give gifts and chocolates to the kids who live in the building which is present at the cell (N - 1, M - 1). Initially, Santa is present on cell (0, 0). Since Santa is in a hurry, help him find a path from starting point to the endpoint with the least amount of time.

The Santa may go only from one building to any of its adjacent buildings which is present either to the right or to the bottom or bottom right cell i.e. if the current position is (x, y), he may go to (x + 1, y + 1) or (x + 1, y) or (x, y + 1) given that the new coordinates are in the grid. The time taken to reach from one building to another is equal to the absolute difference between the heights of buildings.

Note:

1. The heights of the buildings are positive.
2. Santa starts from the cell (0, 0) and he has to reach the building (N - 1, M - 1).
3. Santa cannot leave the grid at any point of time.
Problem approach

For solving minimum jumps to reach the end of the array,
For every jump index, we consider needing to evaluate the corresponding step values in the index and using the index value divides the array into sub-parts and find out the maximum steps covered index.
The following code and explanation will give you a clear idea:
In each sub-array find out the max distance covered index as the first part of the array, and the second array

Try solving now

2. Assign the Assignments

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

Ninja and his friend are working on an assignment that contains ‘N’ tasks. Each task has a complexity ‘C[i]’.

Ninja wants to assign ‘B’ number of tasks to his friend and ‘A’ number of tasks to himself. Given that he can only assign tasks with complexity greater than or equal to 'X' to himself and tasks with complexity less than 'X' to his friend.

So help Ninja to find how many ways are there to choose ‘X’ such that Ninja gets ‘A’ and his friend gets ‘B’ number of tasks.

Note :
The complexity of each task is pairwise distinct.
For example :
N a b
5 3 2
C: 5 19 2 62 1
Here ‘X’ can be 2,3,4 as 3 tasks have greater complexity that will be assigned to Ninja and the remaining two will be assigned to NInja’s friend.
So the answer is 3.
Try solving now

Here's your problem of the day

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

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by Unthinkable Solutions
1442 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 6 problems
Interviewed by Unthinkable Solutions
2171 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by Unthinkable Solutions
882 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by Unthinkable Solutions
1153 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by BNY Mellon
6366 views
3 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by BNY Mellon
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by CIS - Cyber Infrastructure
2198 views
0 comments
0 upvotes