Open In App

Amazon Interview Experience for SDE-2

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/amp/

After this, some project-related questions were asked.



Round 2:

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