5.3.2 - Algorithms & Algorithm Analysis - Input Sizes of Numbers

preview_player
Показать описание
We provide a supplemental video discussing how to quantify the input size to an algorithm when the input is a number.

0:00 Input sizes of numbers
0:18 Analysis
1:49 Why it matters

This video series was designed for Computer Science II (CSCE 156) in the School of Computing at the University of Nebraska-Lincoln.
Рекомендации по теме
Комментарии
Автор

Great presentation, but one question that comes to my mind is if we are analyzing for example the factorial function 4!=4*3*2*1 and 5!=5*4*3*2*1 but represented using the same number of bits i.e i.e same input size but the number of basic operations is different which is counter intuitive to my understanding, furthermore multiplication is always regarded as a constant time operation but if we choose the the number of bits as the size metric we have to also include it in the analysis am I correct ?

fjkldhakljf
welcome to shbcf.ru