π Study: νλ ¬ ν λ리 νμ νκΈ°#88
Merged
ing-eoking merged 1 commit intoBugShelter:mainfrom May 7, 2025
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR implements a solution for the "νλ ¬ ν λ리 νμ νκΈ°" problem (#87) by rotating the border elements of a matrix and returning the minimum value encountered during each rotation.
- Implements the solution logic in the function solution.
- Initializes the matrix and computes the border indices for rotation.
- Rotates the border elements and tracks the minimum value for each query.
Comments suppressed due to low confidence (2)
νλ ¬ ν λ리 νμ νκΈ°.py:3
- [nitpick] Consider using a more descriptive name such as 'matrix' instead of 'm' for improved clarity.
m = [[i * columns + j + 1 for j in range(columns)] for i in range(rows)]
νλ ¬ ν λ리 νμ νκΈ°.py:6
- [nitpick] Consider renaming 'p' to 'border_coords' to more clearly convey that it represents the list of coordinates along the matrix border.
p = ([(x1, y) for y in range(y1, y2)] +
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
π κ΄λ ¨ λ¬Έμ
π νμ΄ μμ½
빑ꡬν
π μ€ν¨ν ν μ€νΈ μΌμ΄μ€