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

SDE - 1

Shell india
upvote
share-icon
2 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Journey
I have completed my Engineering from Amity University Noida, specializing in Computer Science Engineering recently. In the second year, I started learning java and dsa from coding ninjas. After learning DSA i started working on projects. I was pretty confident on my skills. I used to practice dsa questions daily on Codezen. I was pretty much confident with my skills.
Application story
I got this opportunity on campus. A form was rolled out for this, so there we need to fill all the necessary detials along with resume.
Why selected/rejected for the role?
I got rejected for this role. I was not confident in interview. In fact I knew all the answers perfectly but there was lack of confidence. So from this incident I learnt that first you need confidence then knowledge.
Preparation
Duration: 10 months
Topics: Data Structures, Algorithms, OOPS, DBMS, JAVA, OS
Tip
Tip

Tip 1 : Practice Atleast 250 Questions 
Tip 2 : Prepare atleast 2 good projects
Tip 3 : Communication skills should be good.

Application process
Where: Campus
Eligibility: Above 8 CGPA
Resume Tip
Resume tip

Tip 1 : Be honest with your resume.
Tip 2 : Resume should be crisp and short.

Interview rounds

01
Round
Hard
Online Coding Interview
Duration135 minutes
Interview date25 Sep 2021
Coding problem2

This was an approximately 2hr 15 minutes long test, with a fixed time for different sections, and the time couldn’t be carried over.

1. City of Happy People

Moderate
20m average time
80% success
0/80
Asked in companies
NXP SemiconductorsShell indiaD.E.Shaw

Ninja is traveling to a Happy city where ‘N’ people reside. In the city, the happiness of each person is represented as a number ‘H’ where ‘H’ ranges from -20,000,000 to 20,000,000 (both inclusive). The happiness of each person in the city is given in an array/list ‘HAPPINESS’ where ‘HAPPINESS[i]’ represents the happiness of the i’th person.

Ninja wants to make a group of people such that the overall happiness of the group (sum of happiness value of all the people in the group) ranges between ‘A’ and ‘B’ where -500,000,000 ≤ A ≤ B ≤ 500,000,000. Ninja wants to know in how many ways he can make this group.

For example :
For the given ‘HAPPINESS[]’ = ‘[-1, 0, 3]’ and ‘A’ = 0 , ‘B’ = 2. Following are the ways to group people such that the overall happiness of the group is between ‘A’ and ‘B’:

[-1, 0, 3], the sum of all the happiness values of this group is 2.

[-1, 3], the sum of all the happiness values of this group is 2.

[0], the sum of all the happiness values of this group is 0.

[ ], the sum of all the happiness values of this empty group is 0.

So the number of ways is 4.

As Ninja is busy with some other task so he asks you for help. Can you help Ninja to find out the number of ways in which he can pick groups so that the overall happiness of the group must be in the range between ‘A’ and ‘B’?

Try solving now

2. First Unique Character in a String

Easy
15m average time
85% success
0/40
Asked in companies
MicrosoftIBMLivekeeping (An IndiaMART Company)

Given a string ‘STR’ consisting of lower case English letters, the task is to find the first non-repeating character in the string and return it. If it doesn’t exist, return ‘#’.

For example:

For the input string 'abcab', the first non-repeating character is ‘c’. As depicted the character ‘a’ repeats at index 3 and character ‘b’ repeats at index 4. Hence we return the character ‘c’ present at index 2.
Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date1 Oct 2021
Coding problem4

It was of 1 hour. There were 2 interviewers. It was from 10:45 to 11:45 am in the morning. Interviewer was quiet friendly.
One asked about the technical things and other one asked about behavioral questions and projects mention in the resume.

1. Java Question

What is interface and abstract class in java, give their example. Explain them with their implementation.

Problem approach

I explained both and wrote the pseudo code for both as well.

2. OOPS Question

What is oops, building blocks of oops and its application. 

3. DBMS Question

Types of Joins in MySQL.

Problem approach

Tip 1 : Do practice for SQL queries
Tip 2 : DBMS is must, prepare it nicely.
Tip 3 : Be confident.

4. Technical Question

Explain your projects.

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
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
8518 views
0 comments
0 upvotes
Analytics Consultant
3 rounds | 10 problems
Interviewed by ZS
907 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3319 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 6 problems
Interviewed by Expedia Group
2580 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
57824 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes