목록행렬 (35)
넘치게 채우기
https://leetcode.com/problems/find-all-groups-of-farmland/description/ Leetcode - Find All Groups of Farmland 문제 유형 : dfs/bfs, 행렬 문제 난이도 : Medium 문제 You are given a 0-indexed m x n binary matrix land where a 0 represents a hectare of forested land and a 1 represents a hectare of farmland. To keep the land organized, there are designated rectangular areas of hectares that consist entirely of farm..
https://leetcode.com/problems/island-perimeter/description/ LeetCode - Island Perimeter 문제 유형 : 행렬 문제 난이도 : Easy 문제 You are given row x col grid representing a map where grid[i][j] = 1 represents land and grid[i][j] = 0 represents water. Grid cells are connected horizontally/vertically (not diagonally). The grid is completely surrounded by water, and there is exactly one island (i.e., one or mor..
https://leetcode.com/problems/number-of-laser-beams-in-a-bank/description/ Number of Laser Beams in a Bank - LeetCode Can you solve this real interview question? Number of Laser Beams in a Bank - Anti-theft security devices are activated inside a bank. You are given a 0-indexed binary string array bank representing the floor plan of the bank, which is an m x n 2D matrix. leetcode.com leetcode - ..
https://leetcode.com/problems/convert-an-array-into-a-2d-array-with-conditions/description/ Convert an Array Into a 2D Array With Conditions - LeetCode Can you solve this real interview question? Convert an Array Into a 2D Array With Conditions - You are given an integer array nums. You need to create a 2D array from nums satisfying the following conditions: * The 2D array should contain only th..
https://leetcode.com/problems/transpose-matrix/description/ Transpose Matrix - LeetCode Can you solve this real interview question? Transpose Matrix - Given a 2D integer array matrix, return the transpose of matrix. The transpose of a matrix is the matrix flipped over its main diagonal, switching the matrix's row and column indices. [https:// leetcode.com leetcode - Transpose Matrix 문제 유형 : 수학, ..