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

SDE - 1

Amazon
upvote
share-icon
1 rounds | 2 Coding problems

Interview preparation journey

expand-icon
Journey
I was unaware of this coding stuff till my school life. I got to know about the field of computer science in my class 11th. I found it interesting and decided that I would pursue my career in the field of computer science. I was admitted to B.Tech CSE and learned various concepts like DSA and all. I was advised that DSA. is a must for getting placed, so I started practicing it on a daily basis.
Application story
I got a message in my telegram group about Amazon visiting our campus to hire SDE-1. As I was in my fourth year, I was sure that I was going to apply for it. I started preparing accordingly. I looked at some previous interview questions from Amazon, but I think the time was insufficient to prepare, so I was rejected in this interview process.
Why selected/rejected for the role?
I think I did not have enough time to prepare for the interview process, so I was unable to solve the coding problems which is why I was rejected.
Preparation
Duration: 2 Months
Topics: Data Structures, OOPS, Operating Systems, Algorithms, C
Tip
Tip

Tip 1 : Code More till you like it
Tip 2 : Study Data Structures

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

Tip 1 : Mention only what you are confident about
Tip 2 : Mention tools & technologies used in the project as well

Interview rounds

01
Round
Medium
Online Coding Test
Duration90 Minutes
Interview date12 Jun 2020
Coding problem2

1. Longest Decreasing Subsequence

Moderate
35m average time
60% success
0/80
Asked in companies
CultfitAmazonThought Works

You are given an array/list ARR consisting of N integers. Your task is to find the length of the longest decreasing subsequence.

A subsequence is a sequence of numbers obtained by deleting zero or more elements from the array/list, keeping the relative positions of elements same as it was in the initial sequence. A decreasing subsequence is a subsequence in which every element is strictly less than the previous number.

Note:

There can be more than one subsequences with the longest length.
For example:-
For the given array [5, 0, 3, 2, 9], the longest decreasing subsequence is of length 3, i.e. [5, 3, 2]
Note:
Try to solve the problem in O(N log N) time complexity.
Try solving now

2. Next Greater Element

Easy
10m average time
90% success
0/40
Asked in companies
IBMInfo Edge India (Naukri.com)Amazon

You are given an array 'a' of size 'n'.



The Next Greater Element for an element 'x' is the first element on the right side of 'x' in the array, which is greater than 'x'.


If no greater elements exist to the right of 'x', consider the next greater element as -1.


For example:
Input: 'a' = [7, 12, 1, 20]

Output: NGE = [12, 20, 20, -1]

Explanation: For the given array,

- The next greater element for 7 is 12.

- The next greater element for 12 is 20. 

- The next greater element for 1 is 20. 

- There is no greater element for 20 on the right side. So we consider NGE as -1.
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 | 5 problems
Interviewed by Amazon
3085 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
2295 views
1 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by Amazon
1593 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
8962 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
58238 views
5 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Samsung
12649 views
2 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Microsoft
5983 views
5 comments
0 upvotes