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

Associate Software Engineer

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

Interview preparation journey

expand-icon
Preparation
Duration: 2 Months
Topics: Arrays, Linked List, Oops, System Design, DP
Tip
Tip

Tip 1 : Stay focused
Tip 2 : Practice coding questions
Tip 3 : View previous interviews of the company applying to

Application process
Where: Other
Eligibility: resume shortlist
Resume Tip
Resume tip

Tip 1 : Have atleast 3 great project
Tip 2 : Write only what you know and prepare well

Interview rounds

01
Round
Easy
Video Call
Duration115 Minutes
Interview date27 Jul 2022
Coding problem2

The first round lasted for 115 minutes where :

The Coding Round was of 60 minutes in which 2 questions were asked, both of them were easy, and I was able to solve them within 20 minutes.
Then we had to write a MySQL query for a given question, and the time allotted for that was 15 minutes.
Then it was a Technical MCQ round where MCQs based on OOPs, OS, DBMS, and Networks were asked. There were 25 questions and the time allotted was also 25 minutes.
The last round was Aptitude, where there were 25 aptitude questions and the time allotted was 25 minutes.

1. LRU Cache Implementation

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

Design and implement a data structure for Least Recently Used (LRU) cache to support the following operations:

1. get(key) - Return the value of the key if the key exists in the cache, otherwise return -1.

2. put(key, value), Insert the value in the cache if the key is not already present or update the value of the given key if the key is already present. When the cache reaches its capacity, it should invalidate the least recently used item before inserting the new item.
You will be given ‘Q’ queries. Each query will belong to one of these two types:
Type 0: for get(key) operation.
Type 1: for put(key, value) operation.
Note :
1. The cache is initialized with a capacity (the maximum number of unique keys it can hold at a time).

2. Access to an item or key is defined as a get or a put operation on the key. The least recently used key is the one with the oldest access time.
Try solving now

2. Best Time to Buy and Sell Stock

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

You are given an array/list 'prices' where the elements of the array represent the prices of the stock as they were yesterday and indices of the array represent minutes. Your task is to find and return the maximum profit you can make by buying and selling the stock. You can buy and sell the stock only once.

Note:

You can’t sell without buying first.
For Example:
For the given array [ 2, 100, 150, 120],
The maximum profit can be achieved by buying the stock at minute 0 when its price is Rs. 2 and selling it at minute 2 when its price is Rs. 150.
So, the output will be 148.
Try solving now
02
Round
Easy
Video Call
Duration60 Minutes
Interview date28 Jul 2022
Coding problem0

I was able to clear round 1 and received the invitation for the 2nd round as well. There were 2 interviewers in the meeting, ( one for the Technical and another one for HR ). After introducing each other, my technical interview started.

The questions asked were :

Explain concepts of OOPs with real-life examples.
Friend Functions in C++.
Abstract Classes in C++.
Features of Python.
Why Python is an interpreted language?
Difference between List and Tuples.
Types of Joins in MySQL.
Write query for left join and right join in MySQL
Views in MySQL.

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
3 rounds | 7 problems
Interviewed by OYO
4657 views
0 comments
0 upvotes
company logo
Software Developer
3 rounds | 6 problems
Interviewed by Shell india
480 views
0 comments
0 upvotes
company logo
SDE
3 rounds | 6 problems
Interviewed by Shell india
1259 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
Associate Software Engineer
3 rounds | 10 problems
Interviewed by Amdocs
2370 views
0 comments
0 upvotes
company logo
Associate Software Engineer
3 rounds | 2 problems
Interviewed by Ernst & Young (EY)
2672 views
0 comments
0 upvotes
company logo
Associate Software Engineer
3 rounds | 15 problems
Interviewed by Ernst & Young (EY)
2347 views
0 comments
0 upvotes