Leetcode/Matrix 4

[Leetcode 아주 상세한 문제풀이] 79. Word Search – 코드 line 별 설명

Leetcode 문제 이번에 풀어볼 문제는 리트코드 19번 문제 Remove Nth Node From End of List 다. 우선 문제를 살펴보자. 리트코드 19번 문제 Remove Nth Node From End of List 링크 https://leetcode.com/problems/word-search/ Word Search - LeetCode Can you solve this real interview question? Word Search - Given an m x n grid of characters board and a string word, return true if word exists in the grid. The word can be constructed from letters o..

Leetcode/Matrix 2024.01.10

[Leetcode 아주 상세한 문제풀이] 73. Set Matrix Zeroes - 코드 line 별 설명

Leetcode 문제 이번에 풀어볼 문제는 리트코드 73번 문제 Set Matrix Zeroes 다. 우선 문제를 살펴보자. 리트코드 73번 문제 Set Matrix Zeroes 링크 https://leetcode.com/problems/set-matrix-zeroes/ Set Matrix Zeroes - LeetCode Can you solve this real interview question? Set Matrix Zeroes - Given an m x n integer matrix matrix, if an element is 0, set its entire row and column to 0's. You must do it in place [https://en.wikipedia.org/wiki/In..

Leetcode/Matrix 2024.01.09

[Leetcode 아주 상세한 문제풀이] 54. Spiral Matrix – 코드 line 별 설명

Leetcode 문제 이번에 풀어볼 문제는 리트코드 54번 문제 Spiral Matrix 다. 우선 문제를 살펴보자. 리트코드 54번 문제 Spiral Matrix 링크 https://leetcode.com/problems/spiral-matrix/ Spiral Matrix - LeetCode Can you solve this real interview question? Spiral Matrix - Given an m x n matrix, return all elements of the matrix in spiral order. Example 1: [https://assets.leetcode.com/uploads/2020/11/13/spiral1.jpg] Input: matrix = [[1,2,3],[4..

Leetcode/Matrix 2024.01.08

[Leetcode 아주 상세한 문제풀이] 48. Rotate Image - 코드 line 별 설명

Leetcode 설명 이번에 풀어볼 문제는 리트코드 48번 문제 Rotate Image 다. 우선 문제를 살펴보자. 리트코드 48번 문제 Rotate Image 링크 https://leetcode.com/problems/rotate-image/ Rotate Image - LeetCode Can you solve this real interview question? Rotate Image - You are given an n x n 2D matrix representing an image, rotate the image by 90 degrees (clockwise). You have to rotate the image in-place [https://en.wikipedia.org/wiki/In-place_..

Leetcode/Matrix 2024.01.07