Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[STEP 4] πŸ’£μ§€λ’°μ°ΎκΈ°πŸ’₯ λ¦¬νŒ©ν„°λ§ #492

Open
wants to merge 47 commits into
base: y2gcoder
Choose a base branch
from

Conversation

y2gcoder
Copy link

μ•ˆλ…•ν•˜μ„Έμš” λ‚¨μ€€λ‹˜!

μ˜€λžœλ§Œμ— μΈμ‚¬λ“œλ¦¬κ²Œ λ˜μ—ˆμŠ΅λ‹ˆλ‹€πŸ˜…

ν¬λ¦¬μŠ€λ§ˆμŠ€λŠ” 잘 λ³΄λ‚΄μ…¨λŠ”μ§€μš”?πŸŽ„

λ§ˆμ§€λ§‰ 단계닀 λ³΄λ‹ˆ κ·Έλ™μ•ˆ λ°°μ› λ˜ κ±Έ μ μš©ν•΄λ³΄κ³ μž λ…Έλ ₯ν–ˆμŠ΅λ‹ˆλ‹€!

항상 μ–‘μ§ˆμ˜ ν”Όλ“œλ°± μ£Όμ‹œλŠ” λ‚¨μ€€λ‹˜κ»˜ κ°μ‚¬λ“œλ¦½λ‹ˆλ‹€πŸ‘

ν¬κΈ°ν•˜μ§€ μ•Šκ³  λ§ˆλ¬΄λ¦¬κΉŒμ§€ μ—΄μ‹¬νžˆ ν•΄λ³΄κ² μŠ΅λ‹ˆλ‹€!

κ°μ‚¬ν•©λ‹ˆλ‹€

μ–‘μ˜κ·Ό 올림

- open() λ©”μ„œλ“œ κ°„μ†Œν™”: findAllShouldOpen()으둜 μ±…μž„ 이전
- findAllShouldOpen(): BFSλ₯Ό 톡해 μ—΄μ–΄μ•Ό ν•  Set<Location> 계산
- applyOpen(): Set<Location>을 인덱슀 기반 Set 으둜 λ³€κ²½ && κ°€λ³€ 리슀트둜 λ³€κ²½ν•΄μ„œ 계산 ν›„ λΆˆλ³€ 리슀트둜 λ°˜ν™˜ν•¨μœΌλ‘œμ¨ μ„±λŠ₯ ν–₯상
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant