Matrix / 2D Arrays Interview Questions

183+ real questions from verified interview reports across 12 companies.

Sourced from 1Point3Acres, Blind, Glassdoor, Reddit, and more. Translated and cleaned.

183
Questions
12
Companies
12
Top Askers

Top Companies Asking Matrix / 2D Arrays Questions

Sample Matrix / 2D Arrays Questions

Was told there were follow-up questions but could not finish the first part in time. Struggled with it. Square Terminal is a credit card terminal for payments. The company is looking...

Hi all, I recently gave Google interviews for Warsaw location for software engineer 2/3 (recruiter told me that they would consider me for both positions). ## Screening Question was related some...

The first round was with HM (Host Manager). We started by discussing my projects, mainly focusing on preparing for my most important project. The whole conversation went well, with no major issues. Th

Recruiter reached out in September for a opening. HM didnt shortlist resume back then. Again reached out to recruiter in November and then in December, she shared another opening and got me the interv

3 hours is more than enough for 4 questions. C++ or Csharp must be used. 1- Given a square matrix with values representing pixel colors black and white, implement a function that finds the largest sub

1. Given 2D nodes with w and b, find the maximum square when all sides are 'b'. 2. In a BST, find the number of edges between 2 given nodes. 3. Given Arr1 and Arr2, return the maximum element in Arr1'

**Context** Doppel, a Series B startup focused on detecting and mitigating social engineering attacks, utilizes the following multi-stage technical problem during their interview process. **Problem St

**Problem Statement** Develop a program that renders an ASCII graph to visualize online auction data, where the X-axis represents time and the Y-axis represents price. **Input Specifications** * **Dat

LeetCode #994: Rotting Oranges. Difficulty: Medium. Topics: Array, Breadth-First Search, Matrix. Asked at Nvidia in the last 6 months.

LeetCode #48: Rotate Image. Difficulty: Medium. Topics: Array, Math, Matrix. Asked at Visa in the last 6 months.

LeetCode #3071: Minimum Operations to Write the Letter Y on a Grid. Difficulty: Medium. Topics: Array, Hash Table, Matrix, Counting. Asked at Visa in the last 6 months.

LeetCode #48: Rotate Image. Difficulty: Medium. Topics: Array, Math, Matrix. Asked at Nutanix in the last 6 months.

LeetCode #54: Spiral Matrix. Difficulty: Medium. Topics: Array, Matrix, Simulation. Asked at Zoho in the last 6 months.

LeetCode #54: Spiral Matrix. Difficulty: Medium. Topics: Array, Matrix, Simulation. Asked at PhonePe in the last 6 months.

LeetCode #240: Search a 2D Matrix II. Difficulty: Medium. Topics: Array, Binary Search, Divide and Conquer, Matrix. Asked at Zomato in the last 6 months.

LeetCode #73: Set Matrix Zeroes. Difficulty: Medium. Topics: Array, Hash Table, Matrix. Asked at ZScaler in the last 6 months.

LeetCode #1559: Detect Cycles in 2D Grid. Difficulty: Medium. Topics: Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix. Asked at WeRide in the last 6 months.

LeetCode #73: Set Matrix Zeroes. Difficulty: Medium. Topics: Array, Hash Table, Matrix. Asked at Nykaa in the last 6 months.

LeetCode #1162: As Far from Land as Possible. Difficulty: Medium. Topics: Array, Dynamic Programming, Breadth-First Search, Matrix. Asked at Hive in the last 6 months.

Cisco OA on SHL for SDE - 1 US 3 questions, 90 minutes q1: https://leetcode.com/problems/rotate-image/ q2: https://leetcode.com/problems/maximum-subarray/ q3: https://leetcode.com/problems/validate-ip-address/

Give an n by m matrix with positive numbers, If there are three or more adjacent numbers with the same value at the same row/col, mark the number as 0. Examples {1, 2,...

Phone Screen - 1 hour 15mins - Technical Questions \trelated to Design Pattern, MVC and testing \t 45mins - Coding - medium level \tGiven 2D matrix, find all the rectangles filled with 0 \treturn coordinates along...

Given an MxN grid,you\'re currently a (1,1) cell.Your\'challenge is to hop in anti clockwise direction skipping alternate cells. If you were to follow this pattern what\'s the last cell you...

LeetCode #348: Design Tic-Tac-Toe. Difficulty: Medium. Topics: Array, Hash Table, Design, Matrix, Simulation. Asked at Citadel in the last 6 months.

LeetCode #36: Valid Sudoku. Difficulty: Medium. Topics: Array, Hash Table, Matrix. Asked at Upstart in the last 6 months.

See All 183 Matrix / 2D Arrays Questions

Full question text, interview context, and company-specific frequency data for subscribers.

Get Access

Related Topics