Skip to content

🐜 Study: ν–‰λ ¬ ν…Œλ‘λ¦¬ νšŒμ „ν•˜κΈ°#88

Merged
ing-eoking merged 1 commit intoBugShelter:mainfrom
ing-eoking:04/22
May 7, 2025
Merged

🐜 Study: ν–‰λ ¬ ν…Œλ‘λ¦¬ νšŒμ „ν•˜κΈ°#88
ing-eoking merged 1 commit intoBugShelter:mainfrom
ing-eoking:04/22

Conversation

@ing-eoking
Copy link
Collaborator

πŸ“Œ κ΄€λ ¨ 문제

πŸ“‹ 풀이 μš”μ•½

λΉ‘κ΅¬ν˜„

😞 μ‹€νŒ¨ν•œ ν…ŒμŠ€νŠΈ μΌ€μ΄μŠ€

@ing-eoking ing-eoking requested a review from yongjun-0903 April 22, 2025 04:54
@ing-eoking ing-eoking self-assigned this Apr 22, 2025
@ing-eoking ing-eoking added Algorithm μ•Œκ³ λ¦¬μ¦˜ 문제 풀이 🐜 Study μ•Œκ³ λ¦¬μ¦˜ 문제 곡뢀 labels Apr 22, 2025
@ing-eoking ing-eoking requested review from Copilot and removed request for yongjun-0903 April 22, 2025 23:51
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)] +

@ing-eoking ing-eoking merged commit 7289274 into BugShelter:main May 7, 2025
@ing-eoking ing-eoking deleted the 04/22 branch May 7, 2025 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Algorithm μ•Œκ³ λ¦¬μ¦˜ 문제 풀이 🐜 Study μ•Œκ³ λ¦¬μ¦˜ 문제 곡뢀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[였늘의 μ•Œκ³ λ¦¬μ¦˜] ν–‰λ ¬ ν…Œλ‘λ¦¬ νšŒμ „ν•˜κΈ°

2 participants