Skip to content

Conversation

@jeeneee
Copy link
Contributor

@jeeneee jeeneee commented Nov 18, 2020

๐Ÿ“˜ ํ’€์ดํ•œ ๋ฌธ์ œ
  • 10875 ๋ฑ€

โญ ๋ฌธ์ œ์—์„œ ์ฃผ๋กœ ์‚ฌ์šฉํ•œ ์•Œ๊ณ ๋ฆฌ์ฆ˜
  • ์‹œ๋ฎฌ๋ ˆ์ด์…˜, ์™„์ „ ํƒ์ƒ‰

๐Ÿ“œ ๋Œ€๋žต์ ์ธ ์ฝ”๋“œ ์„ค๋ช…
  • ๊ฒฝ๊ณ„์™€ ๋ฑ€์ด ์ด๋™ํ•œ ๊ฒฝ๋กœ(์„ ๋ถ„)๋ฅผ ์ €์žฅํ•˜๊ณ  ์™„์ „ํƒ์ƒ‰์œผ๋กœ ๋งค ์ด๋™๋งˆ๋‹ค ์„ ๋ถ„์— ๋ถ€๋”ชํžˆ๋Š”์ง€ ํ™•์ธํ•œ๋‹ค. O(N^2)
  • ๋ชจ๋“  ๋ฐฉํ–ฅ ์ „ํ™˜์ด ๋๋‚ ๋•Œ๊นŒ์ง€ ์‚ด์•„์žˆ๋‹ค๋ฉด ๋ฐ”๋กœ ๋๋‚ด์ง€ ์•Š๊ณ  ์ž„์˜์˜ ์„ ๋ถ„์— ๋ถ€๋”ชํžˆ๋Š” ์‹œ๊ฐ„์„ ๊ณ„์‚ฐํ•ด์•ผ ํ•œ๋‹ค.
  • ๋”ฐ๋ผ์„œ ์ตœ๋Œ€ N+1ํšŒ ์ด๋™ํ•  ์ˆ˜ ์žˆ๋‹ค.

@cheonjiwan cheonjiwan merged commit 5a12b2b into CodeTest-StudyGroup:master Nov 18, 2020
@jeeneee jeeneee deleted the test branch November 18, 2020 12:30
@cheonjiwan cheonjiwan added the problem-solved Indication that this problem is solved label Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

problem-solved Indication that this problem is solved

2 participants