| ¾Ë°í¸®ÁòÀÇ ºÐ¼® ±âÁØ | Á¡±ÙÀûÀÎ º¹Àâµµ Æò°¡ |

Á¡±ÙÀûÀÎ º¹Àâµµ Æò°¡

¡á ÀÚ·áÀÇ Å©±â¿¡ µû¸¥ ÃÖ´ë ºÎºÐÇÕ ¾Ë°í¸®ÁòÀÇ ¼öÇà¼Óµµ

 

plot.gif

  • O(n)°ú O(nlogn)ÀÌ ´Ù¸¥ °Íº¸´Ù ¼­¼­È÷ Áõ°¡ÇÑ´Ù´Â °ÍÀ» ¾Ë ¼ö ÀÖ´Ù.
  • ¸¹Àº ¾çÀÇ µ¥ÀÌÅÍ¿¡ ´ëÇØ ¾Ë°í¸®ÁòÀÇ º¹Àâµµ(ÀÛ¾÷·®)°¡ O(nlogn)º¸´Ù Å©¸é ½Ç¿ëÀûÀÌÁö ¸øÇÏ´Ù.
  • Áö¼öÇüÀÇ ¾Ë°í¸®ÁòÀº ¸Å¿ì ÀûÀº ÀԷ¿¡ ´ëÇؼ­¸¸ »ç¿ë °¡´ÉÇÏ´Ù.
  • ¾Ë°í¸®Áò °è»ê½Ã°£ : O(1) £¼  O(logn) £¼  O(n) £¼  O(nlogn) £¼  O(n2) £¼  O(n3)