Bucket Sort

[์•Œ๊ณ ๋ฆฌ์ฆ˜] ๋ฒ„ํ‚ท ์ •๋ ฌ (Bucket Sort)

๊ณ„์ˆ˜ ์ •๋ ฌ์€ ํ‚ค ๊ฐ’์ด ์ž‘์€ ๋ฒ”์œ„ ์•ˆ์— ๋“ค์–ด์˜ฌ ๋•Œ ์ ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ๋ฐฉ๋ฒ•์ด์ง€๋งŒ ๋ฒ„ํ‚ท ์ •๋ ฌ์€ ํ‚ค ๊ฐ’์˜ ๋ฒ”์œ„๋ฟ๋งŒ์ด ์•„๋‹ˆ๋ผ ๊ทธ ๋ฒ”์œ„ ๋‚ด์—์„œ ํ‚ค๊ฐ’์ด ํ™•๋ฅ ์ ์œผ๋กœ ๊ท ๋“ฑํ•˜๊ฒŒ ๋ถ„ํฌ๋œ๋‹ค๊ณ  ๊ฐ€์ •ํ•  ์ˆ˜ ์žˆ์„ ๋•Œ ์ ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ๋ฐฉ๋ฒ•์ด๋‹ค.

Bucket sort

  • Bucket sort is mainly useful when input is uniformly distributed over a range

Last updated