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

SDE - 1

Kempston
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
I was not exceptionally good at coding at the start. Then, I solved more than 400+ questions on Code Studio. Now, I can crack most of the interviews I give.
Application story
I got a referral from someone currently working at this company through LinkedIn. He is very kind and gave me a chance to prove myself.
Why selected/rejected for the role?
I was rejected in the final round because they thought my projects were not good enough.
Preparation
Duration: 6 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1: Practice previously asked interview and online test questions.

Tip 2: Review previous interview experiences on various coding platforms.

Tip 3: Complete at least two good projects and ensure you understand every aspect of them.

Application process
Where: Referral
Eligibility: Above 7 CGPA
Resume Tip
Resume tip

Tip 1: Include at least two good projects, explaining them briefly and covering all important points.

Tip 2: Mention every relevant skill.

Tip 3: Focus more on skills, projects, and experiences.

Interview rounds

01
Round
Easy
Video Call
Duration60 minutes
Interview date22 Jun 2023
Coding problem2

1. Minimum Fountains

Easy
10m average time
80% success
0/40
Asked in companies
UberAdobeSamsung R&D Institute

There is a one-dimensional garden of length 'N'. On each of the positions from 0 to 'N', there is a fountain, and this fountain’s water can reach up to a certain range as explained further. In other words, there are 'N' + 1 fountains located at positions 0, 1, 2, 3, …. 'N' which can be activated in the garden.

You are given an integer 'N' and an array/list 'ARR' of length 'N' + 1, where each index of the array denotes the coverage limit of a particular fountain.

A fountain at index 'i' can water the area ranging from the position 'i' - 'ARR'['i'] to 'i' + 'ARR'['i'].

Your task is to find the minimum number of fountains that have to be activated such that the whole garden from position 0 to 'N' has access to the water from at least some fountain.

Note:

1. 0-based indexing is used in the array.
2. We only care about the garden from 0 to 'N' only. So if i - 'ARR'['i'] < 0 or i + 'ARR'['i'] > 'N', you may ignore the exceeding area.
3. If some fountain covers the garden from position 'A' to position 'B', it means that the water from this fountain will spread to the whole line segment with endpoints 'A' and 'B'.
Try solving now

2. Most Frequent Prefix

Moderate
0/80
Asked in companies
AdobeUberIntuit

You are given a string ‘STR’. Your task is to return a prefix among all the prefixes of ‘STR’ that occurs the maximum number of times as a substring in ‘STR’. In case of a tie, return the longest prefix.

For example:
You are given ‘STR’ = “ababcd”. Then our answer will be “ab”. The prefixes “a” and “ab” occur the maximum number of times, i.e., 2. As the prefix “ab” is longer than “a” so, our answer will be “ab”.
Try solving now
02
Round
Easy
Video Call
Duration60 minutes
Interview date22 Jun 2023
Coding problem2

1. Number of squareful arrays

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

You are given an Array/List Arr of non-negative integers. Your task is to return the number of Squareful permutations of the array.

An array is called Squareful if the sum of every pair of adjacent elements is a perfect square.

Example

ARR[1,3,6] is a Squareful array as 1+3=4 i.e. 2^2 , 3+6=9 i.e. 3^2.

Two permutations ARR1 and ARR2, are different from each other if there exit an index i such that ARR1[i] != ARR2[i].

Example:

[1,6,3] and [6,1,3] are different permutations.
Try solving now

2. Length of the Largest Subarray

Moderate
25m average time
65% success
0/80
Asked in companies
UberAppleKempston

You are given ‘N’ distinct integers in the form of an array ‘ARR’. You need to print the length of the longest subarray in which the numbers are present in a continuous sequence.

Note: All elements are distinct from the array.

For example:
Let ‘ARR’ be: [1, 2, 4]
Then the largest subarray with continuous sequence will be: [1, 2]
So the length will be 2.
Try solving now
03
Round
Easy
HR Round
Duration25 minutes
Interview date22 Jun 2023
Coding problem1

1. Basic HR Questions

Tell me about yourself.
Why should I hire you?
What are your strengths and weaknesses?
Why do you want to work at our company?

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
3 rounds | 5 problems
Interviewed by Kempston
905 views
0 comments
0 upvotes
SDE - 1
3 rounds | 6 problems
Interviewed by Kempston
679 views
0 comments
0 upvotes
SDE - 1
3 rounds | 5 problems
Interviewed by Kempston
398 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3452 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