Preparing for an interview? Check out Cracking the Coding Interview
Published on

Amazon | SDE-1 | Bangalore | Feb 2021(Offer)

Author
  • Shared Anonymously

Status : Applications Engineer at Oracle . 1.5 years of experience. Applied through referral
Date : Feb 2021
Location : Bangalore

Online Assessment
Don't remember the questions but they were quite easy and doable

After assessment , 3 rounds were scheduled after 2 weeks.

Round - 1 : DSA

  • Given a string convert it in balanced string in minimum number of operations Balanced string is one which has equal frequency for each character .
  • Definition of operation : Convert one character of string into any other character
  • Defination of balanced string : Balanced string is string which has equal frequency for each character
  • Eg : AAAB -> can be coverted to AABB in one operation
  • I couldn't find anything equivalent on leetcode .

Behavioural questions :

  • Tell about me a challenging work you did

  • Tell me about me a time where you solved a problem . How you could have done it better?.

  • Tell me about what are you currently working on recently and metrics used

Round - 2: DSA

  • When does out of memory exception occur in java?

  • How do you fine tune a GC ?

  • How do you allocate threads and number to use ?

  • Given a BST and range low and high . Return all nodes within that low and high .

  • Stock buy - sell . maximum profit by doing any number of transactions

Round 3: DSA

  • https://leetcode.com/problems/partition-array-into-two-arrays-to-minimize-sum-difference/description/

  • Can you tell me about a time where you received a critical feedback ? . What was the outcome ? . How did you manage it ?

  • Can you tell me about a time where you did something without consulting your manager ? .

  • Can you tell me about a time where you worked under strict deadlines ? .

Round 4: Bar raiser round

  • We have a gaming scoreboard .

  • Design APIs/methods for provide score dashboard for a game.

  • Feature Requirements:

  • #1 Fetch score/player details of current player by Name or Id.

  • #2 UpdateOrCreate score of player by Name or Id.

  • #3 Fetch player details with highest score

  • #4 Fetch leaderboard, dashboard in DES order (score).

  • #5 Delete the player

  • Assumptions:

  • Names are unique (simplification)

  • Use Data-structures instead of DB

Behavorial:

  • Can you tell me about a time where you did something outside your area of responsibility ?

  • Can you tell me about a time where learned something new,a new tech stack?

Status: Got the offer a week after last round.

ReportMark as Helpful