# Amazon Interview Experience for Fresher SDE - 1, Aug 2019

Posted: 5 Jul 2020
46
Selected
Interview Rounds
Application Process

## Interview Process

### Online Coding Test

Easy
Duration:
90 minutes
Interview-Date:
2 Aug 2019
Problems:
2

This round consist of two questions and we have to solve both the questions to qualify for the next round.

Occurrence of X in a Sorted Array

Count number of occurrences (or frequency) in a sorted array

Given a sorted array arr[] and a number x, write a function that counts the occurrences of x in arr[].

Examples:

Input: arr[] = {1, 1, 2, 2, 2, 2, 3,},   x = 2

Output: 4
2 occurs 4 times in arr[]

Maximum In Subarray

Given an array and an integer K, find the maximum for each and every contiguous subarray of size k.

Examples :

Input: arr[] = {1, 2, 3, 1, 4, 5, 2, 3, 6}, K = 3

Output: 3 3 4 5 5 5 6

Explanation:

Maximum of 1, 2, 3 is 3

Maximum of 2, 3, 1 is 3

Maximum of 3, 1, 4 is 4

Maximum of 1, 4, 5 is 5

Maximum of 4, 5, 2 is 5

...

View more
Next
Round - 2

## Preparation

Duration:
4 months
Topics:
Data structures and Algorithms, Computer fundamentals subjects. Basics of every skill that you have written in your resume and also knowledge of concepts related to your projects. You should know whatever you have written in your resume.
Preparation Tip

Don’t create panic in any case in the interview , as even if you are not selected you will learn a lot from your interview experience and perform well in the future. Also I would recommend you Coding Ninjas as according to me it is a good platform to learn basic coding concepts and to practice coding.

## Application Process

Where:
Campus
Resume Tip

Write whatever you are sure about and have actually done that. CGPA plays a good role but not a complete role as it is just eligibility criteria for some companies. Have at least 1 or 2 good projects from which you know everything involved in the project.

Have an interview experience that you want to contribute?
PreviousNext

Join the Discussion

Want to join the discussion?
Rakesh |Level 1
4 months ago
Comment Removed