سوال ۶۸ کنکور ارشد علوم کامپیوتر ۱۴۰۱
اهمیت
۰/۵
هنگامیکه میخواهیم نشان دهیم زمان یا حافظه یک الگوریتم، حداقل از مرتبه تابعی مانند است، از کدام نماد باید استفاده کنیم؟
پاسخ صحیح: گزینهٔ B —
پاسخ تشریحی
Read the keyword. The phrase "at least of order " describes a lower bound on the resource (time or memory). We need the notation whose meaning is "grows no slower than (up to a constant), for large ."
The five families. For functions on into :
| Notation | Meaning | Bound |
|---|---|---|
| grows no faster than | tight-or-loose upper | |
| grows strictly slower than | strict upper | |
| grows no slower than | tight-or-loose lower | |
| grows strictly faster than | strict lower | |
| grows at the same rate as | tight |
Match. "At least order " means the cost is bounded below by a constant multiple of :
This is exactly the big-Omega () notation, which is option (2).
Why not the others?
- and give upper bounds ("at most"), the opposite of "at least."
- is a strict lower bound ("strictly faster"); "at least" allows equality of rate, so the non‑strict is the correct, general choice.
Exam trick: Capital // are the non‑strict (" / / ") bounds; lowercase / are the strict (" / ") ones. "At least" lower bound .
#asymptotic-notation#big-omega#lower-bound#complexity#growth-rates