Open In App

Amazon Interview Experience for SDE-2

Improve
Improve
Like Article
Like
Save
Share
Report

Two Coding Rounds were held.

Round 1:

  1. Given a 2D integer matrix of size (m*n). Calculate the sum of the submatrix of size (a*b), where a<m and b<n. 

    Now you are given n-queries for the same. Solve it in O(N).

    Solution: https://www.geeksforgeeks.org/submatrix-sum-queries/

After this, some project-related questions were asked.

Round 2:

  1. Project Description.
  2. Some behavioral questions.
  3. Calculate max area of Island.

Last Updated : 22 Mar, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads